• Frank Barchard's avatar
    setup_links.py: Use junctions instead of symlinks on Windows. · feaff94b
    Frank Barchard authored
    Instead of creating symlinks on Windows, the script is now:
    * creating a junction for directories
    * copying individual files.
    
    This makes 'gclient sync' and 'gclient runhooks' no longer
    require administrator's privileges.
    If the script is run with administrator's privileges, a
    warning will be printed, informing the user that it's not recommended.
    
    Also clean up a few old documentation references to the
    Chromium SVN->Git transition.
    
    BUG=libyuv:584,webrtc:4911
    TESTED=Running the script with+without administrator's privileges.
    I also tested the case of this change being rolled back, in which
    case I verified that the copied files are still being deleted using
    the same cleanup code path as the previous symlinks.
    NOTRY=True
    R=braveyao@chromium.org
    
    Review URL: https://codereview.chromium.org/2359383002 .
    feaff94b
Name
Last commit
Last update
build_overrides Loading commit data...
chromium Loading commit data...
docs Loading commit data...
include Loading commit data...
source Loading commit data...
third_party/gflags Loading commit data...
tools Loading commit data...
unit_test Loading commit data...
util Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
AUTHORS Loading commit data...
Android.mk Loading commit data...
BUILD.gn Loading commit data...
CMakeLists.txt Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE_THIRD_PARTY Loading commit data...
OWNERS Loading commit data...
PATENTS Loading commit data...
PRESUBMIT.py Loading commit data...
README.chromium Loading commit data...
README.md Loading commit data...
all.gyp Loading commit data...
codereview.settings Loading commit data...
download_vs_toolchain.py Loading commit data...
gyp_libyuv Loading commit data...
gyp_libyuv.py Loading commit data...
libyuv.gni Loading commit data...
libyuv.gyp Loading commit data...
libyuv.gypi Loading commit data...
libyuv_nacl.gyp Loading commit data...
libyuv_test.gyp Loading commit data...
linux.mk Loading commit data...
public.mk Loading commit data...
setup_links.py Loading commit data...
sync_chromium.py Loading commit data...
winarm.mk Loading commit data...