blob: b9b02437d33450e8259ded509c7909e97a9f9085 [file] [log] [blame]
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +00001use_relative_paths = True
2
kjellander@webrtc.org89256622014-08-20 12:10:11 +00003# 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.org4ce52bb2012-07-31 21:54:13 +00008vars = {
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +00009 # Override root_dir in your .gclient's custom_vars to specify a custom root
10 # folder name.
11 "root_dir": "trunk",
andrew@webrtc.orgea5d0e52012-08-09 17:37:03 +000012 "extra_gyp_flag": "-Dextra_gyp_flag=0",
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +000013
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000014 # 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.org89256622014-08-20 12:10:11 +000017 "chromium_revision": "3da41f9378f9d075a94cc278f99ce4344f9acc7b",
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000018}
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.
22deps = {
kjellander@webrtc.orgcbdb9d12013-08-20 16:18:35 +000023 # When rolling gflags, also update deps/third_party/webrtc/webrtc.DEPS/DEPS
24 # in Chromium's repo.
fischman@webrtc.orgdde7d4c2013-08-15 23:31:30 +000025 "third_party/gflags/src":
26 (Var("googlecode_url") % "gflags") + "/trunk/src@84",
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000027
henrike@webrtc.org8d27a1c2013-07-23 18:15:11 +000028 "third_party/junit/":
29 (Var("googlecode_url") % "webrtc") + "/deps/third_party/junit@3367",
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000030}
31
32deps_os = {
33 "win": {
andrew@webrtc.org8cd18c52012-11-21 18:46:45 +000034 "third_party/winsdk_samples/src":
35 (Var("googlecode_url") % "webrtc") + "/deps/third_party/winsdk_samples_v71@3145",
henrike@webrtc.org8d27a1c2013-07-23 18:15:11 +000036 },
37
kjellander@webrtc.org18a21a02013-02-11 17:43:19 +000038 "android": {
kjellander@webrtc.org6cfe1782013-06-18 07:14:33 +000039 # 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.orgc6db88b2014-06-04 17:15:42 +000042 (Var("googlecode_url") % "webrtc") + "/deps/tools/android@6306",
kjellander@webrtc.org18a21a02013-02-11 17:43:19 +000043 },
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000044}
45
46hooks = [
47 {
kjellander@webrtc.org89256622014-08-20 12:10:11 +000048 # Clone chromium and its deps.
49 "name": "sync chromium",
wjia@webrtc.org03cfde22014-01-14 17:48:34 +000050 "pattern": ".",
kjellander@webrtc.org89256622014-08-20 12:10:11 +000051 "action": ["python", "-u", Var("root_dir") + "/sync_chromium.py",
52 "--target-revision", Var("chromium_revision")],
wjia@webrtc.org03cfde22014-01-14 17:48:34 +000053 },
kjellander@webrtc.org11bea892014-07-03 17:04:12 +000054 {
kjellander@webrtc.org89256622014-08-20 12:10:11 +000055 # Create links to shared dependencies in Chromium.
56 "name": "setup_links",
kjellander@webrtc.org11bea892014-07-03 17:04:12 +000057 "pattern": ".",
kjellander@webrtc.org89256622014-08-20 12:10:11 +000058 "action": ["python", Var("root_dir") + "/setup_links.py"],
kjellander@webrtc.org27ab19d2014-06-21 19:30:29 +000059 },
60 {
kjellander@webrtc.org80174582013-11-04 12:07:57 +000061 # Download test resources, i.e. video and audio files from Google Storage.
kjellander@webrtc.org89256622014-08-20 12:10:11 +000062 "pattern": ".",
kjellander@webrtc.org80174582013-11-04 12:07:57 +000063 "action": ["download_from_google_storage",
64 "--directory",
65 "--recursive",
66 "--num_threads=10",
wjia@webrtc.org776d8df2014-01-27 19:55:16 +000067 "--no_auth",
kjellander@webrtc.org80174582013-11-04 12:07:57 +000068 "--bucket", "chromium-webrtc-resources",
69 Var("root_dir") + "/resources"],
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000070 },
71 {
72 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
kjellander@webrtc.org6b0cbcb2014-03-10 09:51:17 +000073 "name": "gyp",
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000074 "pattern": ".",
kjellander@webrtc.org7d7f0892014-01-31 09:34:51 +000075 "action": ["python", Var("root_dir") + "/webrtc/build/gyp_webrtc",
andrew@webrtc.orgea5d0e52012-08-09 17:37:03 +000076 Var("extra_gyp_flag")],
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000077 },
78]
79