Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | |
|
kasperl
2014/01/14 15:37:33
2014
ahe
2014/01/15 14:09:38
Done.
| |
| 2 # for details. All rights reserved. Use of this source code is governed by a | |
| 3 # BSD-style license that can be found in the LICENSE | |
| 4 | |
| 5 { | |
| 6 'targets': [ | |
| 7 { | |
| 8 'target_name': 'try_site', | |
| 9 'type': 'none', | |
| 10 'dependencies': [ | |
| 11 '../../runtime/dart-runtime.gyp:dart', | |
| 12 ], | |
| 13 'actions': [ | |
| 14 { | |
| 15 'action_name': 'sdk_json', | |
| 16 'message': 'Creating sdk.json', | |
| 17 'inputs': [ | |
| 18 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | |
| 19 '<(PRODUCT_DIR)/dart-sdk/README', | |
| 20 '<!@(["python", "../../tools/list_files.py", "\\.dart$", ' | |
| 21 '"../../sdk/lib/_internal/compiler/samples/jsonify"])', | |
| 22 ], | |
| 23 'outputs': [ | |
| 24 '<(SHARED_INTERMEDIATE_DIR)/sdk.json', | |
| 25 ], | |
| 26 'action': [ | |
| 27 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | |
| 28 '-Dlist_all_libraries=true', | |
| 29 '-DoutputJson=true', | |
| 30 '../../sdk/lib/_internal/compiler/samples/jsonify/jsonify.dart', | |
| 31 '<(SHARED_INTERMEDIATE_DIR)/sdk.json', | |
| 32 ], | |
| 33 }, | |
| 34 { | |
| 35 'action_name': 'compile', | |
| 36 'message': 'Creating leap.dart.js', | |
| 37 'inputs': [ | |
| 38 'leap.dart', | |
|
kustermann
2014/01/15 01:24:23
This action should not only be executed if "leap.d
ahe
2014/01/15 14:09:38
Yes. I forgot to add a dependency on the SDK build
| |
| 39 ], | |
| 40 'outputs': [ | |
| 41 '<(SHARED_INTERMEDIATE_DIR)/leap.dart.js', | |
| 42 ], | |
| 43 'action': [ | |
| 44 '../../sdk/bin/dart2js', | |
| 45 '-v', | |
| 46 '-Denable_ir=false', | |
| 47 'leap.dart', | |
| 48 '-o<(SHARED_INTERMEDIATE_DIR)/leap.dart.js', | |
| 49 ], | |
| 50 }, | |
| 51 ], | |
| 52 'copies': [ | |
| 53 { | |
| 54 # Destination directory. | |
| 55 'destination': '<(PRODUCT_DIR)/try_dartlang_org/', | |
| 56 # List of files to be copied. | |
| 57 'files': [ | |
| 58 'app.yaml', | |
| 59 | |
| 60 'nossl.appcache', | |
| 61 'index.html', | |
| 62 'dartlang-style.css', | |
| 63 'iframe.html', | |
| 64 'iframe.js', | |
| 65 'dart-icon.png', | |
| 66 'dart-iphone5.png', | |
| 67 | |
| 68 '../../third_party/font-awesome/font-awesome-4.0.3/' | |
| 69 'fonts/fontawesome-webfont.woff', | |
| 70 | |
| 71 '../../sdk/lib/_internal/dartdoc/static/favicon.ico', | |
| 72 | |
| 73 '<(SHARED_INTERMEDIATE_DIR)/leap.dart.js', | |
| 74 '<(SHARED_INTERMEDIATE_DIR)/sdk.json', | |
|
kustermann
2014/01/15 01:24:23
You could add a comment, that 'copies' will make i
ahe
2014/01/15 14:09:38
Done.
| |
| 75 ], | |
| 76 }, | |
| 77 ], | |
| 78 }, | |
| 79 ], | |
| 80 } | |
| OLD | NEW |