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