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

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

Issue 2490823003: [NaCl SDK] Update the make_pnacl_component script to GN (Closed)
Patch Set: use x86 instead of ia32 Created 4 years, 1 month 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/build_tools/make_pnacl_component.sh » ('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 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 # Ship with libraries prebuilt, so run that first. 842 # Ship with libraries prebuilt, so run that first.
843 BuildStepBuildLibraries(pepperdir) 843 BuildStepBuildLibraries(pepperdir)
844 GenerateNotice(pepperdir) 844 GenerateNotice(pepperdir)
845 845
846 # Verify the SDK contains what we expect. 846 # Verify the SDK contains what we expect.
847 BuildStepVerifyFilelist(pepperdir) 847 BuildStepVerifyFilelist(pepperdir)
848 848
849 if options.tar: 849 if options.tar:
850 BuildStepTarBundle(pepper_ver, tarfile) 850 BuildStepTarBundle(pepper_ver, tarfile)
851 851
852 # TODO(sbc): Re-enable this once we switch the pnacl component build 852 if platform == 'linux':
853 # from gyp to gn: 853 BuildStepBuildPNaClComponent(pepper_ver, chrome_revision)
854 # https://bugs.chromium.org/p/chromium/issues/detail?id=646241
855 #if platform == 'linux':
856 #BuildStepBuildPNaClComponent(pepper_ver, chrome_revision)
857 854
858 if options.build_app_engine and platform == 'linux': 855 if options.build_app_engine and platform == 'linux':
859 BuildStepBuildAppEngine(pepperdir, chrome_revision) 856 BuildStepBuildAppEngine(pepperdir, chrome_revision)
860 857
861 if options.qemu: 858 if options.qemu:
862 qemudir = os.path.join(NACL_DIR, 'toolchain', 'linux_arm-trusted') 859 qemudir = os.path.join(NACL_DIR, 'toolchain', 'linux_arm-trusted')
863 oshelpers.Copy(['-r', qemudir, pepperdir]) 860 oshelpers.Copy(['-r', qemudir, pepperdir])
864 861
865 # Archive the results on Google Cloud Storage. 862 # Archive the results on Google Cloud Storage.
866 if options.archive: 863 if options.archive:
867 BuildStepArchiveBundle('build', pepper_ver, chrome_revision, nacl_revision, 864 BuildStepArchiveBundle('build', pepper_ver, chrome_revision, nacl_revision,
868 tarfile) 865 tarfile)
869 # Only archive sdk_tools/naclport/pnacl_component on linux. 866 # Only archive sdk_tools/naclport/pnacl_component on linux.
870 if platform == 'linux': 867 if platform == 'linux':
871 BuildStepArchiveSDKTools() 868 BuildStepArchiveSDKTools()
872 #BuildStepArchivePNaClComponent(chrome_revision) 869 #BuildStepArchivePNaClComponent(chrome_revision)
873 870
874 return 0 871 return 0
875 872
876 873
877 if __name__ == '__main__': 874 if __name__ == '__main__':
878 try: 875 try:
879 sys.exit(main(sys.argv[1:])) 876 sys.exit(main(sys.argv[1:]))
880 except KeyboardInterrupt: 877 except KeyboardInterrupt:
881 buildbot_common.ErrorExit('build_sdk: interrupted') 878 buildbot_common.ErrorExit('build_sdk: interrupted')
OLDNEW
« no previous file with comments | « no previous file | native_client_sdk/src/build_tools/make_pnacl_component.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698