OLD | NEW |
1 # Copyright 2014 Google Inc. All Rights Reserved. | 1 # Copyright 2014 Google Inc. All Rights Reserved. |
2 # | 2 # |
3 # Licensed under the Apache License, Version 2.0 (the "License"); | 3 # Licensed under the Apache License, Version 2.0 (the "License"); |
4 # you may not use this file except in compliance with the License. | 4 # you may not use this file except in compliance with the License. |
5 # You may obtain a copy of the License at | 5 # You may obtain a copy of the License at |
6 # | 6 # |
7 # http://www.apache.org/licenses/LICENSE-2.0 | 7 # http://www.apache.org/licenses/LICENSE-2.0 |
8 # | 8 # |
9 # Unless required by applicable law or agreed to in writing, software | 9 # Unless required by applicable law or agreed to in writing, software |
10 # distributed under the License is distributed on an "AS IS" BASIS, | 10 # distributed under the License is distributed on an "AS IS" BASIS, |
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 # See the License for the specific language governing permissions and | 12 # See the License for the specific language governing permissions and |
13 # limitations under the License. | 13 # limitations under the License. |
14 | 14 |
15 vars = { | 15 vars = { |
16 # Name of the directory to which the repository is pulled in. | 16 # Name of the directory to which the repository is pulled in. |
17 "root": "src", | 17 "root": "src", |
18 # This is expected to be Python 2.7 from depot_tools. | 18 # This is expected to be Python 2.7 from depot_tools. |
19 "python_path": "python", | 19 "python_path": "python", |
20 | 20 |
21 "chromium_git": "https://chromium.googlesource.com", | 21 "chromium_git": "https://chromium.googlesource.com", |
22 "buildtools_revision": "a7cc7a3e21a061975b33dcdcd81a9716ba614c3c", | 22 "buildtools_revision": "a7cc7a3e21a061975b33dcdcd81a9716ba614c3c", |
| 23 "icu_revision": "9cd2828740572ba6f694b9365236a8356fd06147", |
23 } | 24 } |
24 | 25 |
25 deps = { | 26 deps = { |
26 Var("root") + "/buildtools": | 27 Var("root") + "/buildtools": |
27 Var('chromium_git') + '/chromium/buildtools.git' + '@' + Var('buildtools_re
vision'), | 28 (Var('chromium_git') + '/chromium/buildtools.git' + '@' + |
| 29 Var('buildtools_revision')), |
| 30 Var("root") + "/third_party/icu": |
| 31 Var('chromium_git') + '/chromium/deps/icu.git' + '@' + Var('icu_revision'), |
28 } | 32 } |
29 | 33 |
30 include_rules = [ | 34 include_rules = [ |
31 ] | 35 ] |
32 | 36 |
33 hooks = [ | 37 hooks = [ |
34 { | 38 { |
35 "name": "run_gitdeps", | 39 "name": "run_gitdeps", |
36 "pattern": ".", | 40 "pattern": ".", |
37 "action": [Var("python_path"), | 41 "action": [Var("python_path"), |
(...skipping 18 matching lines...) Expand all Loading... |
56 # Update the Windows toolchain if necessary. | 60 # Update the Windows toolchain if necessary. |
57 "name": "win_toolchain", | 61 "name": "win_toolchain", |
58 "pattern": ".", | 62 "pattern": ".", |
59 "action": [Var("python_path"), | 63 "action": [Var("python_path"), |
60 Var("root") + "/build/vs_toolchain.py", | 64 Var("root") + "/build/vs_toolchain.py", |
61 "update", | 65 "update", |
62 ], | 66 ], |
63 }, | 67 }, |
64 # TODO(veranika): run GN here. | 68 # TODO(veranika): run GN here. |
65 { | 69 { |
| 70 "name": "lastchange", |
| 71 "pattern": ".", |
| 72 "action": ["python", "src/build/util/lastchange.py", |
| 73 "-o", "src/build/util/LASTCHANGE"], |
| 74 }, |
| 75 { |
66 "name": "download_clang_format", | 76 "name": "download_clang_format", |
67 "pattern": ".", | 77 "pattern": ".", |
68 "action": ["download_from_google_storage", | 78 "action": ["download_from_google_storage", |
69 "--no_resume", | 79 "--no_resume", |
70 "--platform=win32", | 80 "--platform=win32", |
71 "--no_auth", | 81 "--no_auth", |
72 "--bucket", "chromium-clang-format", | 82 "--bucket", "chromium-clang-format", |
73 "-s", Var("root") + "/buildtools/win/clang-format.exe.sha1", | 83 "-s", Var("root") + "/buildtools/win/clang-format.exe.sha1", |
74 ], | 84 ], |
75 }, | 85 }, |
76 ] | 86 ] |
OLD | NEW |