Update V8 DEPS.
[platform/upstream/v8.git] / DEPS
1 # 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
5 vars = {
6   "git_url": "https://chromium.googlesource.com",
7 }
8
9 deps = {
10   "v8/build/gyp":
11     Var("git_url") + "/external/gyp.git" + "@" + "01528c7244837168a1c80f06ff60fa5a9793c824",
12   "v8/third_party/icu":
13     Var("git_url") + "/chromium/deps/icu.git" + "@" + "423fc7e1107fb08ccf007c4aeb76dcab8b2747c1",
14   "v8/buildtools":
15     Var("git_url") + "/chromium/buildtools.git" + "@" + "e7111440c07a883b82ffbbe6d26c744dfc6c9673",
16   "v8/tools/swarming_client":
17     Var('git_url') + '/external/swarming.client.git' + '@' + "6e5d2b21f0ac98396cd736097a985346feed1328",
18   "v8/testing/gtest":
19     Var("git_url") + "/external/googletest.git" + "@" + "9855a87157778d39b95eccfb201a9dc90f6d61c6",
20   "v8/testing/gmock":
21     Var("git_url") + "/external/googlemock.git" + "@" + "0421b6f358139f02e102c9c332ce19a33faf75be",
22   "v8/tools/clang":
23     Var("git_url") + "/chromium/src/tools/clang.git" + "@" + "290301c180118e27755bfced176ff61bd0acb1b8",
24 }
25
26 deps_os = {
27   "android": {
28     "v8/third_party/android_tools":
29       Var("git_url") + "/android_tools.git" + "@" + "4238a28593b7e6178c95431f91ca8c24e45fa7eb",
30   },
31   "win": {
32     "v8/third_party/cygwin":
33       Var("git_url") + "/chromium/deps/cygwin.git" + "@" + "c89e446b273697fadf3a10ff1007a97c0b7de6df",
34   }
35 }
36
37 include_rules = [
38   # Everybody can use some things.
39   "+include",
40   "+unicode",
41   "+third_party/fdlibm",
42 ]
43
44 # checkdeps.py shouldn't check for includes in these directories:
45 skip_child_includes = [
46   "build",
47   "third_party",
48 ]
49
50 hooks = [
51   {
52     # This clobbers when necessary (based on get_landmines.py). It must be the
53     # first hook so that other things that get/generate into the output
54     # directory will not subsequently be clobbered.
55     'name': 'landmines',
56     'pattern': '.',
57     'action': [
58         'python',
59         'v8/build/landmines.py',
60     ],
61   },
62   # Pull clang-format binaries using checked-in hashes.
63   {
64     "name": "clang_format_win",
65     "pattern": ".",
66     "action": [ "download_from_google_storage",
67                 "--no_resume",
68                 "--platform=win32",
69                 "--no_auth",
70                 "--bucket", "chromium-clang-format",
71                 "-s", "v8/buildtools/win/clang-format.exe.sha1",
72     ],
73   },
74   {
75     "name": "clang_format_mac",
76     "pattern": ".",
77     "action": [ "download_from_google_storage",
78                 "--no_resume",
79                 "--platform=darwin",
80                 "--no_auth",
81                 "--bucket", "chromium-clang-format",
82                 "-s", "v8/buildtools/mac/clang-format.sha1",
83     ],
84   },
85   {
86     "name": "clang_format_linux",
87     "pattern": ".",
88     "action": [ "download_from_google_storage",
89                 "--no_resume",
90                 "--platform=linux*",
91                 "--no_auth",
92                 "--bucket", "chromium-clang-format",
93                 "-s", "v8/buildtools/linux64/clang-format.sha1",
94     ],
95   },
96   # Pull binutils for linux, enabled debug fission for faster linking /
97   # debugging when used with clang on Ubuntu Precise.
98   # https://code.google.com/p/chromium/issues/detail?id=352046
99   {
100     'name': 'binutils',
101     'pattern': 'v8/third_party/binutils',
102     'action': [
103         'python',
104         'v8/third_party/binutils/download.py',
105     ],
106   },
107   {
108     # Pull gold plugin if needed or requested via GYP_DEFINES.
109     # Note: This must run before the clang update.
110     'name': 'gold_plugin',
111     'pattern': '.',
112     'action': ['python', 'v8/build/download_gold_plugin.py'],
113   },
114   {
115     # Pull clang if needed or requested via GYP_DEFINES.
116     # Note: On Win, this should run after win_toolchain, as it may use it.
117     'name': 'clang',
118     'pattern': '.',
119     'action': ['python', 'v8/tools/clang/scripts/update.py', '--if-needed'],
120   },
121   {
122     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
123     "pattern": ".",
124     "action": ["python", "v8/build/gyp_v8"],
125   },
126 ]