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

Unified Diff: dart/create_sdk.gyp

Issue 219113002: Extract create_sdk build rule to own file to avoid cycle. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Break long lines. Created 6 years, 9 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 | dart/dart.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/create_sdk.gyp
diff --git a/dart/create_sdk.gyp b/dart/create_sdk.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..7750c81ab5e7b0d7ea2a4f80cd1430da20a8fc5f
--- /dev/null
+++ b/dart/create_sdk.gyp
@@ -0,0 +1,48 @@
+# Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
+# for details. All rights reserved. Use of this source code is governed by a
+# BSD-style license that can be found in the LICENSE file.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'create_sdk',
+ 'type': 'none',
+ 'dependencies': [
+ 'runtime/dart-runtime.gyp:dart',
+ 'utils/compiler/compiler.gyp:dart2js',
+ 'utils/pub/pub.gyp:pub',
+ 'utils/dartfmt/dartfmt.gyp:dartfmt',
+ 'editor/analyzer.gyp:analyzer',
+ ],
+ 'actions': [
+ {
+ 'action_name': 'create_sdk_py',
+ 'inputs': [
+ '<!@(["python", "tools/list_files.py", "\\.dart$", "sdk/lib"])',
+ '<!@(["python", "tools/list_files.py", "", '
+ '"sdk/lib/_internal/lib/preambles"])',
+ '<!@(["python", "tools/list_files.py", "", "sdk/bin"])',
+ 'tools/create_sdk.py',
+ '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
+ '<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot',
+ '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot',
+ '<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot',
+ '<(PRODUCT_DIR)/dartanalyzer/dartanalyzer.jar',
+ '<(SHARED_INTERMEDIATE_DIR)/dartfmt.dart.snapshot',
+ 'tools/VERSION'
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/dart-sdk/README',
+ ],
+ 'action': [
+ 'python',
+ 'tools/create_sdk.py',
+ '--sdk_output_dir', '<(PRODUCT_DIR)/dart-sdk',
+ '--snapshot_location', '<(SHARED_INTERMEDIATE_DIR)/'
+ ],
+ 'message': 'Creating SDK.',
+ },
+ ],
+ },
+ ],
+}
« no previous file with comments | « no previous file | dart/dart.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698