-
Notifications
You must be signed in to change notification settings - Fork 0
/
DEPS
90 lines (80 loc) · 2.78 KB
/
DEPS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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
vars = {
"buildtools_git": "https://chromium.googlesource.com/chromium/buildtools.git",
"buildtools_revision": "cbc33b9c0a9d1bb913895a4319a742c504a2d541",
"gflags_git": "https://github.com/gflags/gflags.git",
"gflags_revision": "v2.2.1",
"gmock_git": "https://github.com/DavidYen/googlemock.git",
"gmock_revision": "9b1a944ec48b7f84ad2f4466ed3babd232a20db5",
"gtest_git": "https://github.com/DavidYen/googletest.git",
"gtest_revision": "1197daf3571161590dce2bc4879512ef7bc1ba67",
"rapidjson_git": "https://github.com/miloyip/rapidjson.git",
"rapidjson_revision": "v1.1.0",
"flatbuffers_git": "https://github.com/google/flatbuffers.git",
"flatbuffers_revision": "v1.7.1",
"crunch_git": "https://github.com/BinomialLLC/crunch.git",
"crunch_revision": "ea9b8d8c00c8329791256adafa8cf11e4e7942a2",
"stb_git": "https://github.com/nothings/stb.git",
"stb_revision": "9d9f75eb682dd98b34de08bb5c489c6c561c9fa6",
}
deps = {
"yengine/buildtools":
Var("buildtools_git") + "@" + Var("buildtools_revision"),
"yengine/third_party/crunch":
Var("crunch_git") + "@" + Var("crunch_revision"),
"yengine/third_party/google/flatbuffers":
Var("flatbuffers_git") + "@" + Var("flatbuffers_revision"),
"yengine/third_party/google/gflags":
Var("gflags_git") + "@" + Var("gflags_revision"),
"yengine/third_party/google/gmock":
Var("gmock_git") + "@" + Var("gmock_revision"),
"yengine/third_party/google/gtest":
Var("gtest_git") + "@" + Var("gtest_revision"),
"yengine/third_party/rapidjson":
Var("rapidjson_git") + "@" + Var("rapidjson_revision"),
"yengine/third_party/stb":
Var("stb_git") + "@" + Var("stb_revision"),
}
hooks = [
# Pull GN binaries. This needs to be before running GYP below.
{
"name": "gn_win",
"pattern": ".",
"action": [ "download_from_google_storage",
"--no_resume",
"--platform=win32",
"--no_auth",
"--bucket", "chromium-gn",
"-s", "yengine/buildtools/win/gn.exe.sha1",
],
},
{
"name": "gn_mac",
"pattern": ".",
"action": [ "download_from_google_storage",
"--no_resume",
"--platform=darwin",
"--no_auth",
"--bucket", "chromium-gn",
"-s", "yengine/buildtools/mac/gn.sha1",
],
},
{
"name": "gn_linux32",
"pattern": ".",
"action": [ "download_from_google_storage",
"--no_resume",
"--platform=linux*",
"--no_auth",
"--bucket", "chromium-gn",
"-s", "yengine/buildtools/linux32/gn.sha1",
],
},
# Generate Ninja files using GN
{
"name": "generate_ninja",
"pattern": ".",
"action": [ "python",
"yengine/generate_ninja.py",
],
},
]