Home | History | Annotate | Download | only in v8
      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":
     11     Var("git_url") + "/chromium/src/build.git" + "@" + "87e063014aa0f343b15f5de495a28e5f8572bf8d",
     12   "v8/tools/gyp":
     13     Var("git_url") + "/external/gyp.git" + "@" + "35eafcd939515d51d19556c543f9cf97faf75ee6",
     14   "v8/third_party/icu":
     15     Var("git_url") + "/chromium/deps/icu.git" + "@" + "ffa4b6704cf5cc9fec9485731f24a05b2ba94bca",
     16   "v8/buildtools":
     17     Var("git_url") + "/chromium/buildtools.git" + "@" + "56eaae134648135663c4aa1ed82278572b5f35ef",
     18   "v8/base/trace_event/common":
     19     Var("git_url") + "/chromium/src/base/trace_event/common.git" + "@" + "54b8455be9505c2cb0cf5c26bb86739c236471aa",
     20   "v8/tools/mb":
     21     Var('git_url') + '/chromium/src/tools/mb.git' + '@' + "62e2d060db3b06208f5d6558db03efd140ecd180",
     22   "v8/tools/swarming_client":
     23     Var('git_url') + '/external/swarming.client.git' + '@' + "df6e95e7669883c8fe9ef956c69a544154701a49",
     24   "v8/testing/gtest":
     25     Var("git_url") + "/external/github.com/google/googletest.git" + "@" + "6f8a66431cb592dad629028a50b3dd418a408c87",
     26   "v8/testing/gmock":
     27     Var("git_url") + "/external/googlemock.git" + "@" + "0421b6f358139f02e102c9c332ce19a33faf75be",
     28   "v8/test/benchmarks/data":
     29     Var("git_url") + "/v8/deps/third_party/benchmarks.git" + "@" + "05d7188267b4560491ff9155c5ee13e207ecd65f",
     30   "v8/test/mozilla/data":
     31     Var("git_url") + "/v8/deps/third_party/mozilla-tests.git" + "@" + "f6c578a10ea707b1a8ab0b88943fe5115ce2b9be",
     32   "v8/test/simdjs/data": Var("git_url") + "/external/github.com/tc39/ecmascript_simd.git" + "@" + "baf493985cb9ea7cdbd0d68704860a8156de9556",
     33   "v8/test/test262/data":
     34     Var("git_url") + "/external/github.com/tc39/test262.git" + "@" + "88bc7fe7586f161201c5f14f55c9c489f82b1b67",
     35   "v8/tools/clang":
     36     Var("git_url") + "/chromium/src/tools/clang.git" + "@" + "2ad431ac7823581e1f39c5b770704e1e1ca6cb32",
     37 }
     38 
     39 deps_os = {
     40   "android": {
     41     "v8/third_party/android_tools":
     42       Var("git_url") + "/android_tools.git" + "@" + "5b5f2f60b78198eaef25d442ac60f823142a8a6e",
     43   },
     44   "win": {
     45     "v8/third_party/cygwin":
     46       Var("git_url") + "/chromium/deps/cygwin.git" + "@" + "c89e446b273697fadf3a10ff1007a97c0b7de6df",
     47   }
     48 }
     49 
     50 recursedeps = [ 'v8/third_party/android_tools' ]
     51 
     52 include_rules = [
     53   # Everybody can use some things.
     54   "+include",
     55   "+unicode",
     56   "+third_party/fdlibm",
     57 ]
     58 
     59 # checkdeps.py shouldn't check for includes in these directories:
     60 skip_child_includes = [
     61   "build",
     62   "gypfiles",
     63   "third_party",
     64 ]
     65 
     66 hooks = [
     67   {
     68     # This clobbers when necessary (based on get_landmines.py). It must be the
     69     # first hook so that other things that get/generate into the output
     70     # directory will not subsequently be clobbered.
     71     'name': 'landmines',
     72     'pattern': '.',
     73     'action': [
     74         'python',
     75         'v8/gypfiles/landmines.py',
     76     ],
     77   },
     78   # Pull clang-format binaries using checked-in hashes.
     79   {
     80     "name": "clang_format_win",
     81     "pattern": ".",
     82     "action": [ "download_from_google_storage",
     83                 "--no_resume",
     84                 "--platform=win32",
     85                 "--no_auth",
     86                 "--bucket", "chromium-clang-format",
     87                 "-s", "v8/buildtools/win/clang-format.exe.sha1",
     88     ],
     89   },
     90   {
     91     "name": "clang_format_mac",
     92     "pattern": ".",
     93     "action": [ "download_from_google_storage",
     94                 "--no_resume",
     95                 "--platform=darwin",
     96                 "--no_auth",
     97                 "--bucket", "chromium-clang-format",
     98                 "-s", "v8/buildtools/mac/clang-format.sha1",
     99     ],
    100   },
    101   {
    102     "name": "clang_format_linux",
    103     "pattern": ".",
    104     "action": [ "download_from_google_storage",
    105                 "--no_resume",
    106                 "--platform=linux*",
    107                 "--no_auth",
    108                 "--bucket", "chromium-clang-format",
    109                 "-s", "v8/buildtools/linux64/clang-format.sha1",
    110     ],
    111   },
    112   {
    113     'name': 'gcmole',
    114     'pattern': '.',
    115     'action': [
    116         'python',
    117         'v8/tools/gcmole/download_gcmole_tools.py',
    118     ],
    119   },
    120   {
    121     'name': 'jsfunfuzz',
    122     'pattern': '.',
    123     'action': [
    124         'python',
    125         'v8/tools/jsfunfuzz/download_jsfunfuzz.py',
    126     ],
    127   },
    128   # Pull luci-go binaries (isolate, swarming) using checked-in hashes.
    129   {
    130     'name': 'luci-go_win',
    131     'pattern': '.',
    132     'action': [ 'download_from_google_storage',
    133                 '--no_resume',
    134                 '--platform=win32',
    135                 '--no_auth',
    136                 '--bucket', 'chromium-luci',
    137                 '-d', 'v8/tools/luci-go/win64',
    138     ],
    139   },
    140   {
    141     'name': 'luci-go_mac',
    142     'pattern': '.',
    143     'action': [ 'download_from_google_storage',
    144                 '--no_resume',
    145                 '--platform=darwin',
    146                 '--no_auth',
    147                 '--bucket', 'chromium-luci',
    148                 '-d', 'v8/tools/luci-go/mac64',
    149     ],
    150   },
    151   {
    152     'name': 'luci-go_linux',
    153     'pattern': '.',
    154     'action': [ 'download_from_google_storage',
    155                 '--no_resume',
    156                 '--platform=linux*',
    157                 '--no_auth',
    158                 '--bucket', 'chromium-luci',
    159                 '-d', 'v8/tools/luci-go/linux64',
    160     ],
    161   },
    162   # Pull GN using checked-in hashes.
    163   {
    164     "name": "gn_win",
    165     "pattern": ".",
    166     "action": [ "download_from_google_storage",
    167                 "--no_resume",
    168                 "--platform=win32",
    169                 "--no_auth",
    170                 "--bucket", "chromium-gn",
    171                 "-s", "v8/buildtools/win/gn.exe.sha1",
    172     ],
    173   },
    174   {
    175     "name": "gn_mac",
    176     "pattern": ".",
    177     "action": [ "download_from_google_storage",
    178                 "--no_resume",
    179                 "--platform=darwin",
    180                 "--no_auth",
    181                 "--bucket", "chromium-gn",
    182                 "-s", "v8/buildtools/mac/gn.sha1",
    183     ],
    184   },
    185   {
    186     "name": "gn_linux",
    187     "pattern": ".",
    188     "action": [ "download_from_google_storage",
    189                 "--no_resume",
    190                 "--platform=linux*",
    191                 "--no_auth",
    192                 "--bucket", "chromium-gn",
    193                 "-s", "v8/buildtools/linux64/gn.sha1",
    194     ],
    195   },
    196   {
    197     # Downloads the current stable linux sysroot to build/linux/ if needed.
    198     # This sysroot updates at about the same rate that the chrome build deps
    199     # change.
    200     'name': 'sysroot',
    201     'pattern': '.',
    202     'action': [
    203         'python',
    204         'v8/build/linux/sysroot_scripts/install-sysroot.py',
    205         '--running-as-hook',
    206     ],
    207   },
    208   {
    209     # Update the Windows toolchain if necessary.
    210     'name': 'win_toolchain',
    211     'pattern': '.',
    212     'action': ['python', 'v8/gypfiles/vs_toolchain.py', 'update'],
    213   },
    214   # Pull binutils for linux, enabled debug fission for faster linking /
    215   # debugging when used with clang on Ubuntu Precise.
    216   # https://code.google.com/p/chromium/issues/detail?id=352046
    217   {
    218     'name': 'binutils',
    219     'pattern': 'v8/third_party/binutils',
    220     'action': [
    221         'python',
    222         'v8/third_party/binutils/download.py',
    223     ],
    224   },
    225   {
    226     # Pull gold plugin if needed or requested via GYP_DEFINES.
    227     # Note: This must run before the clang update.
    228     'name': 'gold_plugin',
    229     'pattern': '.',
    230     'action': ['python', 'v8/gypfiles/download_gold_plugin.py'],
    231   },
    232   {
    233     # Pull clang if needed or requested via GYP_DEFINES.
    234     # Note: On Win, this should run after win_toolchain, as it may use it.
    235     'name': 'clang',
    236     'pattern': '.',
    237     'action': ['python', 'v8/tools/clang/scripts/update.py', '--if-needed'],
    238   },
    239   {
    240     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
    241     "pattern": ".",
    242     "action": ["python", "v8/gypfiles/gyp_v8"],
    243   },
    244 ]
    245