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

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

Issue 139513003: Add timestamp to AppCache manifest. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Implement Martin's suggestions. 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/add_time_stamp.py ('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
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': {
16 'try_dart_static_files': [
17 'index.html',
18 'dartlang-style.css',
19 'iframe.html',
20 'iframe.js',
21 'dart-icon.png',
22 'dart-iphone5.png',
23
24 '../../third_party/font-awesome/font-awesome-4.0.3/'
25 'fonts/fontawesome-webfont.woff',
26
27 '../../sdk/lib/_internal/dartdoc/static/favicon.ico',
28
29 '<(SHARED_INTERMEDIATE_DIR)/leap.dart.js',
30 '<(SHARED_INTERMEDIATE_DIR)/sdk.json',
31 ],
32 },
15 'actions': [ 33 'actions': [
16 { 34 {
17 'action_name': 'sdk_json', 35 'action_name': 'sdk_json',
18 'message': 'Creating sdk.json', 36 'message': 'Creating sdk.json',
19 'inputs': [ 37 'inputs': [
20 38
21 # Depending on this file ensures that the SDK is built before this 39 # Depending on this file ensures that the SDK is built before this
22 # action is executed. 40 # action is executed.
23 '<(PRODUCT_DIR)/dart-sdk/README', 41 '<(PRODUCT_DIR)/dart-sdk/README',
24 42
(...skipping 30 matching lines...) Expand all
55 '<(SHARED_INTERMEDIATE_DIR)/leap.dart.js', 73 '<(SHARED_INTERMEDIATE_DIR)/leap.dart.js',
56 ], 74 ],
57 'action': [ 75 'action': [
58 '<(PRODUCT_DIR)/dart-sdk/bin/dart2js', 76 '<(PRODUCT_DIR)/dart-sdk/bin/dart2js',
59 '-v', 77 '-v',
60 '-Denable_ir=false', 78 '-Denable_ir=false',
61 'src/leap.dart', 79 'src/leap.dart',
62 '-o<(SHARED_INTERMEDIATE_DIR)/leap.dart.js', 80 '-o<(SHARED_INTERMEDIATE_DIR)/leap.dart.js',
63 ], 81 ],
64 }, 82 },
83 {
84 'action_name': 'nossl_appcache',
85 'message': 'Creating nossl.appcache',
86 'inputs': [
87 'add_time_stamp.py',
88 'nossl.appcache',
89 '<@(try_dart_static_files)',
90 ],
91 'outputs': [
92 '<(SHARED_INTERMEDIATE_DIR)/nossl.appcache',
93 ],
94 # Try Dart! uses AppCache. Cached files are only validated when the
95 # manifest changes (not its timestamp, but its actual contents).
96 'action': [
97 'python',
98 'add_time_stamp.py',
99 'nossl.appcache',
100 '<(SHARED_INTERMEDIATE_DIR)/nossl.appcache',
101 ],
102 },
65 ], 103 ],
66 'copies': [ 104 'copies': [
67 { 105 {
68 # Destination directory. 106 # Destination directory.
69 'destination': '<(PRODUCT_DIR)/try_dartlang_org/', 107 'destination': '<(PRODUCT_DIR)/try_dartlang_org/',
70 # List of files to be copied (creates implicit build dependencies). 108 # List of files to be copied (creates implicit build dependencies).
71 'files': [ 109 'files': [
72 'app.yaml', 110 'app.yaml',
73 111 '<@(try_dart_static_files)',
74 'nossl.appcache', 112 '<(SHARED_INTERMEDIATE_DIR)/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 ], 113 ],
90 }, 114 },
91 ], 115 ],
92 }, 116 },
93 ], 117 ],
94 } 118 }
OLDNEW
« no previous file with comments | « dart/site/try/add_time_stamp.py ('k') | dart/site/try/nossl.appcache » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698