blob: 07b11a4ae38fb7de68198965b34dbc0f5db05778 [file] [log] [blame]
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001# Note: The buildbots evaluate this file with CWD set to the parent
2# directory and assume that the root of the checkout is in ./v8/, so
3# all paths in here must match this assumption.
4
5vars = {
Emily Bernierd0a1eb72015-03-24 16:35:39 -04006 "git_url": "https://chromium.googlesource.com",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00007}
8
9deps = {
Ben Murdochb8a8cc12014-11-26 15:28:44 +000010 "v8/build/gyp":
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000011 Var("git_url") + "/external/gyp.git" + "@" + "b85ad3e578da830377dbc1843aa4fbc5af17a192",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000012 "v8/third_party/icu":
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000013 Var("git_url") + "/chromium/deps/icu.git" + "@" + "8d342a405be5ae8aacb1e16f0bc31c3a4fbf26a2",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000014 "v8/buildtools":
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000015 Var("git_url") + "/chromium/buildtools.git" + "@" + "0f8e6e4b126ee88137930a0ae4776c4741808740",
16 "v8/base/trace_event/common":
17 Var("git_url") + "/chromium/src/base/trace_event/common.git" + "@" + "d83d44b13d07c2fd0a40101a7deef9b93b841732",
18 "v8/tools/swarming_client":
19 Var('git_url') + '/external/swarming.client.git' + '@' + "9cdd76171e517a430a72dcd7d66ade67e109aa00",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000020 "v8/testing/gtest":
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000021 Var("git_url") + "/external/github.com/google/googletest.git" + "@" + "6f8a66431cb592dad629028a50b3dd418a408c87",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000022 "v8/testing/gmock":
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000023 Var("git_url") + "/external/googlemock.git" + "@" + "0421b6f358139f02e102c9c332ce19a33faf75be",
24 "v8/test/benchmarks/data":
25 Var("git_url") + "/v8/deps/third_party/benchmarks.git" + "@" + "05d7188267b4560491ff9155c5ee13e207ecd65f",
26 "v8/test/mozilla/data":
27 Var("git_url") + "/v8/deps/third_party/mozilla-tests.git" + "@" + "f6c578a10ea707b1a8ab0b88943fe5115ce2b9be",
28 "v8/test/simdjs/data": Var("git_url") + "/external/github.com/tc39/ecmascript_simd.git" + "@" + "c8ef63c728283debc25891123eb00482fee4b8cd",
29 "v8/test/test262/data":
30 Var("git_url") + "/external/github.com/tc39/test262.git" + "@" + "67ba34b03a46bac4254223ae25f42c7b959540f0",
Emily Bernierd0a1eb72015-03-24 16:35:39 -040031 "v8/tools/clang":
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000032 Var("git_url") + "/chromium/src/tools/clang.git" + "@" + "24e8c1c92fe54ef8ed7651b5850c056983354a4a",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000033}
34
35deps_os = {
36 "android": {
37 "v8/third_party/android_tools":
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000038 Var("git_url") + "/android_tools.git" + "@" + "f4c36ad89b2696b37d9cd7ca7d984b691888b188",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000039 },
40 "win": {
41 "v8/third_party/cygwin":
Emily Bernierd0a1eb72015-03-24 16:35:39 -040042 Var("git_url") + "/chromium/deps/cygwin.git" + "@" + "c89e446b273697fadf3a10ff1007a97c0b7de6df",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000043 }
44}
45
46include_rules = [
47 # Everybody can use some things.
48 "+include",
49 "+unicode",
50 "+third_party/fdlibm",
51]
52
53# checkdeps.py shouldn't check for includes in these directories:
54skip_child_includes = [
55 "build",
56 "third_party",
57]
58
59hooks = [
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000060 {
61 # This clobbers when necessary (based on get_landmines.py). It must be the
62 # first hook so that other things that get/generate into the output
63 # directory will not subsequently be clobbered.
64 'name': 'landmines',
65 'pattern': '.',
66 'action': [
67 'python',
68 'v8/build/landmines.py',
69 ],
70 },
Ben Murdochb8a8cc12014-11-26 15:28:44 +000071 # Pull clang-format binaries using checked-in hashes.
72 {
73 "name": "clang_format_win",
74 "pattern": ".",
75 "action": [ "download_from_google_storage",
76 "--no_resume",
77 "--platform=win32",
78 "--no_auth",
79 "--bucket", "chromium-clang-format",
80 "-s", "v8/buildtools/win/clang-format.exe.sha1",
81 ],
82 },
83 {
84 "name": "clang_format_mac",
85 "pattern": ".",
86 "action": [ "download_from_google_storage",
87 "--no_resume",
88 "--platform=darwin",
89 "--no_auth",
90 "--bucket", "chromium-clang-format",
91 "-s", "v8/buildtools/mac/clang-format.sha1",
92 ],
93 },
94 {
95 "name": "clang_format_linux",
96 "pattern": ".",
97 "action": [ "download_from_google_storage",
98 "--no_resume",
99 "--platform=linux*",
100 "--no_auth",
101 "--bucket", "chromium-clang-format",
102 "-s", "v8/buildtools/linux64/clang-format.sha1",
103 ],
104 },
Ben Murdoch4a90d5f2016-03-22 12:00:34 +0000105 # Pull luci-go binaries (isolate, swarming) using checked-in hashes.
106 {
107 'name': 'luci-go_win',
108 'pattern': '.',
109 'action': [ 'download_from_google_storage',
110 '--no_resume',
111 '--platform=win32',
112 '--no_auth',
113 '--bucket', 'chromium-luci',
114 '-d', 'v8/tools/luci-go/win64',
115 ],
116 },
117 {
118 'name': 'luci-go_mac',
119 'pattern': '.',
120 'action': [ 'download_from_google_storage',
121 '--no_resume',
122 '--platform=darwin',
123 '--no_auth',
124 '--bucket', 'chromium-luci',
125 '-d', 'v8/tools/luci-go/mac64',
126 ],
127 },
128 {
129 'name': 'luci-go_linux',
130 'pattern': '.',
131 'action': [ 'download_from_google_storage',
132 '--no_resume',
133 '--platform=linux*',
134 '--no_auth',
135 '--bucket', 'chromium-luci',
136 '-d', 'v8/tools/luci-go/linux64',
137 ],
138 },
139 {
140 # Update the Windows toolchain if necessary.
141 'name': 'win_toolchain',
142 'pattern': '.',
143 'action': ['python', 'v8/build/vs_toolchain.py', 'update'],
144 },
145 # Pull binutils for linux, enabled debug fission for faster linking /
146 # debugging when used with clang on Ubuntu Precise.
147 # https://code.google.com/p/chromium/issues/detail?id=352046
148 {
149 'name': 'binutils',
150 'pattern': 'v8/third_party/binutils',
151 'action': [
152 'python',
153 'v8/third_party/binutils/download.py',
154 ],
155 },
156 {
157 # Pull gold plugin if needed or requested via GYP_DEFINES.
158 # Note: This must run before the clang update.
159 'name': 'gold_plugin',
160 'pattern': '.',
161 'action': ['python', 'v8/build/download_gold_plugin.py'],
162 },
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000163 {
Emily Bernierd0a1eb72015-03-24 16:35:39 -0400164 # Pull clang if needed or requested via GYP_DEFINES.
165 # Note: On Win, this should run after win_toolchain, as it may use it.
166 'name': 'clang',
167 'pattern': '.',
168 'action': ['python', 'v8/tools/clang/scripts/update.py', '--if-needed'],
169 },
170 {
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000171 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
172 "pattern": ".",
173 "action": ["python", "v8/build/gyp_v8"],
174 },
175]