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 = { |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 7 | # Override root_dir in your .gclient's custom_vars to specify a custom root |
| 8 | # folder name. |
| 9 | "root_dir": "trunk", |
andrew@webrtc.org | ea5d0e5 | 2012-08-09 17:37:03 +0000 | [diff] [blame] | 10 | "extra_gyp_flag": "-Dextra_gyp_flag=0", |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 11 | |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 12 | # Use this googlecode_url variable only if there is an internal mirror for it. |
| 13 | # If you do not know, use the full path while defining your new deps entry. |
| 14 | "googlecode_url": "http://%s.googlecode.com/svn", |
kjellander@webrtc.org | 142bb9d | 2014-09-08 10:06:37 +0000 | [diff] [blame] | 15 | "chromium_revision": "ea769fd2090e40950c84f9df851ffec5792bf04e", |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 16 | } |
| 17 | |
| 18 | # NOTE: Prefer revision numbers to tags for svn deps. Use http rather than |
| 19 | # https; the latter can cause problems for users behind proxies. |
| 20 | deps = { |
kjellander@webrtc.org | cbdb9d1 | 2013-08-20 16:18:35 +0000 | [diff] [blame] | 21 | # When rolling gflags, also update deps/third_party/webrtc/webrtc.DEPS/DEPS |
| 22 | # in Chromium's repo. |
kjellander@webrtc.org | a2da031 | 2014-09-05 08:25:24 +0000 | [diff] [blame] | 23 | Var("root_dir") + "/third_party/gflags/src": |
fischman@webrtc.org | dde7d4c | 2013-08-15 23:31:30 +0000 | [diff] [blame] | 24 | (Var("googlecode_url") % "gflags") + "/trunk/src@84", |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 25 | |
kjellander@webrtc.org | a2da031 | 2014-09-05 08:25:24 +0000 | [diff] [blame] | 26 | Var("root_dir") + "/third_party/junit/": |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 27 | (Var("googlecode_url") % "webrtc") + "/deps/third_party/junit@3367", |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 28 | } |
| 29 | |
| 30 | deps_os = { |
| 31 | "win": { |
kjellander@webrtc.org | a2da031 | 2014-09-05 08:25:24 +0000 | [diff] [blame] | 32 | Var("root_dir") + "/third_party/winsdk_samples/src": |
andrew@webrtc.org | 8cd18c5 | 2012-11-21 18:46:45 +0000 | [diff] [blame] | 33 | (Var("googlecode_url") % "webrtc") + "/deps/third_party/winsdk_samples_v71@3145", |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 34 | }, |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 35 | } |
| 36 | |
kjellander@webrtc.org | 3bd4156 | 2014-09-01 11:06:37 +0000 | [diff] [blame] | 37 | include_rules = [ |
| 38 | # Base is only used to build Android APK tests and may not be referenced by |
| 39 | # WebRTC production code. |
| 40 | "-base", |
kjellander@webrtc.org | 561a9ec | 2014-09-02 09:39:35 +0000 | [diff] [blame] | 41 | "-chromium", |
| 42 | '+net', |
| 43 | '+talk', |
| 44 | '+testing', |
| 45 | '+webrtc', |
| 46 | ] |
| 47 | |
| 48 | # checkdeps.py shouldn't check include paths for files in these dirs: |
| 49 | skip_child_includes = [ |
kjellander@webrtc.org | 3c0aae1 | 2014-09-04 09:55:40 +0000 | [diff] [blame] | 50 | 'gflags', |
kjellander@webrtc.org | 561a9ec | 2014-09-02 09:39:35 +0000 | [diff] [blame] | 51 | 'testing', |
| 52 | 'third_party', |
kjellander@webrtc.org | 3bd4156 | 2014-09-01 11:06:37 +0000 | [diff] [blame] | 53 | ] |
| 54 | |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 55 | hooks = [ |
| 56 | { |
kjellander@webrtc.org | 8925662 | 2014-08-20 12:10:11 +0000 | [diff] [blame] | 57 | # Clone chromium and its deps. |
| 58 | "name": "sync chromium", |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 59 | "pattern": ".", |
kjellander@webrtc.org | 8925662 | 2014-08-20 12:10:11 +0000 | [diff] [blame] | 60 | "action": ["python", "-u", Var("root_dir") + "/sync_chromium.py", |
| 61 | "--target-revision", Var("chromium_revision")], |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 62 | }, |
kjellander@webrtc.org | 11bea89 | 2014-07-03 17:04:12 +0000 | [diff] [blame] | 63 | { |
kjellander@webrtc.org | 8925662 | 2014-08-20 12:10:11 +0000 | [diff] [blame] | 64 | # Create links to shared dependencies in Chromium. |
| 65 | "name": "setup_links", |
kjellander@webrtc.org | 11bea89 | 2014-07-03 17:04:12 +0000 | [diff] [blame] | 66 | "pattern": ".", |
kjellander@webrtc.org | 8925662 | 2014-08-20 12:10:11 +0000 | [diff] [blame] | 67 | "action": ["python", Var("root_dir") + "/setup_links.py"], |
kjellander@webrtc.org | 27ab19d | 2014-06-21 19:30:29 +0000 | [diff] [blame] | 68 | }, |
| 69 | { |
kjellander@webrtc.org | 8017458 | 2013-11-04 12:07:57 +0000 | [diff] [blame] | 70 | # Download test resources, i.e. video and audio files from Google Storage. |
kjellander@webrtc.org | 8925662 | 2014-08-20 12:10:11 +0000 | [diff] [blame] | 71 | "pattern": ".", |
kjellander@webrtc.org | 8017458 | 2013-11-04 12:07:57 +0000 | [diff] [blame] | 72 | "action": ["download_from_google_storage", |
| 73 | "--directory", |
| 74 | "--recursive", |
| 75 | "--num_threads=10", |
wjia@webrtc.org | 776d8df | 2014-01-27 19:55:16 +0000 | [diff] [blame] | 76 | "--no_auth", |
kjellander@webrtc.org | 8017458 | 2013-11-04 12:07:57 +0000 | [diff] [blame] | 77 | "--bucket", "chromium-webrtc-resources", |
| 78 | Var("root_dir") + "/resources"], |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 79 | }, |
| 80 | { |
| 81 | # A change to a .gyp, .gypi, or to GYP itself should run the generator. |
kjellander@webrtc.org | 6b0cbcb | 2014-03-10 09:51:17 +0000 | [diff] [blame] | 82 | "name": "gyp", |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 83 | "pattern": ".", |
kjellander@webrtc.org | 7d7f089 | 2014-01-31 09:34:51 +0000 | [diff] [blame] | 84 | "action": ["python", Var("root_dir") + "/webrtc/build/gyp_webrtc", |
andrew@webrtc.org | ea5d0e5 | 2012-08-09 17:37:03 +0000 | [diff] [blame] | 85 | Var("extra_gyp_flag")], |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 86 | }, |
| 87 | ] |
| 88 | |