kjellander@webrtc.org | 8925662 | 2014-08-20 12:10:11 +0000 | [diff] [blame] | 1 | # 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.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 6 | vars = { |
kjellander@webrtc.org | 8e5c814 | 2014-12-03 07:11:44 +0000 | [diff] [blame] | 7 | 'extra_gyp_flag': '-Dextra_gyp_flag=0', |
| 8 | 'chromium_git': 'https://chromium.googlesource.com', |
buildbot | ef3f768 | 2016-11-10 04:13:20 -0800 | [diff] [blame] | 9 | 'chromium_revision': '65cb3abb073e5004d147e97ab987dad549b7a7c6', |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 10 | } |
| 11 | |
kjellander | 4bba35f | 2016-02-09 06:47:39 -0800 | [diff] [blame] | 12 | # NOTE: Use http rather than https; the latter can cause problems for users |
| 13 | # behind proxies. |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 14 | deps = { |
kjellander@webrtc.org | 8e5c814 | 2014-12-03 07:11:44 +0000 | [diff] [blame] | 15 | 'src/third_party/gflags/src': |
kjellander | 4bba35f | 2016-02-09 06:47:39 -0800 | [diff] [blame] | 16 | Var('chromium_git') + '/external/github.com/gflags/gflags@03bebcb065c83beff83d50ae025a55a4bf94dfca', |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 17 | } |
| 18 | |
| 19 | deps_os = { |
kjellander@webrtc.org | 8e5c814 | 2014-12-03 07:11:44 +0000 | [diff] [blame] | 20 | 'win': { |
| 21 | 'src/third_party/winsdk_samples/src': |
kjellander | 7cae30c | 2015-12-16 14:05:29 -0800 | [diff] [blame] | 22 | Var('chromium_git') + '/external/webrtc/deps/third_party/winsdk_samples_v71@e71b549167a665d7424d6f1dadfbff4b4aad1589', |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 23 | }, |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 24 | } |
| 25 | |
| 26 | hooks = [ |
| 27 | { |
kjellander@webrtc.org | 0b0ac82 | 2014-10-09 09:11:27 +0000 | [diff] [blame] | 28 | # Check for legacy named top-level dir (named 'trunk'). |
kjellander@webrtc.org | 8e5c814 | 2014-12-03 07:11:44 +0000 | [diff] [blame] | 29 | 'name': 'check_root_dir_name', |
| 30 | 'pattern': '.', |
| 31 | 'action': ['python','-c', |
| 32 | ('import os,sys;' |
| 33 | 'script = os.path.join("trunk","check_root_dir.py");' |
| 34 | '_ = os.system("%s %s" % (sys.executable,script)) ' |
| 35 | 'if os.path.exists(script) else 0')], |
kjellander@webrtc.org | 0b0ac82 | 2014-10-09 09:11:27 +0000 | [diff] [blame] | 36 | }, |
| 37 | { |
kjellander@webrtc.org | 8925662 | 2014-08-20 12:10:11 +0000 | [diff] [blame] | 38 | # Clone chromium and its deps. |
kjellander@webrtc.org | 8e5c814 | 2014-12-03 07:11:44 +0000 | [diff] [blame] | 39 | 'name': 'sync chromium', |
| 40 | 'pattern': '.', |
| 41 | 'action': ['python', '-u', 'src/sync_chromium.py', |
| 42 | '--target-revision', Var('chromium_revision')], |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 43 | }, |
kjellander@webrtc.org | 11bea89 | 2014-07-03 17:04:12 +0000 | [diff] [blame] | 44 | { |
kjellander@webrtc.org | 8925662 | 2014-08-20 12:10:11 +0000 | [diff] [blame] | 45 | # Create links to shared dependencies in Chromium. |
kjellander@webrtc.org | 8e5c814 | 2014-12-03 07:11:44 +0000 | [diff] [blame] | 46 | 'name': 'setup_links', |
| 47 | 'pattern': '.', |
| 48 | 'action': ['python', 'src/setup_links.py'], |
kjellander@webrtc.org | 27ab19d | 2014-06-21 19:30:29 +0000 | [diff] [blame] | 49 | }, |
| 50 | { |
Henrik Kjellander | 27576e0 | 2015-10-15 14:24:09 +0200 | [diff] [blame] | 51 | # This clobbers when necessary (based on get_landmines.py). It should be |
| 52 | # an early hook but it will need to be run after syncing Chromium and |
| 53 | # setting up the links, so the script actually exists. |
| 54 | 'name': 'landmines', |
| 55 | 'pattern': '.', |
| 56 | 'action': [ |
| 57 | 'python', |
| 58 | 'src/build/landmines.py', |
| 59 | '--landmine-scripts', |
| 60 | 'src/webrtc/build/get_landmines.py', |
| 61 | '--src-dir', |
| 62 | 'src', |
| 63 | ], |
| 64 | }, |
| 65 | { |
Henrik Kjellander | a49f515 | 2015-03-25 13:48:55 +0100 | [diff] [blame] | 66 | # Pull sanitizer-instrumented third-party libraries if requested via |
| 67 | # GYP_DEFINES. This could be done as part of sync_chromium.py above |
| 68 | # but then we would need to run all the Chromium hooks each time, |
| 69 | # which will slow things down a lot. |
| 70 | 'name': 'instrumented_libraries', |
| 71 | 'pattern': '\\.sha1', |
| 72 | 'action': ['python', 'src/third_party/instrumented_libraries/scripts/download_binaries.py'], |
| 73 | }, |
| 74 | { |
kjellander@webrtc.org | 8017458 | 2013-11-04 12:07:57 +0000 | [diff] [blame] | 75 | # Download test resources, i.e. video and audio files from Google Storage. |
kjellander@webrtc.org | 8e5c814 | 2014-12-03 07:11:44 +0000 | [diff] [blame] | 76 | 'pattern': '.', |
| 77 | 'action': ['download_from_google_storage', |
| 78 | '--directory', |
| 79 | '--recursive', |
| 80 | '--num_threads=10', |
| 81 | '--no_auth', |
kjellander | 4ff818e | 2015-12-18 12:29:28 -0800 | [diff] [blame] | 82 | '--quiet', |
kjellander@webrtc.org | 8e5c814 | 2014-12-03 07:11:44 +0000 | [diff] [blame] | 83 | '--bucket', 'chromium-webrtc-resources', |
| 84 | 'src/resources'], |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 85 | }, |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 86 | ] |
| 87 | |