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