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 'buildtools_revision': 'c2f259809d5ede3275df5ea0842f0431990c4f98', |
8 'cygwin_revision': 'c89e446b273697fadf3a10ff1007a97c0b7de6df', | 8 'cygwin_revision': 'c89e446b273697fadf3a10ff1007a97c0b7de6df', |
9 'gmock_revision': '29763965ab52f24565299976b936d1265cb6a271', | 9 'gmock_revision': '29763965ab52f24565299976b936d1265cb6a271', |
10 'gtest_revision': '8245545b6dc9c4703e6496d1efd19e975ad2b038', | 10 'gtest_revision': '8245545b6dc9c4703e6496d1efd19e975ad2b038', |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 '+third_party/base', | 62 '+third_party/base', |
63 ] | 63 ] |
64 | 64 |
65 hooks = [ | 65 hooks = [ |
66 { | 66 { |
67 # A change to a .gyp, .gypi, or to GYP itself should run the generator. | 67 # A change to a .gyp, .gypi, or to GYP itself should run the generator. |
68 'name': 'gyp', | 68 'name': 'gyp', |
69 'pattern': '.', | 69 'pattern': '.', |
70 'action': ['python', 'pdfium/build/gyp_pdfium'], | 70 'action': ['python', 'pdfium/build/gyp_pdfium'], |
71 }, | 71 }, |
| 72 # Pull GN binaries. This needs to be before running GYP below. |
| 73 { |
| 74 'name': 'gn_win', |
| 75 'pattern': '.', |
| 76 'action': [ 'download_from_google_storage', |
| 77 '--no_resume', |
| 78 '--platform=win32', |
| 79 '--no_auth', |
| 80 '--bucket', 'chromium-gn', |
| 81 '-s', 'pdfium/buildtools/win/gn.exe.sha1', |
| 82 ], |
| 83 }, |
| 84 { |
| 85 'name': 'gn_mac', |
| 86 'pattern': '.', |
| 87 'action': [ 'download_from_google_storage', |
| 88 '--no_resume', |
| 89 '--platform=darwin', |
| 90 '--no_auth', |
| 91 '--bucket', 'chromium-gn', |
| 92 '-s', 'pdfium/buildtools/mac/gn.sha1', |
| 93 ], |
| 94 }, |
| 95 { |
| 96 'name': 'gn_linux64', |
| 97 'pattern': '.', |
| 98 'action': [ 'download_from_google_storage', |
| 99 '--no_resume', |
| 100 '--platform=linux*', |
| 101 '--no_auth', |
| 102 '--bucket', 'chromium-gn', |
| 103 '-s', 'pdfium/buildtools/linux64/gn.sha1', |
| 104 ], |
| 105 }, |
72 # Pull clang-format binaries using checked-in hashes. | 106 # Pull clang-format binaries using checked-in hashes. |
73 { | 107 { |
74 'name': 'clang_format_win', | 108 'name': 'clang_format_win', |
75 'pattern': '.', | 109 'pattern': '.', |
76 'action': [ 'download_from_google_storage', | 110 'action': [ 'download_from_google_storage', |
77 '--no_resume', | 111 '--no_resume', |
78 '--platform=win32', | 112 '--platform=win32', |
79 '--no_auth', | 113 '--no_auth', |
80 '--bucket', 'chromium-clang-format', | 114 '--bucket', 'chromium-clang-format', |
81 '-s', 'pdfium/buildtools/win/clang-format.exe.sha1', | 115 '-s', 'pdfium/buildtools/win/clang-format.exe.sha1', |
(...skipping 21 matching lines...) Expand all Loading... |
103 '-s', 'pdfium/buildtools/linux64/clang-format.sha1', | 137 '-s', 'pdfium/buildtools/linux64/clang-format.sha1', |
104 ], | 138 ], |
105 }, | 139 }, |
106 { | 140 { |
107 # Pull clang if needed or requested via GYP_DEFINES. | 141 # Pull clang if needed or requested via GYP_DEFINES. |
108 'name': 'clang', | 142 'name': 'clang', |
109 'pattern': '.', | 143 'pattern': '.', |
110 'action': ['python', 'pdfium/tools/clang/scripts/update.py', '--if-needed'], | 144 'action': ['python', 'pdfium/tools/clang/scripts/update.py', '--if-needed'], |
111 }, | 145 }, |
112 ] | 146 ] |
OLD | NEW |