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

Unified Diff: dart.gyp

Issue 11343027: Make the editor build callable from tools/build.py (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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 | editor/tools/features/com.google.dart.tools.deploy.feature_releng/build-common.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart.gyp
===================================================================
--- dart.gyp (revision 14225)
+++ dart.gyp (working copy)
@@ -110,6 +110,36 @@
],
},
{
+ 'target_name': 'editor',
+ 'type': 'none',
+ 'dependencies': [
+ 'create_sdk',
+ ],
+ 'actions': [
+ {
+ 'action_name': 'build_editor_py',
+ 'inputs': [
+ 'tools/VERSION',
+ 'tools/build_editor.py',
+ '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
+ '<!@(["python", "tools/list_files.py", "\\.(css|html|png|gif|xml|properties)$", "editor/tools"])',
+ # This produces too many input files for gyp.
+ #'<!@(["python", "tools/list_files.py", "\\.java$", "editor/tools/plugins"])',
devoncarew 2012/10/31 01:20:17 Currently we always run the build_editor_py action
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/editor/VERSION',
+ # We never create this file - the build_editor_py action is always run.
+ '<(PRODUCT_DIR)/editor/foobar.txt',
+ ],
+ 'action': [
+ 'python',
+ 'tools/build_editor.py',
+ '<(PRODUCT_DIR)/editor',
+ ],
+ },
+ ],
+ },
+ {
'target_name': 'samples',
'type': 'none',
'dependencies': [
« no previous file with comments | « no previous file | editor/tools/features/com.google.dart.tools.deploy.feature_releng/build-common.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698