forked from shaka-project/shaka-packager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DEPS
124 lines (98 loc) · 4.17 KB
/
DEPS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# Copyright 2014 Google Inc. All rights reserved.
#
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file or at
# https://developers.google.com/open-source/licenses/bsd
#
# Packager dependencies.
vars = {
"chromium_svn": "http://src.chromium.org/chrome/trunk",
"chromium_rev": "253526",
"googlecode_url": "http://%s.googlecode.com/svn",
"gflags_rev": "84",
"gmock_rev": "470",
"gtest_rev": "680",
"gyp_rev": "1876",
"webrtc_rev": "5718", # For gflags.
"curl_url": "https://github.com/bagder/curl.git",
"curl_rev": "curl-7_37_0",
}
deps = {
"src/packager/base":
Var("chromium_svn") + "/src/base@" + Var("chromium_rev"),
"src/packager/build":
Var("chromium_svn") + "/src/build@" + Var("chromium_rev"),
# Required by base/metrics/stats_table.cc.
"src/packager/ipc":
File(Var("chromium_svn") + "/src/ipc/ipc_descriptors.h@" + Var("chromium_rev")),
# Required by base isolate dependencies, although it is compiled off.
# Dependency chain:
# base/base.gyp <= base/base_unittests.isolate
# <= base/base.isolate
# <= build/linux/system.isolate
# <= net/third_party/nss/ssl.isolate
# <= net/third_party/nss/ssl_base.isolate
# We don't need to pull in the whole directory, but it doesn't seem possible
# to just pull in the two *.isolate files (ssl.isolate and ssl_base.isolate).
"src/packager/net/third_party/nss":
Var("chromium_svn") + "/src/net/third_party/nss@" + Var("chromium_rev"),
"src/packager/testing":
Var("chromium_svn") + "/src/testing@" + Var("chromium_rev"),
"src/packager/testing/gmock":
(Var("googlecode_url") % "googlemock") + "/trunk@" + Var("gmock_rev"),
"src/packager/testing/gtest":
(Var("googlecode_url") % "googletest") + "/trunk@" + Var("gtest_rev"),
"src/packager/third_party/curl/source":
Var("curl_url") + "@" + Var("curl_rev"),
"src/packager/third_party/gflags":
(Var("googlecode_url") % "webrtc")+ "/trunk/third_party/gflags@" + Var("webrtc_rev"),
"src/packager/third_party/gflags/src":
(Var("googlecode_url") % "gflags") + "/trunk/src@" + Var("gflags_rev"),
# Required by libxml.
"src/packager/third_party/icu":
Var("chromium_svn") + "/deps/third_party/icu46@" + Var("chromium_rev"),
# Required by base/message_pump_libevent.cc.
"src/packager/third_party/libevent":
Var("chromium_svn") + "/src/third_party/libevent@" + Var("chromium_rev"),
"src/packager/third_party/libxml":
Var("chromium_svn") + "/src/third_party/libxml@" + Var("chromium_rev"),
"src/packager/third_party/modp_b64":
Var("chromium_svn") + "/src/third_party/modp_b64@" + Var("chromium_rev"),
"src/packager/third_party/openssl":
Var("chromium_svn") + "/deps/third_party/openssl@" + Var("chromium_rev"),
"src/packager/third_party/protobuf":
Var("chromium_svn") + "/src/third_party/protobuf@" + Var("chromium_rev"),
"src/packager/tools/clang":
Var("chromium_svn") + "/src/tools/clang@" + Var("chromium_rev"),
"src/packager/tools/gyp":
(Var("googlecode_url") % "gyp") + "/trunk@" + Var("gyp_rev"),
"src/packager/tools/protoc_wrapper":
Var("chromium_svn") + "/src/tools/protoc_wrapper@" + Var("chromium_rev"),
"src/packager/tools/valgrind":
Var("chromium_svn") + "/src/tools/valgrind@" + Var("chromium_rev"),
}
deps_os = {
"unix": { # Linux, actually.
# Linux gold build to build faster.
"src/packager/third_party/gold":
Var("chromium_svn") + "/deps/third_party/gold@" + Var("chromium_rev"),
# Required by /src/build/linux/system.gyp.
"src/packager/third_party/zlib":
Var("chromium_svn") + "/src/third_party/zlib@" + Var("chromium_rev"),
},
}
hooks = [
{
# This snippet is from chromium src/DEPS. Run gclient with
# GYP_DEFINES="clang=1" to automatically pull in clang at sync.
# Pull clang if on Mac or clang is requested via GYP_DEFINES.
"name": "clang",
"pattern": ".",
"action": ["python", "src/packager/tools/clang/scripts/update.py", "--mac-only"],
},
{
# A change to a .gyp, .gypi, or to GYP itself should run the generator.
"pattern": ".",
"action": ["python", "src/gyp_packager.py", "--depth=src/packager"],
},
]