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

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

Issue 140153002: Enable "Add to home screen" on Android. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r31888 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 | « no previous file | dart/site/try/dart-icon-196px.png » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 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 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 3 # BSD-style license that can be found in the LICENSE
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'try_site', 8 'target_name': 'try_site',
9 'type': 'none', 9 'type': 'none',
10 'dependencies': [ 10 'dependencies': [
11 '../../runtime/dart-runtime.gyp:dart', 11 '../../runtime/dart-runtime.gyp:dart',
12 # Concern: there should really be a dependency on 12 # Concern: there should really be a dependency on
13 # ../../dart.gyp:create_sdk, but this is reported as a cycle by GYP. 13 # ../../dart.gyp:create_sdk, but this is reported as a cycle by GYP.
14 ], 14 ],
15 'variables': { 15 'variables': {
16 'try_dart_static_files': [ 16 'try_dart_static_files': [
17 'index.html', 17 'index.html',
18 'dartlang-style.css', 18 'dartlang-style.css',
19 'iframe.html', 19 'iframe.html',
20 'iframe.js', 20 'iframe.js',
21 'dart-icon.png', 21 'dart-icon.png', # iOS icon.
22 'dart-iphone5.png', 22 'dart-iphone5.png', # iPhone 5 splash screen.
23 'dart-icon-196px.png', # Android icon.
24 'try-dart-screenshot.png', # Google+ screen shot.
23 25
24 '../../third_party/font-awesome/font-awesome-4.0.3/' 26 '../../third_party/font-awesome/font-awesome-4.0.3/'
25 'fonts/fontawesome-webfont.woff', 27 'fonts/fontawesome-webfont.woff',
26 28
27 '../../sdk/lib/_internal/dartdoc/static/favicon.ico', 29 '../../sdk/lib/_internal/dartdoc/static/favicon.ico',
28 30
29 '<(SHARED_INTERMEDIATE_DIR)/leap.dart.js', 31 '<(SHARED_INTERMEDIATE_DIR)/leap.dart.js',
30 '<(SHARED_INTERMEDIATE_DIR)/sdk.json', 32 '<(SHARED_INTERMEDIATE_DIR)/sdk.json',
31 ], 33 ],
32 }, 34 },
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 '-o<(SHARED_INTERMEDIATE_DIR)/leap.dart.js', 82 '-o<(SHARED_INTERMEDIATE_DIR)/leap.dart.js',
81 ], 83 ],
82 }, 84 },
83 { 85 {
84 'action_name': 'nossl_appcache', 86 'action_name': 'nossl_appcache',
85 'message': 'Creating nossl.appcache', 87 'message': 'Creating nossl.appcache',
86 'inputs': [ 88 'inputs': [
87 'add_time_stamp.py', 89 'add_time_stamp.py',
88 'nossl.appcache', 90 'nossl.appcache',
89 '<@(try_dart_static_files)', 91 '<@(try_dart_static_files)',
92 'build_try.gyp', # If the list of files changed.
90 ], 93 ],
91 'outputs': [ 94 'outputs': [
92 '<(SHARED_INTERMEDIATE_DIR)/nossl.appcache', 95 '<(SHARED_INTERMEDIATE_DIR)/nossl.appcache',
93 ], 96 ],
94 # Try Dart! uses AppCache. Cached files are only validated when the 97 # Try Dart! uses AppCache. Cached files are only validated when the
95 # manifest changes (not its timestamp, but its actual contents). 98 # manifest changes (not its timestamp, but its actual contents).
96 'action': [ 99 'action': [
97 'python', 100 'python',
98 'add_time_stamp.py', 101 'add_time_stamp.py',
99 'nossl.appcache', 102 'nossl.appcache',
100 '<(SHARED_INTERMEDIATE_DIR)/nossl.appcache', 103 '<(SHARED_INTERMEDIATE_DIR)/nossl.appcache',
101 ], 104 ],
102 }, 105 },
103 ], 106 ],
104 'copies': [ 107 'copies': [
105 { 108 {
106 # Destination directory. 109 # Destination directory.
107 'destination': '<(PRODUCT_DIR)/try_dartlang_org/', 110 'destination': '<(PRODUCT_DIR)/try_dartlang_org/',
108 # List of files to be copied (creates implicit build dependencies). 111 # List of files to be copied (creates implicit build dependencies).
109 'files': [ 112 'files': [
110 'app.yaml', 113 'app.yaml',
111 '<@(try_dart_static_files)', 114 '<@(try_dart_static_files)',
112 '<(SHARED_INTERMEDIATE_DIR)/nossl.appcache', 115 '<(SHARED_INTERMEDIATE_DIR)/nossl.appcache',
113 ], 116 ],
114 }, 117 },
115 ], 118 ],
116 }, 119 },
117 ], 120 ],
118 } 121 }
OLDNEW
« no previous file with comments | « no previous file | dart/site/try/dart-icon-196px.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698