blob: 22c78e8777c5499b3215fb77e52728bda9ff6465 [file] [log] [blame]
kjellander@webrtc.org89256622014-08-20 12:10:111# This file contains dependencies for WebRTC that are not shared with Chromium.
2# If you wish to add a dependency that is present in Chromium's src/DEPS or a
3# directory from the Chromium checkout, you should add it to setup_links.py
4# instead.
5
andrew@webrtc.org4ce52bb2012-07-31 21:54:136vars = {
kjellander@webrtc.org8e5c8142014-12-03 07:11:447 'extra_gyp_flag': '-Dextra_gyp_flag=0',
8 'chromium_git': 'https://chromium.googlesource.com',
Henrik Kjellander10ba3ee2015-04-29 12:47:539 'chromium_revision': '0cb254911980cce90b2e5c7207a37a27420e9ea7',
andrew@webrtc.org4ce52bb2012-07-31 21:54:1310}
11
12# NOTE: Prefer revision numbers to tags for svn deps. Use http rather than
13# https; the latter can cause problems for users behind proxies.
14deps = {
kjellander@webrtc.org8e5c8142014-12-03 07:11:4415 # When rolling gflags, also update
16 # https://chromium.googlesource.com/chromium/deps/webrtc/webrtc.DEPS
17 'src/third_party/gflags/src':
18 Var('chromium_git') + '/external/gflags/src@e7390f9185c75f8d902c05ed7d20bb94eb914d0c', # from svn revision 82
andrew@webrtc.org4ce52bb2012-07-31 21:54:1319
Henrik Kjellander10ba3ee2015-04-29 12:47:5320 'src/third_party/junit-jar':
kjellander@webrtc.org8e5c8142014-12-03 07:11:4421 Var('chromium_git') + '/external/webrtc/deps/third_party/junit@f35596b476aa6e62fd3b3857b9942ddcd13ce35e', # from svn revision 3367
andrew@webrtc.org4ce52bb2012-07-31 21:54:1322}
23
24deps_os = {
kjellander@webrtc.org8e5c8142014-12-03 07:11:4425 'win': {
26 'src/third_party/winsdk_samples/src':
kjellander@webrtc.org8649fed2015-01-08 21:22:0127 Var('chromium_git') + '/external/webrtc/deps/third_party/winsdk_samples_v71@c0cbedd854cb610a53226d9817416c4ab9a7d1e9', # from svn revision 7951
henrike@webrtc.org8d27a1c2013-07-23 18:15:1128 },
andrew@webrtc.org4ce52bb2012-07-31 21:54:1329}
30
kjellander@webrtc.orgafefed52014-10-01 06:03:4731# Define rules for which include paths are allowed in our source.
kjellander@webrtc.org3bd41562014-09-01 11:06:3732include_rules = [
33 # Base is only used to build Android APK tests and may not be referenced by
34 # WebRTC production code.
kjellander@webrtc.org8e5c8142014-12-03 07:11:4435 '-base',
36 '-chromium',
kjellander@webrtc.orgafefed52014-10-01 06:03:4737 '+gflags',
kjellander@webrtc.orgd7e34e12015-01-26 19:17:2638 '+libyuv',
kjellander@webrtc.org561a9ec2014-09-02 09:39:3539 '+net',
40 '+talk',
41 '+testing',
kjellander@webrtc.orgafefed52014-10-01 06:03:4742 '+third_party',
Henrik Kjellander35259542015-04-23 06:58:2143 '+unicode',
kjellander@webrtc.org561a9ec2014-09-02 09:39:3544 '+webrtc',
45]
46
47# checkdeps.py shouldn't check include paths for files in these dirs:
48skip_child_includes = [
pbos@webrtc.orgdc8dcb42014-09-17 07:44:3349 'webrtc/overrides',
kjellander@webrtc.org3bd41562014-09-01 11:06:3750]
51
andrew@webrtc.org4ce52bb2012-07-31 21:54:1352hooks = [
53 {
kjellander@webrtc.org0b0ac822014-10-09 09:11:2754 # Check for legacy named top-level dir (named 'trunk').
kjellander@webrtc.org8e5c8142014-12-03 07:11:4455 'name': 'check_root_dir_name',
56 'pattern': '.',
57 'action': ['python','-c',
58 ('import os,sys;'
59 'script = os.path.join("trunk","check_root_dir.py");'
60 '_ = os.system("%s %s" % (sys.executable,script)) '
61 'if os.path.exists(script) else 0')],
kjellander@webrtc.org0b0ac822014-10-09 09:11:2762 },
63 {
kjellander@webrtc.org89256622014-08-20 12:10:1164 # Clone chromium and its deps.
kjellander@webrtc.org8e5c8142014-12-03 07:11:4465 'name': 'sync chromium',
66 'pattern': '.',
67 'action': ['python', '-u', 'src/sync_chromium.py',
68 '--target-revision', Var('chromium_revision')],
wjia@webrtc.org03cfde22014-01-14 17:48:3469 },
kjellander@webrtc.org11bea892014-07-03 17:04:1270 {
kjellander@webrtc.org89256622014-08-20 12:10:1171 # Create links to shared dependencies in Chromium.
kjellander@webrtc.org8e5c8142014-12-03 07:11:4472 'name': 'setup_links',
73 'pattern': '.',
74 'action': ['python', 'src/setup_links.py'],
kjellander@webrtc.org27ab19d2014-06-21 19:30:2975 },
76 {
Henrik Kjellandera49f5152015-03-25 12:48:5577 # Pull sanitizer-instrumented third-party libraries if requested via
78 # GYP_DEFINES. This could be done as part of sync_chromium.py above
79 # but then we would need to run all the Chromium hooks each time,
80 # which will slow things down a lot.
81 'name': 'instrumented_libraries',
82 'pattern': '\\.sha1',
83 'action': ['python', 'src/third_party/instrumented_libraries/scripts/download_binaries.py'],
84 },
85 {
kjellander@webrtc.org80174582013-11-04 12:07:5786 # Download test resources, i.e. video and audio files from Google Storage.
kjellander@webrtc.org8e5c8142014-12-03 07:11:4487 'pattern': '.',
88 'action': ['download_from_google_storage',
89 '--directory',
90 '--recursive',
91 '--num_threads=10',
92 '--no_auth',
93 '--bucket', 'chromium-webrtc-resources',
94 'src/resources'],
andrew@webrtc.org4ce52bb2012-07-31 21:54:1395 },
96 {
97 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
kjellander@webrtc.org8e5c8142014-12-03 07:11:4498 'name': 'gyp',
99 'pattern': '.',
100 'action': ['python', 'src/webrtc/build/gyp_webrtc',
101 Var('extra_gyp_flag')],
andrew@webrtc.org4ce52bb2012-07-31 21:54:13102 },
103]
104