9df009f0fae32058331ac3e3e2caf9df33eecfe3
[platform/framework/web/crosswalk.git] / src / native_client / DEPS
1 # DEPS files look like -*- Python -*-
2
3 vars = {
4   "chrome_rev": "250916",
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": "1846",
11   "lss_rev": "24",
12   "breakpad_rev": "1271",
13
14   "lcov_rev": "149720",
15   "tools_rev": "12760",
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 }
22
23 deps = {
24   "breakpad":
25     ((Var("googlecode_url") % "google-breakpad") + "/trunk@" +
26      Var('breakpad_rev')),
27   "native_client/tools/perf_expectations":
28     Var("chromium_trunk") + "/src/tools/perf_expectations@" + Var("chrome_rev"),
29   "testing/gtest":
30     "http://googletest.googlecode.com/svn/trunk@" + Var("gtest_rev"),
31   "third_party":
32     Var("native_client_trunk") + "/src/third_party@" + Var("tools_rev"),
33   "validator_snapshots":
34     Var("native_client_trunk") + "/src/validator_snapshots@" + Var("tools_rev"),
35   "third_party/lcov":
36     Var("chromium_trunk") + "/src/third_party/lcov@" + Var("lcov_rev"),
37   "third_party/lss":
38     ((Var("googlecode_url") % "linux-syscall-support") +
39      "/trunk/lss@" + Var("lss_rev")),
40   "third_party/valgrind":
41     Var("chromium_trunk") + "/deps/third_party/valgrind@" + Var("chrome_rev"),
42   "tools/clang":
43     Var("chromium_trunk") + "/src/tools/clang@" + Var("chrome_rev"),
44   "tools/gyp":
45     "http://gyp.googlecode.com/svn/trunk@" + Var("gyp_rev"),
46   "tools/valgrind":
47     Var("chromium_trunk") + "/src/tools/valgrind@" + Var("chrome_rev"),
48 }
49
50 deps_os = {
51   "win": {
52     # GNU binutils assembler for x86-32.
53     "third_party/gnu_binutils":
54       (Var("native_client_trunk") + "/deps/third_party/gnu_binutils@" +
55        Var("tools_rev")),
56     # GNU binutils assembler for x86-64.
57     "third_party/mingw-w64/mingw/bin":
58       (Var("native_client_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
59        Var("tools_rev")),
60     "third_party/NSIS":
61       (Var("native_client_trunk") + "/deps/third_party/NSIS@" +
62        Var("tools_rev")),
63   },
64   "unix": {
65     # Ragel for validator_ragel
66     "third_party/ragel":
67       (Var("native_client_trunk") + "/deps/third_party/ragel@" +
68        Var("tools_rev")),
69   }
70 }
71
72 hooks = [
73   {
74     "pattern": ".",
75     "action": ["python", "native_client/build/download_toolchains.py",
76                "--keep", "--arm-untrusted", "native_client/TOOL_REVISIONS"],
77   },
78   {
79     "pattern": ".",
80     "action": ["python", "native_client/build/gyp_nacl"],
81   },
82 ]
83
84 include_rules = [
85   "+native_client/src/include",
86   "+gtest",
87 ]