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

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

Issue 11882012: Convert all project to use common.mk (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 7 years, 11 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/build_tools/build_sdk.py » ('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_examples.py
diff --git a/native_client_sdk/src/build_tools/build_examples.py b/native_client_sdk/src/build_tools/build_examples.py
index f358e202f4914fbae6965ff643daac07325f1635..0e985212d03507d6af31dbe1c1bab7e162fee326 100755
--- a/native_client_sdk/src/build_tools/build_examples.py
+++ b/native_client_sdk/src/build_tools/build_examples.py
@@ -17,6 +17,9 @@ import getos
def main(args):
parser = optparse.OptionParser()
+ parser.add_option('--copy',
+ help='Only copy the files, don\'t build.',
+ action='store_true' )
parser.add_option('--clobber-examples',
help='Don\'t examples directory before copying new files',
action='store_true' )
@@ -48,13 +51,17 @@ def main(args):
build_sdk.options = options
+ build_sdk.BuildStepCopyBuildHelpers(pepperdir, platform)
build_sdk.BuildStepCopyExamples(pepperdir, toolchains, options.experimental,
options.clobber_examples)
+ test_sdk.BuildStepCopyTests(pepperdir, toolchains, options.experimental,
+ options.clobber_examples)
+ if options.copy:
+ return 0
+
# False = don't clean after building the libraries directory.
build_sdk.BuildStepBuildLibraries(pepperdir, platform, 'src', False)
test_sdk.BuildStepBuildExamples(pepperdir, platform)
- test_sdk.BuildStepCopyTests(pepperdir, toolchains, options.experimental,
- options.clobber_examples)
test_sdk.BuildStepBuildTests(pepperdir, platform)
if options.test_examples:
test_sdk.BuildStepRunPyautoTests(pepperdir, platform, pepper_ver)
« no previous file with comments | « no previous file | native_client_sdk/src/build_tools/build_sdk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698