Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / native_client / DEPS
1 # DEPS files look like -*- Python -*-
2
3 vars = {
4   "chrome_rev": "275800",
5   # NOTE!  These four should match their counterparts in chromium/src/DEPS.
6   # Be sure to update them when updating chrome_rev, above.
7   # (This is not essential for Breakpad, because we do not use its code
8   # in the build that goes into Chromium.  But might as well update it too.)
9   "gtest_rev": "643",
10   "gyp_rev": "1927",
11   "lss_rev": "26",
12   "breakpad_rev": "1338",
13
14   "lcov_rev": "149720",
15   "tools_rev": "13800",
16
17   "validator_snapshots_rev": "14018",
18
19   # These are URL prefixes rather than revision numbers, so keep them separate.
20   "chromium_trunk": "http://src.chromium.org/svn/trunk",
21   "googlecode_url": "http://%s.googlecode.com/svn",
22   "native_client_trunk": "http://src.chromium.org/native_client/trunk",
23   "chromium_git": "https://chromium.googlesource.com",
24
25   # Three lines of non-changing comments so that
26   # the commit queue can handle CLs rolling build tools
27   # and whatever else without interference from each other.
28   "buildtools_revision": "59b93247766e1cdac6e482637ad493df38f7aeb7"
29 }
30
31 deps = {
32   "breakpad":
33     ((Var("googlecode_url") % "google-breakpad") + "/trunk@" +
34      Var('breakpad_rev')),
35   "buildtools":
36     Var("chromium_git") + "/chromium/buildtools.git@" +
37      Var("buildtools_revision"),
38   "testing/gtest":
39     (Var("googlecode_url") % "googletest") + "/trunk@" + Var("gtest_rev"),
40   "third_party":
41     Var("native_client_trunk") + "/src/third_party@" + Var("tools_rev"),
42   "validator_snapshots":
43     (Var("native_client_trunk") + "/src/validator_snapshots@" +
44      Var("validator_snapshots_rev")),
45   "third_party/lcov":
46     Var("chromium_trunk") + "/src/third_party/lcov@" + Var("lcov_rev"),
47   "third_party/lss":
48     ((Var("googlecode_url") % "linux-syscall-support") +
49      "/trunk/lss@" + Var("lss_rev")),
50   "third_party/valgrind":
51     Var("chromium_trunk") + "/deps/third_party/valgrind@" + Var("chrome_rev"),
52   "tools/clang":
53     Var("chromium_trunk") + "/src/tools/clang@" + Var("chrome_rev"),
54   "tools/gyp":
55     (Var("googlecode_url") % "gyp") + "/trunk@" + Var("gyp_rev"),
56   "tools/valgrind":
57     Var("chromium_trunk") + "/src/tools/valgrind@" + Var("chrome_rev"),
58 }
59
60 deps_os = {
61   "win": {
62     # GNU binutils assembler for x86-32.
63     "third_party/gnu_binutils":
64       (Var("native_client_trunk") + "/deps/third_party/gnu_binutils@" +
65        Var("tools_rev")),
66     # GNU binutils assembler for x86-64.
67     "third_party/mingw-w64/mingw/bin":
68       (Var("native_client_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
69        Var("tools_rev")),
70     "third_party/NSIS":
71       (Var("native_client_trunk") + "/deps/third_party/NSIS@" +
72        Var("tools_rev")),
73   },
74   "unix": {
75     # Ragel for validator_ragel
76     "third_party/ragel":
77       (Var("native_client_trunk") + "/deps/third_party/ragel@" +
78        Var("tools_rev")),
79   },
80   "android": {
81     "third_party/android_tools":
82       Var("chromium_git") + "/android_tools.git" +
83       "@aabf2a28449fe47dedeee51d3570ff8687ff015f",
84   },
85 }
86
87 hooks = [
88   # Pull NaCl Toolchain binaries. This needs to be before running GYP below.
89   {
90     "pattern": ".",
91     "action": ["python",
92                "native_client/build/package_version/package_version.py",
93                "sync", "--extract",
94     ],
95   },
96   {
97     # Update the Windows toolchain if necessary.
98     "name": "win_toolchain",
99     "pattern": ".",
100     "action": ["python", "native_client/build/vs_toolchain.py", "update"],
101   },
102   # Update clang
103   {
104     "name": "clang",
105     "pattern": ".",
106     "action": ["python", "tools/clang/scripts/update.py", "--if-needed"],
107   },
108   # Pull GN binaries. This needs to be before running GYP below.
109   {
110     "name": "gn_win",
111     "pattern": ".",
112     "action": [ "download_from_google_storage",
113                 "--no_resume",
114                 "--platform=win32",
115                 "--no_auth",
116                 "--bucket", "chromium-gn",
117                 "-s", "buildtools/win/gn.exe.sha1",
118     ],
119   },
120   {
121     "name": "gn_mac",
122     "pattern": ".",
123     "action": [ "download_from_google_storage",
124                 "--no_resume",
125                 "--platform=darwin",
126                 "--no_auth",
127                 "--bucket", "chromium-gn",
128                 "-s", "buildtools/mac/gn.sha1",
129     ],
130   },
131   {
132     "name": "gn_linux32",
133     "pattern": ".",
134     "action": [ "download_from_google_storage",
135                 "--no_resume",
136                 "--platform=linux*",
137                 "--no_auth",
138                 "--bucket", "chromium-gn",
139                 "-s", "buildtools/linux32/gn.sha1",
140     ],
141   },
142   {
143     "name": "gn_linux64",
144     "pattern": ".",
145     "action": [ "download_from_google_storage",
146                 "--no_resume",
147                 "--platform=linux*",
148                 "--no_auth",
149                 "--bucket", "chromium-gn",
150                 "-s", "buildtools/linux64/gn.sha1",
151     ],
152   },
153   # Run GYP, do this last to make sure all the tools are present first.
154   {
155     "pattern": ".",
156     "action": ["python", "native_client/build/gyp_nacl"],
157   },
158 ]
159
160 include_rules = [
161   "+native_client/src/include",
162   "+gtest",
163 ]