Skip to content

Commit

Permalink
Make WebRTC work with Chromium Git checkouts
Browse files Browse the repository at this point in the history
WebRTC standalone shares a lot of dependencies and build
tools with Chromium. To make the build work, many of the
paths of a Chromium checkout is now emulated by creating
symlinks to files and directories.

All DEPS entries that previously used Var("chromium_trunk")
to reference a Chromium checkout or From("chromium_deps"..)
to reference the Chromium DEPS file are now removed and
replaced by symlink entries in setup_links.py.

The script also handles cleanup of the legacy
Subversion-based dependencies that's needed for the
transition.

Windows: One Windows-specific important change is that
gclient sync|runhooks must now be run from a shell
with Administrator privileges in order to be able to create
symlinks. This also means that Windows XP is no longer
supported.

To transition a previously created checkout:
Run "python setup_links.py --force" to cleanup the old
SVN-based dependencies that have been synced by gclient sync.
For Buildbots, the --force flag is automatically enabled for
their syncs.

BUG=2863, chromium:339647
TEST=Manual testing on Linux, Mac and Windows.
R=andrew@webrtc.org, iannucci@chromium.org, phoglund@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/18379005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6938 4adac7df-926f-26a2-2b94-8c16560cd09d
  • Loading branch information
kjellander@webrtc.org committed Aug 20, 2014
1 parent 3fb2d0c commit 8925662
Show file tree
Hide file tree
Showing 8 changed files with 602 additions and 365 deletions.
15 changes: 9 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,13 @@
/Makefile
/build
/buildtools
/chromium_deps
/chromium_gn
/google_apis/build
/chromium/.gclient_entries
/chromium/.last_sync_chromium
/chromium/src
/google_apis
/gyp-mac-tool
/links
/links.db
/net
/out
/resources/*.*
Expand All @@ -56,12 +59,12 @@
/third_party/asan
/third_party/binutils
/third_party/boringssl
/third_party/build_gn
/third_party/BUILD.gn
/third_party/clang_format
/third_party/colorama
/third_party/cygwin
/third_party/directxsdk
/third_party/drmemory
/third_party/expat
/third_party/gaeunit
/third_party/gflags/src
Expand All @@ -85,15 +88,15 @@
/third_party/opus
/third_party/protobuf
/third_party/sqlite
/third_party/syzygy/binaries
/third_party/syzygy
/third_party/usrsctp
/third_party/valgrind
/third_party/winsdk_samples/src
/third_party/yasm
/tools/android
/tools/android-dummy-test
/tools/clang
/tools/find_depot_tools
/tools/find_depot_tools.py
/tools/generate_library_loader
/tools/gn
/tools/grit
Expand Down
Loading

0 comments on commit 8925662

Please sign in to comment.