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

Side by Side Diff: fletch.gyp

Issue 1209033003: Work in progres, please take a look and give early feedback if this is the way we want to structure… (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: address comments Created 5 years, 5 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
« no previous file with comments | « no previous file | lib/ffi/ffi.dart » ('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) 2015, the Fletch project authors. Please see the AUTHORS file 1 # Copyright (c) 2015, the Fletch 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.md file. 3 # BSD-style license that can be found in the LICENSE.md file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'mac_asan_dylib': '<(PRODUCT_DIR)/libclang_rt.asan_osx_dynamic.dylib', 7 'mac_asan_dylib': '<(PRODUCT_DIR)/libclang_rt.asan_osx_dynamic.dylib',
8 }, 8 },
9 9
10 'targets': [ 10 'targets': [
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 ], 204 ],
205 'action': [ 205 'action': [
206 "bash", "-c", 206 "bash", "-c",
207 "<(_inputs) && LANG=POSIX date '+Test passed on %+' > " 207 "<(_inputs) && LANG=POSIX date '+Test passed on %+' > "
208 "<(_outputs)", 208 "<(_outputs)",
209 ], 209 ],
210 }, 210 },
211 ], 211 ],
212 }, 212 },
213 { 213 {
214 'target_name': 'run_myapi_test',
215 # Note: this target_name needs to be different from its dependency.
216 # This is due to the ninja GYP generator which doesn't generate unique
217 # names.
218 'type': 'none',
219 'dependencies': [
220 'src/vm/vm.gyp:fletch-vm',
221 'copy_dart#host',
222 'samples/myapi/myapi.gyp:myapi_test',
223 'copy_asan',
224 ],
225 'actions': [
226 {
227 'action_name': 'generate_myapi_snapshot',
228 'command': [
229 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
230 '-p',
231 '<(PRODUCT_DIR)/../../package/',
232 '<(PRODUCT_DIR)/../../pkg/fletchc/lib/fletchc.dart',
233 'samples/myapi/generated/myapi_service_impl.dart',
234 ],
235 'inputs': [
236 '<(mac_asan_dylib)',
237 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
238 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)fletch-vm<(EXECUTABLE_SUFFIX)',
239 # TODO(ahe): Also depend on .dart files in the core libraries.
240 'samples/myapi/myapi_impl.dart',
241 'samples/myapi/generated/dart/myapi_service.dart',
242 ],
243 'outputs': [
244 '<(SHARED_INTERMEDIATE_DIR)/myapi.snapshot',
245 ],
246 'action': [
247 '<@(_command)',
248 '--out',
249 '<(SHARED_INTERMEDIATE_DIR)/myapi.snapshot',
250 ],
251 },
252 {
253 'action_name': 'run_myapi_test',
254 'inputs': [
255 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)'
256 'myapi_test'
257 '<(EXECUTABLE_SUFFIX)',
258 '<(SHARED_INTERMEDIATE_DIR)/myapi.snapshot',
259 ],
260 'outputs': [
261 '<(PRODUCT_DIR)/test_outcomes/myapi_test.pass',
262 ],
263 'action': [
264 "bash", "-c",
265 "<(_inputs) && LANG=POSIX date '+Test passed on %+' > "
266 "<(_outputs)",
267 ],
268 },
269 ],
270 },
271 {
272 'target_name': 'run_todomvc_sample', 214 'target_name': 'run_todomvc_sample',
273 # Note: this target_name needs to be different from its dependency. 215 # Note: this target_name needs to be different from its dependency.
274 # This is due to the ninja GYP generator which doesn't generate unique 216 # This is due to the ninja GYP generator which doesn't generate unique
275 # names. 217 # names.
276 'type': 'none', 218 'type': 'none',
277 'dependencies': [ 219 'dependencies': [
278 'src/vm/vm.gyp:fletch-vm', 220 'src/vm/vm.gyp:fletch-vm',
279 'copy_dart#host', 221 'copy_dart#host',
280 'samples/todomvc/todomvc.gyp:todomvc_sample', 222 'samples/todomvc/todomvc.gyp:todomvc_sample',
281 'copy_asan', 223 'copy_asan',
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 { 312 {
371 'destination': '<(PRODUCT_DIR)', 313 'destination': '<(PRODUCT_DIR)',
372 'files': [ 314 'files': [
373 'third_party/bin/<(OS)/dart', 315 'third_party/bin/<(OS)/dart',
374 ], 316 ],
375 }, 317 },
376 ], 318 ],
377 }, 319 },
378 ], 320 ],
379 } 321 }
OLDNEW
« no previous file with comments | « no previous file | lib/ffi/ffi.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698