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 5vars = { 6 "chromium_git": "https://chromium.googlesource.com", 7 8 "chromium_trunk": "https://src.chromium.org/svn/trunk", 9 10 "buildtools_revision": "fb782d4369d5ae04f17a2fceef7de5a63e50f07b", 11} 12 13deps = { 14 # Remember to keep the revision in sync with the Makefile. 15 "v8/build/gyp": 16 "http://gyp.googlecode.com/svn/trunk@1831", 17 18 "v8/third_party/icu": 19 Var("chromium_trunk") + "/deps/third_party/icu52@277999", 20 21 "v8/buildtools": 22 "https://chromium.googlesource.com/chromium/buildtools.git@" + 23 Var("buildtools_revision"), 24 25 "v8/testing/gtest": 26 "http://googletest.googlecode.com/svn/trunk@692", 27 28 "v8/testing/gmock": 29 "http://googlemock.googlecode.com/svn/trunk@485", 30} 31 32deps_os = { 33 "android": { 34 "v8/third_party/android_tools": 35 Var("chromium_git") + "/android_tools.git" + "@" + 36 "31869996507de16812bb53a3d0aaa15cd6194c16", 37 }, 38 "win": { 39 "v8/third_party/cygwin": 40 Var("chromium_trunk") + "/deps/third_party/cygwin@66844", 41 42 "v8/third_party/python_26": 43 Var("chromium_trunk") + "/tools/third_party/python_26@89111", 44 } 45} 46 47include_rules = [ 48 # Everybody can use some things. 49 "+include", 50 "+unicode", 51 "+third_party/fdlibm", 52] 53 54# checkdeps.py shouldn't check for includes in these directories: 55skip_child_includes = [ 56 "build", 57 "third_party", 58] 59 60hooks = [ 61 # Pull clang-format binaries using checked-in hashes. 62 { 63 "name": "clang_format_win", 64 "pattern": ".", 65 "action": [ "download_from_google_storage", 66 "--no_resume", 67 "--platform=win32", 68 "--no_auth", 69 "--bucket", "chromium-clang-format", 70 "-s", "v8/buildtools/win/clang-format.exe.sha1", 71 ], 72 }, 73 { 74 "name": "clang_format_mac", 75 "pattern": ".", 76 "action": [ "download_from_google_storage", 77 "--no_resume", 78 "--platform=darwin", 79 "--no_auth", 80 "--bucket", "chromium-clang-format", 81 "-s", "v8/buildtools/mac/clang-format.sha1", 82 ], 83 }, 84 { 85 "name": "clang_format_linux", 86 "pattern": ".", 87 "action": [ "download_from_google_storage", 88 "--no_resume", 89 "--platform=linux*", 90 "--no_auth", 91 "--bucket", "chromium-clang-format", 92 "-s", "v8/buildtools/linux64/clang-format.sha1", 93 ], 94 }, 95 { 96 # A change to a .gyp, .gypi, or to GYP itself should run the generator. 97 "pattern": ".", 98 "action": ["python", "v8/build/gyp_v8"], 99 }, 100] 101