blob: d7be2c2ca89400b601b667a658efad75628a532d [file] [log] [blame]
kjellander@webrtc.org89256622014-08-20 12:10:11 +00001# 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:13 +00006vars = {
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +00007 # Override root_dir in your .gclient's custom_vars to specify a custom root
8 # folder name.
9 "root_dir": "trunk",
andrew@webrtc.orgea5d0e52012-08-09 17:37:03 +000010 "extra_gyp_flag": "-Dextra_gyp_flag=0",
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +000011
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000012 # 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.org142bb9d2014-09-08 10:06:37 +000015 "chromium_revision": "ea769fd2090e40950c84f9df851ffec5792bf04e",
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000016}
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.
20deps = {
kjellander@webrtc.orgcbdb9d12013-08-20 16:18:35 +000021 # When rolling gflags, also update deps/third_party/webrtc/webrtc.DEPS/DEPS
22 # in Chromium's repo.
kjellander@webrtc.orga2da0312014-09-05 08:25:24 +000023 Var("root_dir") + "/third_party/gflags/src":
fischman@webrtc.orgdde7d4c2013-08-15 23:31:30 +000024 (Var("googlecode_url") % "gflags") + "/trunk/src@84",
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000025
kjellander@webrtc.orga2da0312014-09-05 08:25:24 +000026 Var("root_dir") + "/third_party/junit/":
henrike@webrtc.org8d27a1c2013-07-23 18:15:11 +000027 (Var("googlecode_url") % "webrtc") + "/deps/third_party/junit@3367",
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000028}
29
30deps_os = {
31 "win": {
kjellander@webrtc.orga2da0312014-09-05 08:25:24 +000032 Var("root_dir") + "/third_party/winsdk_samples/src":
andrew@webrtc.org8cd18c52012-11-21 18:46:45 +000033 (Var("googlecode_url") % "webrtc") + "/deps/third_party/winsdk_samples_v71@3145",
henrike@webrtc.org8d27a1c2013-07-23 18:15:11 +000034 },
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000035}
36
kjellander@webrtc.org3bd41562014-09-01 11:06:37 +000037include_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.org561a9ec2014-09-02 09:39:35 +000041 "-chromium",
42 '+net',
43 '+talk',
44 '+testing',
45 '+webrtc',
46]
47
48# checkdeps.py shouldn't check include paths for files in these dirs:
49skip_child_includes = [
kjellander@webrtc.org3c0aae12014-09-04 09:55:40 +000050 'gflags',
kjellander@webrtc.org561a9ec2014-09-02 09:39:35 +000051 'testing',
52 'third_party',
kjellander@webrtc.org3bd41562014-09-01 11:06:37 +000053]
54
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000055hooks = [
56 {
kjellander@webrtc.org89256622014-08-20 12:10:11 +000057 # Clone chromium and its deps.
58 "name": "sync chromium",
wjia@webrtc.org03cfde22014-01-14 17:48:34 +000059 "pattern": ".",
kjellander@webrtc.org89256622014-08-20 12:10:11 +000060 "action": ["python", "-u", Var("root_dir") + "/sync_chromium.py",
61 "--target-revision", Var("chromium_revision")],
wjia@webrtc.org03cfde22014-01-14 17:48:34 +000062 },
kjellander@webrtc.org11bea892014-07-03 17:04:12 +000063 {
kjellander@webrtc.org89256622014-08-20 12:10:11 +000064 # Create links to shared dependencies in Chromium.
65 "name": "setup_links",
kjellander@webrtc.org11bea892014-07-03 17:04:12 +000066 "pattern": ".",
kjellander@webrtc.org89256622014-08-20 12:10:11 +000067 "action": ["python", Var("root_dir") + "/setup_links.py"],
kjellander@webrtc.org27ab19d2014-06-21 19:30:29 +000068 },
69 {
kjellander@webrtc.org80174582013-11-04 12:07:57 +000070 # Download test resources, i.e. video and audio files from Google Storage.
kjellander@webrtc.org89256622014-08-20 12:10:11 +000071 "pattern": ".",
kjellander@webrtc.org80174582013-11-04 12:07:57 +000072 "action": ["download_from_google_storage",
73 "--directory",
74 "--recursive",
75 "--num_threads=10",
wjia@webrtc.org776d8df2014-01-27 19:55:16 +000076 "--no_auth",
kjellander@webrtc.org80174582013-11-04 12:07:57 +000077 "--bucket", "chromium-webrtc-resources",
78 Var("root_dir") + "/resources"],
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000079 },
80 {
81 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
kjellander@webrtc.org6b0cbcb2014-03-10 09:51:17 +000082 "name": "gyp",
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000083 "pattern": ".",
kjellander@webrtc.org7d7f0892014-01-31 09:34:51 +000084 "action": ["python", Var("root_dir") + "/webrtc/build/gyp_webrtc",
andrew@webrtc.orgea5d0e52012-08-09 17:37:03 +000085 Var("extra_gyp_flag")],
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000086 },
87]
88