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

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

Issue 308163002: NaCl: Remove nacl_thread.h from NaCl SDK (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | native_client_sdk/src/build_tools/sdk_files.list » ('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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 # Source is relative to top of Chromium tree, destination is relative 235 # Source is relative to top of Chromium tree, destination is relative
236 # to the toolchain header directory. 236 # to the toolchain header directory.
237 NACL_HEADER_MAP = { 237 NACL_HEADER_MAP = {
238 'newlib': [ 238 'newlib': [
239 ('native_client/src/include/nacl/nacl_exception.h', 'nacl/'), 239 ('native_client/src/include/nacl/nacl_exception.h', 'nacl/'),
240 ('native_client/src/include/nacl/nacl_minidump.h', 'nacl/'), 240 ('native_client/src/include/nacl/nacl_minidump.h', 'nacl/'),
241 ('native_client/src/untrusted/irt/irt.h', ''), 241 ('native_client/src/untrusted/irt/irt.h', ''),
242 ('native_client/src/untrusted/irt/irt_dev.h', ''), 242 ('native_client/src/untrusted/irt/irt_dev.h', ''),
243 ('native_client/src/untrusted/nacl/nacl_dyncode.h', 'nacl/'), 243 ('native_client/src/untrusted/nacl/nacl_dyncode.h', 'nacl/'),
244 ('native_client/src/untrusted/nacl/nacl_startup.h', 'nacl/'), 244 ('native_client/src/untrusted/nacl/nacl_startup.h', 'nacl/'),
245 ('native_client/src/untrusted/nacl/nacl_thread.h', 'nacl/'),
246 ('native_client/src/untrusted/pthread/pthread.h', ''), 245 ('native_client/src/untrusted/pthread/pthread.h', ''),
247 ('native_client/src/untrusted/pthread/semaphore.h', ''), 246 ('native_client/src/untrusted/pthread/semaphore.h', ''),
248 ('native_client/src/untrusted/valgrind/dynamic_annotations.h', 'nacl/'), 247 ('native_client/src/untrusted/valgrind/dynamic_annotations.h', 'nacl/'),
249 ('ppapi/nacl_irt/public/irt_ppapi.h', ''), 248 ('ppapi/nacl_irt/public/irt_ppapi.h', ''),
250 ], 249 ],
251 'glibc': [ 250 'glibc': [
252 ('native_client/src/include/nacl/nacl_exception.h', 'nacl/'), 251 ('native_client/src/include/nacl/nacl_exception.h', 'nacl/'),
253 ('native_client/src/include/nacl/nacl_minidump.h', 'nacl/'), 252 ('native_client/src/include/nacl/nacl_minidump.h', 'nacl/'),
254 ('native_client/src/untrusted/irt/irt.h', ''), 253 ('native_client/src/untrusted/irt/irt.h', ''),
255 ('native_client/src/untrusted/irt/irt_dev.h', ''), 254 ('native_client/src/untrusted/irt/irt_dev.h', ''),
256 ('native_client/src/untrusted/nacl/nacl_dyncode.h', 'nacl/'), 255 ('native_client/src/untrusted/nacl/nacl_dyncode.h', 'nacl/'),
257 ('native_client/src/untrusted/nacl/nacl_startup.h', 'nacl/'), 256 ('native_client/src/untrusted/nacl/nacl_startup.h', 'nacl/'),
258 ('native_client/src/untrusted/nacl/nacl_thread.h', 'nacl/'),
259 ('native_client/src/untrusted/valgrind/dynamic_annotations.h', 'nacl/'), 257 ('native_client/src/untrusted/valgrind/dynamic_annotations.h', 'nacl/'),
260 ('ppapi/nacl_irt/public/irt_ppapi.h', ''), 258 ('ppapi/nacl_irt/public/irt_ppapi.h', ''),
261 ], 259 ],
262 'host': [] 260 'host': []
263 } 261 }
264 262
265 def InstallFiles(src_root, dest_root, file_list): 263 def InstallFiles(src_root, dest_root, file_list):
266 """Copy a set of files from src_root to dest_root according 264 """Copy a set of files from src_root to dest_root according
267 to the given mapping. This allows files to be copied from 265 to the given mapping. This allows files to be copied from
268 to a location in the destination tree that is different to the 266 to a location in the destination tree that is different to the
(...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after
1026 BuildStepArchiveSDKTools() 1024 BuildStepArchiveSDKTools()
1027 1025
1028 return 0 1026 return 0
1029 1027
1030 1028
1031 if __name__ == '__main__': 1029 if __name__ == '__main__':
1032 try: 1030 try:
1033 sys.exit(main(sys.argv)) 1031 sys.exit(main(sys.argv))
1034 except KeyboardInterrupt: 1032 except KeyboardInterrupt:
1035 buildbot_common.ErrorExit('build_sdk: interrupted') 1033 buildbot_common.ErrorExit('build_sdk: interrupted')
OLDNEW
« no previous file with comments | « no previous file | native_client_sdk/src/build_tools/sdk_files.list » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698