OLD | NEW |
1 use_relative_paths = True | 1 use_relative_paths = True |
2 | 2 |
3 vars = { | 3 vars = { |
4 'chromium_git': 'https://chromium.googlesource.com', | 4 'chromium_git': 'https://chromium.googlesource.com', |
5 'pdfium_git': 'https://pdfium.googlesource.com', | 5 'pdfium_git': 'https://pdfium.googlesource.com', |
6 | 6 |
7 'buildtools_revision': 'c2f259809d5ede3275df5ea0842f0431990c4f98', | 7 'build_revision': '4d35c0d78ccf35b1597b9dd4adad52203916a01f', |
| 8 'buildtools_revision': '5378d73123b64907773cc5c1bb027b2f765ff00a', |
8 'clang_revision': '9dc1904d214a77f081362c1b848b5f28d2192748', | 9 'clang_revision': '9dc1904d214a77f081362c1b848b5f28d2192748', |
9 'cygwin_revision': 'c89e446b273697fadf3a10ff1007a97c0b7de6df', | 10 'cygwin_revision': 'c89e446b273697fadf3a10ff1007a97c0b7de6df', |
10 'gmock_revision': '29763965ab52f24565299976b936d1265cb6a271', | 11 'gmock_revision': '29763965ab52f24565299976b936d1265cb6a271', |
11 'gtest_revision': '8245545b6dc9c4703e6496d1efd19e975ad2b038', | 12 'gtest_revision': '8245545b6dc9c4703e6496d1efd19e975ad2b038', |
12 'icu_revision': 'c291cde264469b20ca969ce8832088acb21e0c48', | 13 'icu_revision': 'c291cde264469b20ca969ce8832088acb21e0c48', |
13 'pdfium_tests_revision': '7ef8719fac859e1d23d667d4c3038ae8b38e4d36', | 14 'pdfium_tests_revision': '7ef8719fac859e1d23d667d4c3038ae8b38e4d36', |
14 'skia_revision': '0a291c7b7eea1807bd58bdaa60c258fd0ebeb257', | 15 'skia_revision': '0a291c7b7eea1807bd58bdaa60c258fd0ebeb257', |
15 'trace_event_revision': 'd83d44b13d07c2fd0a40101a7deef9b93b841732', | 16 'trace_event_revision': 'd83d44b13d07c2fd0a40101a7deef9b93b841732', |
16 'v8_revision': '47bcec782b752ba411bd8bba6e390d1cc1c3226e', | 17 'v8_revision': '47bcec782b752ba411bd8bba6e390d1cc1c3226e', |
17 | 18 |
18 } | 19 } |
19 | 20 |
20 deps = { | 21 deps = { |
21 "build_gyp/gyp": | 22 "build": |
22 Var('chromium_git') + "/external/gyp", | 23 Var('chromium_git') + "/chromium/src/build.git@" + Var('build_revision'), |
23 | 24 |
24 "buildtools": | 25 "buildtools": |
25 Var('chromium_git') + "/chromium/buildtools.git@" + Var('buildtools_revision
'), | 26 Var('chromium_git') + "/chromium/buildtools.git@" + Var('buildtools_revision
'), |
26 | 27 |
27 "testing/corpus": | 28 "testing/corpus": |
28 Var('pdfium_git') + "/pdfium_tests@" + Var('pdfium_tests_revision'), | 29 Var('pdfium_git') + "/pdfium_tests@" + Var('pdfium_tests_revision'), |
29 | 30 |
30 "testing/gmock": | 31 "testing/gmock": |
31 Var('chromium_git') + "/external/googlemock.git@" + Var('gmock_revision'), | 32 Var('chromium_git') + "/external/googlemock.git@" + Var('gmock_revision'), |
32 | 33 |
33 "testing/gtest": | 34 "testing/gtest": |
34 Var('chromium_git') + "/external/googletest.git@" + Var('gtest_revision'), | 35 Var('chromium_git') + "/external/googletest.git@" + Var('gtest_revision'), |
35 | 36 |
| 37 "third_party/icu": |
| 38 Var('chromium_git') + "/chromium/deps/icu.git@" + Var('icu_revision'), |
| 39 |
36 "third_party/skia": | 40 "third_party/skia": |
37 Var('chromium_git') + '/skia.git' + '@' + Var('skia_revision'), | 41 Var('chromium_git') + '/skia.git' + '@' + Var('skia_revision'), |
38 | 42 |
39 "tools/clang": | 43 "tools/clang": |
40 Var('chromium_git') + "/chromium/src/tools/clang@" + Var('clang_revision'), | 44 Var('chromium_git') + "/chromium/src/tools/clang@" + Var('clang_revision'), |
41 | 45 |
| 46 "tools/gyp": |
| 47 Var('chromium_git') + "/external/gyp", |
| 48 |
42 "v8": | 49 "v8": |
43 Var('chromium_git') + "/v8/v8.git@" + Var('v8_revision'), | 50 Var('chromium_git') + "/v8/v8.git@" + Var('v8_revision'), |
44 | 51 |
45 "v8/base/trace_event/common": | 52 "v8/base/trace_event/common": |
46 Var('chromium_git') + "/chromium/src/base/trace_event/common.git@" + Var('tr
ace_event_revision'), | 53 Var('chromium_git') + "/chromium/src/base/trace_event/common.git@" + Var('tr
ace_event_revision'), |
47 | |
48 "v8/third_party/icu": | |
49 Var('chromium_git') + "/chromium/deps/icu.git@" + Var('icu_revision'), | |
50 } | 54 } |
51 | 55 |
52 deps_os = { | 56 deps_os = { |
53 "win": { | 57 "win": { |
54 "v8/third_party/cygwin": | 58 "v8/third_party/cygwin": |
55 Var('chromium_git') + "/chromium/deps/cygwin@" + Var('cygwin_revision'), | 59 Var('chromium_git') + "/chromium/deps/cygwin@" + Var('cygwin_revision'), |
56 }, | 60 }, |
57 } | 61 } |
58 | 62 |
59 include_rules = [ | 63 include_rules = [ |
60 # Basic stuff that everyone can use. | 64 # Basic stuff that everyone can use. |
61 # Note: public is not here because core cannot depend on public. | 65 # Note: public is not here because core cannot depend on public. |
62 '+testing', | 66 '+testing', |
63 '+third_party/base', | 67 '+third_party/base', |
64 ] | 68 ] |
65 | 69 |
66 hooks = [ | 70 hooks = [ |
| 71 # Pull GN binaries. This needs to be before running GYP below. |
| 72 { |
| 73 'action': [ 'download_from_google_storage', |
| 74 '--no_resume', |
| 75 '--platform=win32', |
| 76 '--no_auth', |
| 77 '--bucket', 'chromium-gn', |
| 78 '-s', 'pdfium/buildtools/win/gn.exe.sha1', |
| 79 ], |
| 80 }, |
| 81 { |
| 82 'name': 'gn_mac', |
| 83 'pattern': '.', |
| 84 'action': [ 'download_from_google_storage', |
| 85 '--no_resume', |
| 86 '--platform=darwin', |
| 87 '--no_auth', |
| 88 '--bucket', 'chromium-gn', |
| 89 '-s', 'pdfium/buildtools/mac/gn.sha1', |
| 90 ], |
| 91 }, |
| 92 { |
| 93 'name': 'gn_linux64', |
| 94 'pattern': '.', |
| 95 'action': [ 'download_from_google_storage', |
| 96 '--no_resume', |
| 97 '--platform=linux*', |
| 98 '--no_auth', |
| 99 '--bucket', 'chromium-gn', |
| 100 '-s', 'pdfium/buildtools/linux64/gn.sha1', |
| 101 ], |
| 102 }, |
| 103 { |
| 104 # Downloads the current stable linux sysroot to build/linux/ if needed. |
| 105 # This sysroot updates at about the same rate that the chrome build deps |
| 106 # change. This script is a no-op except for linux users who are doing |
| 107 # official chrome builds or cross compiling. |
| 108 'name': 'sysroot', |
| 109 'pattern': '.', |
| 110 'action': ['python', |
| 111 'pdfium/build/linux/sysroot_scripts/install-sysroot.py', |
| 112 '--running-as-hook' |
| 113 ], |
| 114 }, |
67 { | 115 { |
68 # A change to a .gyp, .gypi, or to GYP itself should run the generator. | 116 # A change to a .gyp, .gypi, or to GYP itself should run the generator. |
69 'name': 'gyp', | 117 'name': 'gyp', |
70 'pattern': '.', | 118 'pattern': '.', |
71 'action': ['python', 'pdfium/build_gyp/gyp_pdfium'], | 119 'action': ['python', 'pdfium/build_gyp/gyp_pdfium'], |
72 }, | 120 }, |
73 # Pull GN binaries. This needs to be before running GYP below. | 121 # Pull GN binaries. This needs to be before running GYP below. |
74 { | 122 { |
75 'name': 'gn_win', | 123 'name': 'gn_win', |
76 'pattern': '.', | 124 'pattern': '.', |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 '--platform=linux*', | 183 '--platform=linux*', |
136 '--no_auth', | 184 '--no_auth', |
137 '--bucket', 'chromium-clang-format', | 185 '--bucket', 'chromium-clang-format', |
138 '-s', 'pdfium/buildtools/linux64/clang-format.sha1', | 186 '-s', 'pdfium/buildtools/linux64/clang-format.sha1', |
139 ], | 187 ], |
140 }, | 188 }, |
141 { | 189 { |
142 # Pull clang if needed or requested via GYP_DEFINES. | 190 # Pull clang if needed or requested via GYP_DEFINES. |
143 'name': 'clang', | 191 'name': 'clang', |
144 'pattern': '.', | 192 'pattern': '.', |
145 'action': ['python', 'pdfium/tools/clang/scripts/update.py', '--if-needed'], | 193 'action': ['python', |
| 194 'pdfium/tools/clang/scripts/update.py', |
| 195 '--if-needed' |
| 196 ], |
146 }, | 197 }, |
147 ] | 198 ] |
OLD | NEW |