andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 1 | use_relative_paths = True |
| 2 | |
kjellander@webrtc.org | 8925662 | 2014-08-20 12:10:11 +0000 | [diff] [blame^] | 3 | # This file contains dependencies for WebRTC that are not shared with Chromium. |
| 4 | # If you wish to add a dependency that is present in Chromium's src/DEPS or a |
| 5 | # directory from the Chromium checkout, you should add it to setup_links.py |
| 6 | # instead. |
| 7 | |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 8 | vars = { |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 9 | # Override root_dir in your .gclient's custom_vars to specify a custom root |
| 10 | # folder name. |
| 11 | "root_dir": "trunk", |
andrew@webrtc.org | ea5d0e5 | 2012-08-09 17:37:03 +0000 | [diff] [blame] | 12 | "extra_gyp_flag": "-Dextra_gyp_flag=0", |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 13 | |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 14 | # Use this googlecode_url variable only if there is an internal mirror for it. |
| 15 | # If you do not know, use the full path while defining your new deps entry. |
| 16 | "googlecode_url": "http://%s.googlecode.com/svn", |
kjellander@webrtc.org | 8925662 | 2014-08-20 12:10:11 +0000 | [diff] [blame^] | 17 | "chromium_revision": "3da41f9378f9d075a94cc278f99ce4344f9acc7b", |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 18 | } |
| 19 | |
| 20 | # NOTE: Prefer revision numbers to tags for svn deps. Use http rather than |
| 21 | # https; the latter can cause problems for users behind proxies. |
| 22 | deps = { |
kjellander@webrtc.org | cbdb9d1 | 2013-08-20 16:18:35 +0000 | [diff] [blame] | 23 | # When rolling gflags, also update deps/third_party/webrtc/webrtc.DEPS/DEPS |
| 24 | # in Chromium's repo. |
fischman@webrtc.org | dde7d4c | 2013-08-15 23:31:30 +0000 | [diff] [blame] | 25 | "third_party/gflags/src": |
| 26 | (Var("googlecode_url") % "gflags") + "/trunk/src@84", |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 27 | |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 28 | "third_party/junit/": |
| 29 | (Var("googlecode_url") % "webrtc") + "/deps/third_party/junit@3367", |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 30 | } |
| 31 | |
| 32 | deps_os = { |
| 33 | "win": { |
andrew@webrtc.org | 8cd18c5 | 2012-11-21 18:46:45 +0000 | [diff] [blame] | 34 | "third_party/winsdk_samples/src": |
| 35 | (Var("googlecode_url") % "webrtc") + "/deps/third_party/winsdk_samples_v71@3145", |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 36 | }, |
| 37 | |
kjellander@webrtc.org | 18a21a0 | 2013-02-11 17:43:19 +0000 | [diff] [blame] | 38 | "android": { |
kjellander@webrtc.org | 6cfe178 | 2013-06-18 07:14:33 +0000 | [diff] [blame] | 39 | # Precompiled tools needed for Android test execution. Needed since we can't |
| 40 | # compile them from source in WebRTC since they depend on Chromium's base. |
| 41 | "tools/android": |
solenberg@webrtc.org | c6db88b | 2014-06-04 17:15:42 +0000 | [diff] [blame] | 42 | (Var("googlecode_url") % "webrtc") + "/deps/tools/android@6306", |
kjellander@webrtc.org | 18a21a0 | 2013-02-11 17:43:19 +0000 | [diff] [blame] | 43 | }, |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 44 | } |
| 45 | |
| 46 | hooks = [ |
| 47 | { |
kjellander@webrtc.org | 8925662 | 2014-08-20 12:10:11 +0000 | [diff] [blame^] | 48 | # Clone chromium and its deps. |
| 49 | "name": "sync chromium", |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 50 | "pattern": ".", |
kjellander@webrtc.org | 8925662 | 2014-08-20 12:10:11 +0000 | [diff] [blame^] | 51 | "action": ["python", "-u", Var("root_dir") + "/sync_chromium.py", |
| 52 | "--target-revision", Var("chromium_revision")], |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 53 | }, |
kjellander@webrtc.org | 11bea89 | 2014-07-03 17:04:12 +0000 | [diff] [blame] | 54 | { |
kjellander@webrtc.org | 8925662 | 2014-08-20 12:10:11 +0000 | [diff] [blame^] | 55 | # Create links to shared dependencies in Chromium. |
| 56 | "name": "setup_links", |
kjellander@webrtc.org | 11bea89 | 2014-07-03 17:04:12 +0000 | [diff] [blame] | 57 | "pattern": ".", |
kjellander@webrtc.org | 8925662 | 2014-08-20 12:10:11 +0000 | [diff] [blame^] | 58 | "action": ["python", Var("root_dir") + "/setup_links.py"], |
kjellander@webrtc.org | 27ab19d | 2014-06-21 19:30:29 +0000 | [diff] [blame] | 59 | }, |
| 60 | { |
kjellander@webrtc.org | 8017458 | 2013-11-04 12:07:57 +0000 | [diff] [blame] | 61 | # 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^] | 62 | "pattern": ".", |
kjellander@webrtc.org | 8017458 | 2013-11-04 12:07:57 +0000 | [diff] [blame] | 63 | "action": ["download_from_google_storage", |
| 64 | "--directory", |
| 65 | "--recursive", |
| 66 | "--num_threads=10", |
wjia@webrtc.org | 776d8df | 2014-01-27 19:55:16 +0000 | [diff] [blame] | 67 | "--no_auth", |
kjellander@webrtc.org | 8017458 | 2013-11-04 12:07:57 +0000 | [diff] [blame] | 68 | "--bucket", "chromium-webrtc-resources", |
| 69 | Var("root_dir") + "/resources"], |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 70 | }, |
| 71 | { |
| 72 | # 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] | 73 | "name": "gyp", |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 74 | "pattern": ".", |
kjellander@webrtc.org | 7d7f089 | 2014-01-31 09:34:51 +0000 | [diff] [blame] | 75 | "action": ["python", Var("root_dir") + "/webrtc/build/gyp_webrtc", |
andrew@webrtc.org | ea5d0e5 | 2012-08-09 17:37:03 +0000 | [diff] [blame] | 76 | Var("extra_gyp_flag")], |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 77 | }, |
| 78 | ] |
| 79 | |