b829d05dabb9ad6e992719935c844d5f7aed8754
[platform/upstream/nodejs.git] / deps / v8 / 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" + "@" + "34640080d08ab2a37665512e52142947def3056d",
12   "v8/third_party/icu":
13     Var("git_url") + "/chromium/deps/icu.git" + "@" + "4e3266f32c62d30a3f9e2232a753c60129d1e670",
14   "v8/buildtools":
15     Var("git_url") + "/chromium/buildtools.git" + "@" + "5c5e924788fe40f7d6e0a3841ac572de2475e689",
16   "v8/testing/gtest":
17     Var("git_url") + "/external/googletest.git" + "@" + "be1868139ffe0ccd0e8e3b37292b84c821d9c8ad",
18   "v8/testing/gmock":
19     Var("git_url") + "/external/googlemock.git" + "@" + "29763965ab52f24565299976b936d1265cb6a271",  # from svn revision 501
20   "v8/tools/clang":
21     Var("git_url") + "/chromium/src/tools/clang.git" + "@" + "f6daa55d03995e82201a3278203e7c0421a59546",
22 }
23
24 deps_os = {
25   "android": {
26     "v8/third_party/android_tools":
27       Var("git_url") + "/android_tools.git" + "@" + "4f723e2a5fa5b7b8a198072ac19b92344be2b271",
28   },
29   "win": {
30     "v8/third_party/cygwin":
31       Var("git_url") + "/chromium/deps/cygwin.git" + "@" + "c89e446b273697fadf3a10ff1007a97c0b7de6df",
32   }
33 }
34
35 include_rules = [
36   # Everybody can use some things.
37   "+include",
38   "+unicode",
39   "+third_party/fdlibm",
40 ]
41
42 # checkdeps.py shouldn't check for includes in these directories:
43 skip_child_includes = [
44   "build",
45   "third_party",
46 ]
47
48 hooks = [
49   # Pull clang-format binaries using checked-in hashes.
50   {
51     "name": "clang_format_win",
52     "pattern": ".",
53     "action": [ "download_from_google_storage",
54                 "--no_resume",
55                 "--platform=win32",
56                 "--no_auth",
57                 "--bucket", "chromium-clang-format",
58                 "-s", "v8/buildtools/win/clang-format.exe.sha1",
59     ],
60   },
61   {
62     "name": "clang_format_mac",
63     "pattern": ".",
64     "action": [ "download_from_google_storage",
65                 "--no_resume",
66                 "--platform=darwin",
67                 "--no_auth",
68                 "--bucket", "chromium-clang-format",
69                 "-s", "v8/buildtools/mac/clang-format.sha1",
70     ],
71   },
72   {
73     "name": "clang_format_linux",
74     "pattern": ".",
75     "action": [ "download_from_google_storage",
76                 "--no_resume",
77                 "--platform=linux*",
78                 "--no_auth",
79                 "--bucket", "chromium-clang-format",
80                 "-s", "v8/buildtools/linux64/clang-format.sha1",
81     ],
82   },
83   # Pull binutils for linux, enabled debug fission for faster linking /
84   # debugging when used with clang on Ubuntu Precise.
85   # https://code.google.com/p/chromium/issues/detail?id=352046
86   {
87     'name': 'binutils',
88     'pattern': 'v8/third_party/binutils',
89     'action': [
90         'python',
91         'v8/third_party/binutils/download.py',
92     ],
93   },
94   {
95     # Pull clang if needed or requested via GYP_DEFINES.
96     # Note: On Win, this should run after win_toolchain, as it may use it.
97     'name': 'clang',
98     'pattern': '.',
99     'action': ['python', 'v8/tools/clang/scripts/update.py', '--if-needed'],
100   },
101   {
102     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
103     "pattern": ".",
104     "action": ["python", "v8/build/gyp_v8"],
105   },
106 ]