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

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

Issue 1141003002: Move linux sysroots from chrome/installer/linux to build/linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after
1081 pepper_ver = options.release 1081 pepper_ver = options.release
1082 print 'Building PEPPER %s at %s' % (pepper_ver, chrome_revision) 1082 print 'Building PEPPER %s at %s' % (pepper_ver, chrome_revision)
1083 1083
1084 if 'NACL_SDK_ROOT' in os.environ: 1084 if 'NACL_SDK_ROOT' in os.environ:
1085 # We don't want the currently configured NACL_SDK_ROOT to have any effect 1085 # We don't want the currently configured NACL_SDK_ROOT to have any effect
1086 # of the build. 1086 # of the build.
1087 del os.environ['NACL_SDK_ROOT'] 1087 del os.environ['NACL_SDK_ROOT']
1088 1088
1089 if platform == 'linux': 1089 if platform == 'linux':
1090 # Linux-only: make sure the debian/stable sysroot image is installed 1090 # Linux-only: make sure the debian/stable sysroot image is installed
1091 install_script = os.path.join(SRC_DIR, 'chrome', 'installer', 'linux', 1091 install_script = os.path.join(SRC_DIR, 'build', 'linux', 'sysroot_scripts',
1092 'sysroot_scripts', 1092 'install-sysroot.py')
1093 'install-debian.wheezy.sysroot.py')
1094 1093
1095 buildbot_common.Run([sys.executable, install_script, '--arch=arm']) 1094 buildbot_common.Run([sys.executable, install_script, '--arch=arm'])
1096 buildbot_common.Run([sys.executable, install_script, '--arch=i386']) 1095 buildbot_common.Run([sys.executable, install_script, '--arch=i386'])
1097 buildbot_common.Run([sys.executable, install_script, '--arch=amd64']) 1096 buildbot_common.Run([sys.executable, install_script, '--arch=amd64'])
1098 1097
1099 if not options.skip_toolchain: 1098 if not options.skip_toolchain:
1100 BuildStepCleanPepperDirs(pepperdir, pepperdir_old) 1099 BuildStepCleanPepperDirs(pepperdir, pepperdir_old)
1101 BuildStepMakePepperDirs(pepperdir, ['include', 'toolchain', 'tools']) 1100 BuildStepMakePepperDirs(pepperdir, ['include', 'toolchain', 'tools'])
1102 BuildStepDownloadToolchains(toolchains) 1101 BuildStepDownloadToolchains(toolchains)
1103 if options.nacl_tree_path: 1102 if options.nacl_tree_path:
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
1187 BuildStepArchivePNaClComponent() 1186 BuildStepArchivePNaClComponent()
1188 1187
1189 return 0 1188 return 0
1190 1189
1191 1190
1192 if __name__ == '__main__': 1191 if __name__ == '__main__':
1193 try: 1192 try:
1194 sys.exit(main(sys.argv[1:])) 1193 sys.exit(main(sys.argv[1:]))
1195 except KeyboardInterrupt: 1194 except KeyboardInterrupt:
1196 buildbot_common.ErrorExit('build_sdk: interrupted') 1195 buildbot_common.ErrorExit('build_sdk: interrupted')
OLDNEW
« DEPS ('K') | « chrome/installer/linux/sysroot_scripts/sysroot-creator-wheezy.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698