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

Unified Diff: native_client_sdk/src/build_tools/build_sdk.py

Issue 10260032: Missing .exe in windows build. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | native_client_sdk/src/sdktry.bat » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/build_tools/build_sdk.py
===================================================================
--- native_client_sdk/src/build_tools/build_sdk.py (revision 134719)
+++ native_client_sdk/src/build_tools/build_sdk.py (working copy)
@@ -558,6 +558,7 @@
parser.error('Incompatible arguments with archive.')
pepper_ver = str(int(build_utils.ChromeMajorVersion()))
+ pepper_old = str(int(build_utils.ChromeMajorVersion()) - 1)
clnumber = lastchange.FetchVersionInfo(None).revision
if options.release:
pepper_ver = options.release
@@ -568,9 +569,11 @@
buildbot_common.Run(['gclient', 'runhooks'],
cwd=SRC_DIR, shell=(platform=='win'))
+ buildbot_common.BuildStep('Clean Pepper Dirs')
pepperdir = os.path.join(SRC_DIR, 'out', 'pepper_' + pepper_ver)
+ pepperold = os.path.join(SRC_DIR, 'out', 'pepper_' + pepper_old)
+ buildbot_common.RemoveDir(pepperold)
if not skip_untar:
- buildbot_common.BuildStep('Clean Pepper Dir')
buildbot_common.RemoveDir(pepperdir)
buildbot_common.MakeDir(os.path.join(pepperdir, 'toolchain'))
buildbot_common.MakeDir(os.path.join(pepperdir, 'tools'))
@@ -599,6 +602,13 @@
buildbot_common.BuildStep('Add MAKE')
http_download.HttpDownload(GSTORE + MAKE,
os.path.join(pepperdir, 'tools' ,'make.exe'))
+ rename_list = ['ncval_x86_32', 'ncval_x86_64',
+ 'sel_ldr_x86_32', 'sel_ldr_x86_64']
+ tools = os.path.join(pepperdir, 'tools')
+ for name in rename_list:
+ src = os.path.join(pepperdir, 'tools', name)
+ dst = os.path.join(pepperdir, 'tools', name + '.exe')
+ buildbot_common.Move(src, dst)
if not skip_examples:
CopyExamples(pepperdir, toolchains)
« no previous file with comments | « no previous file | native_client_sdk/src/sdktry.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698