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

Side by Side Diff: dart/site/try/build_try.gyp

Issue 133893008: Add GYP build rule for Try Dart! (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address comments from Kasper and Martin Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « dart/site/try/app.yaml ('k') | dart/site/try/nossl.appcache » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
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 # Concern: there should really be a dependency on
13 # ../../dart.gyp:create_sdk, but this is reported as a cycle by GYP.
14 ],
15 'actions': [
16 {
17 'action_name': 'sdk_json',
18 'message': 'Creating sdk.json',
19 'inputs': [
20
21 # Depending on this file ensures that the SDK is built before this
22 # action is executed.
23 '<(PRODUCT_DIR)/dart-sdk/README',
24
25 # This dependency is redundant for now, as this directory is
26 # implicitly part of the dependencies for dart-sdk/README.
27 '<!@(["python", "../../tools/list_files.py", "\\.dart$", '
28 '"../../sdk/lib/_internal/compiler/samples/jsonify"])',
29 ],
30 'outputs': [
31 '<(SHARED_INTERMEDIATE_DIR)/sdk.json',
32 ],
33 'action': [
34
35 '<(PRODUCT_DIR)/dart-sdk/bin/'
36 '<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
37
38 '-Dlist_all_libraries=true',
39 '-DoutputJson=true',
40 '../../sdk/lib/_internal/compiler/samples/jsonify/jsonify.dart',
41 '<(SHARED_INTERMEDIATE_DIR)/sdk.json',
42 ],
43 },
44 {
45 'action_name': 'compile',
46 'message': 'Creating leap.dart.js',
47 'inputs': [
48 # Depending on this file ensures that the SDK is built before this
49 # action is executed.
50 '<(PRODUCT_DIR)/dart-sdk/README',
51
52 'leap.dart',
53 ],
54 'outputs': [
55 '<(SHARED_INTERMEDIATE_DIR)/leap.dart.js',
56 ],
57 'action': [
58 '<(PRODUCT_DIR)/dart-sdk/bin/dart2js',
59 '-v',
60 '-Denable_ir=false',
61 'leap.dart',
62 '-o<(SHARED_INTERMEDIATE_DIR)/leap.dart.js',
63 ],
64 },
65 ],
66 'copies': [
67 {
68 # Destination directory.
69 'destination': '<(PRODUCT_DIR)/try_dartlang_org/',
70 # List of files to be copied (creates implicit build dependencies).
71 'files': [
72 'app.yaml',
73
74 'nossl.appcache',
75 'index.html',
76 'dartlang-style.css',
77 'iframe.html',
78 'iframe.js',
79 'dart-icon.png',
80 'dart-iphone5.png',
81
82 '../../third_party/font-awesome/font-awesome-4.0.3/'
83 'fonts/fontawesome-webfont.woff',
84
85 '../../sdk/lib/_internal/dartdoc/static/favicon.ico',
86
87 '<(SHARED_INTERMEDIATE_DIR)/leap.dart.js',
88 '<(SHARED_INTERMEDIATE_DIR)/sdk.json',
89 ],
90 },
91 ],
92 },
93 ],
94 }
OLDNEW
« no previous file with comments | « dart/site/try/app.yaml ('k') | dart/site/try/nossl.appcache » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698