Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: native_client_sdk/src/build_tools/build_sdk.py

Issue 1245663004: [NaCl SDK] Re-land "Added support for NaCl IO to use the IRT Extension API." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | native_client_sdk/src/libraries/nacl_io/kernel_wrap.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Entry point for both build and try bots. 6 """Entry point for both build and try bots.
7 7
8 This script is invoked from XXX, usually without arguments 8 This script is invoked from XXX, usually without arguments
9 to package an SDK. It automatically determines whether 9 to package an SDK. It automatically determines whether
10 this SDK is for mac, win, linux. 10 this SDK is for mac, win, linux.
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 266
267 # List of toolchain headers to install. 267 # List of toolchain headers to install.
268 # Source is relative to top of Chromium tree, destination is relative 268 # Source is relative to top of Chromium tree, destination is relative
269 # to the toolchain header directory. 269 # to the toolchain header directory.
270 NACL_HEADER_MAP = { 270 NACL_HEADER_MAP = {
271 'newlib': [ 271 'newlib': [
272 ('native_client/src/include/nacl/nacl_exception.h', 'nacl/'), 272 ('native_client/src/include/nacl/nacl_exception.h', 'nacl/'),
273 ('native_client/src/include/nacl/nacl_minidump.h', 'nacl/'), 273 ('native_client/src/include/nacl/nacl_minidump.h', 'nacl/'),
274 ('native_client/src/untrusted/irt/irt.h', ''), 274 ('native_client/src/untrusted/irt/irt.h', ''),
275 ('native_client/src/untrusted/irt/irt_dev.h', ''), 275 ('native_client/src/untrusted/irt/irt_dev.h', ''),
276 ('native_client/src/untrusted/irt/irt_extension.h', ''),
276 ('native_client/src/untrusted/nacl/nacl_dyncode.h', 'nacl/'), 277 ('native_client/src/untrusted/nacl/nacl_dyncode.h', 'nacl/'),
277 ('native_client/src/untrusted/nacl/nacl_startup.h', 'nacl/'), 278 ('native_client/src/untrusted/nacl/nacl_startup.h', 'nacl/'),
278 ('native_client/src/untrusted/pthread/pthread.h', ''), 279 ('native_client/src/untrusted/pthread/pthread.h', ''),
279 ('native_client/src/untrusted/pthread/semaphore.h', ''), 280 ('native_client/src/untrusted/pthread/semaphore.h', ''),
280 ('native_client/src/untrusted/valgrind/dynamic_annotations.h', 'nacl/'), 281 ('native_client/src/untrusted/valgrind/dynamic_annotations.h', 'nacl/'),
281 ('ppapi/nacl_irt/public/irt_ppapi.h', ''), 282 ('ppapi/nacl_irt/public/irt_ppapi.h', ''),
282 ], 283 ],
283 'glibc': [ 284 'glibc': [
284 ('native_client/src/include/nacl/nacl_exception.h', 'nacl/'), 285 ('native_client/src/include/nacl/nacl_exception.h', 'nacl/'),
285 ('native_client/src/include/nacl/nacl_minidump.h', 'nacl/'), 286 ('native_client/src/include/nacl/nacl_minidump.h', 'nacl/'),
286 ('native_client/src/untrusted/irt/irt.h', ''), 287 ('native_client/src/untrusted/irt/irt.h', ''),
287 ('native_client/src/untrusted/irt/irt_dev.h', ''), 288 ('native_client/src/untrusted/irt/irt_dev.h', ''),
289 ('native_client/src/untrusted/irt/irt_extension.h', ''),
288 ('native_client/src/untrusted/nacl/nacl_dyncode.h', 'nacl/'), 290 ('native_client/src/untrusted/nacl/nacl_dyncode.h', 'nacl/'),
289 ('native_client/src/untrusted/nacl/nacl_startup.h', 'nacl/'), 291 ('native_client/src/untrusted/nacl/nacl_startup.h', 'nacl/'),
290 ('native_client/src/untrusted/valgrind/dynamic_annotations.h', 'nacl/'), 292 ('native_client/src/untrusted/valgrind/dynamic_annotations.h', 'nacl/'),
291 ('ppapi/nacl_irt/public/irt_ppapi.h', ''), 293 ('ppapi/nacl_irt/public/irt_ppapi.h', ''),
292 ], 294 ],
293 'bionic': [ 295 'bionic': [
294 ('ppapi/nacl_irt/public/irt_ppapi.h', ''), 296 ('ppapi/nacl_irt/public/irt_ppapi.h', ''),
295 ], 297 ],
296 } 298 }
297 299
(...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after
1156 BuildStepArchivePNaClComponent(chrome_revision) 1158 BuildStepArchivePNaClComponent(chrome_revision)
1157 1159
1158 return 0 1160 return 0
1159 1161
1160 1162
1161 if __name__ == '__main__': 1163 if __name__ == '__main__':
1162 try: 1164 try:
1163 sys.exit(main(sys.argv[1:])) 1165 sys.exit(main(sys.argv[1:]))
1164 except KeyboardInterrupt: 1166 except KeyboardInterrupt:
1165 buildbot_common.ErrorExit('build_sdk: interrupted') 1167 buildbot_common.ErrorExit('build_sdk: interrupted')
OLDNEW
« no previous file with comments | « no previous file | native_client_sdk/src/libraries/nacl_io/kernel_wrap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698