DEPS 3.61 KB
Newer Older
1 2 3 4
# Note: The buildbots evaluate this file with CWD set to the parent
# directory and assume that the root of the checkout is in ./v8/, so
# all paths in here must match this assumption.

5
vars = {
6
  "git_url": "https://chromium.googlesource.com",
7 8
}

9 10
deps = {
  "v8/build/gyp":
v8-autoroll's avatar
v8-autoroll committed
11
    Var("git_url") + "/external/gyp.git" + "@" + "0bb67471bca068996e15b56738fa4824dfa19de0",
12
  "v8/third_party/icu":
v8-autoroll's avatar
v8-autoroll committed
13
    Var("git_url") + "/chromium/deps/icu.git" + "@" + "f8c0e585b0a046d83d72b5d37356cb50d5b2031a",
14
  "v8/buildtools":
v8-autoroll's avatar
v8-autoroll committed
15
    Var("git_url") + "/chromium/buildtools.git" + "@" + "15f5fc6fdb1795e2b99f66e5bc6c01e9fb62b436",
16
  "v8/testing/gtest":
v8-autoroll's avatar
v8-autoroll committed
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":
v8-autoroll's avatar
v8-autoroll committed
21
    Var("git_url") + "/chromium/src/tools/clang.git" + "@" + "a8549b6dd82c3b35a06f9894fa7abdcbbf0bd6f5",
22 23 24
}

deps_os = {
25 26
  "android": {
    "v8/third_party/android_tools":
27
      Var("git_url") + "/android_tools.git" + "@" + "4f723e2a5fa5b7b8a198072ac19b92344be2b271",
28
  },
29 30
  "win": {
    "v8/third_party/cygwin":
31
      Var("git_url") + "/chromium/deps/cygwin.git" + "@" + "c89e446b273697fadf3a10ff1007a97c0b7de6df",
32 33 34
  }
}

35 36 37 38
include_rules = [
  # Everybody can use some things.
  "+include",
  "+unicode",
39
  "+third_party/fdlibm",
40 41 42 43 44 45 46 47
]

# checkdeps.py shouldn't check for includes in these directories:
skip_child_includes = [
  "build",
  "third_party",
]

48
hooks = [
49 50 51 52 53 54 55 56 57 58 59
  {
    # This clobbers when necessary (based on get_landmines.py). It must be the
    # first hook so that other things that get/generate into the output
    # directory will not subsequently be clobbered.
    'name': 'landmines',
    'pattern': '.',
    'action': [
        'python',
        'v8/build/landmines.py',
    ],
  },
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
  # Pull clang-format binaries using checked-in hashes.
  {
    "name": "clang_format_win",
    "pattern": ".",
    "action": [ "download_from_google_storage",
                "--no_resume",
                "--platform=win32",
                "--no_auth",
                "--bucket", "chromium-clang-format",
                "-s", "v8/buildtools/win/clang-format.exe.sha1",
    ],
  },
  {
    "name": "clang_format_mac",
    "pattern": ".",
    "action": [ "download_from_google_storage",
                "--no_resume",
                "--platform=darwin",
                "--no_auth",
                "--bucket", "chromium-clang-format",
                "-s", "v8/buildtools/mac/clang-format.sha1",
    ],
  },
  {
    "name": "clang_format_linux",
    "pattern": ".",
    "action": [ "download_from_google_storage",
                "--no_resume",
                "--platform=linux*",
                "--no_auth",
                "--bucket", "chromium-clang-format",
                "-s", "v8/buildtools/linux64/clang-format.sha1",
    ],
  },
94 95 96 97 98 99 100 101 102 103 104
  # Pull binutils for linux, enabled debug fission for faster linking /
  # debugging when used with clang on Ubuntu Precise.
  # https://code.google.com/p/chromium/issues/detail?id=352046
  {
    'name': 'binutils',
    'pattern': 'v8/third_party/binutils',
    'action': [
        'python',
        'v8/third_party/binutils/download.py',
    ],
  },
105 106 107 108 109 110 111
  {
    # Pull clang if needed or requested via GYP_DEFINES.
    # Note: On Win, this should run after win_toolchain, as it may use it.
    'name': 'clang',
    'pattern': '.',
    'action': ['python', 'v8/tools/clang/scripts/update.py', '--if-needed'],
  },
112 113 114 115 116 117
  {
    # A change to a .gyp, .gypi, or to GYP itself should run the generator.
    "pattern": ".",
    "action": ["python", "v8/build/gyp_v8"],
  },
]