| OLD | NEW |
| 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2012, 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 file. | 3 # BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', | 7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', |
| 8 | 8 |
| 9 'io_cc_file': '<(gen_source_dir)/io_gen.cc', | 9 'io_cc_file': '<(gen_source_dir)/io_gen.cc', |
| 10 'io_patch_cc_file': '<(gen_source_dir)/io_patch_gen.cc', | 10 'io_patch_cc_file': '<(gen_source_dir)/io_patch_gen.cc', |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 }, | 204 }, |
| 205 }, | 205 }, |
| 206 }], | 206 }], |
| 207 ], | 207 ], |
| 208 'configurations': { | 208 'configurations': { |
| 209 'Dart_Android_Base': { | 209 'Dart_Android_Base': { |
| 210 'target_conditions': [ | 210 'target_conditions': [ |
| 211 ['_toolset=="target"', { | 211 ['_toolset=="target"', { |
| 212 'defines': [ | 212 'defines': [ |
| 213 # Needed for sources outside of nss that include pr and ssl | 213 # Needed for sources outside of nss that include pr and ssl |
| 214 # header files. | 214 # header files. |
| 215 'MDCPUCFG="md/_linux.cfg"', | 215 'MDCPUCFG="md/_linux.cfg"', |
| 216 ], | 216 ], |
| 217 }], | 217 }], |
| 218 ], | 218 ], |
| 219 }, | 219 }, |
| 220 }, | 220 }, |
| 221 }, | 221 }, |
| 222 { | 222 { |
| 223 'target_name': 'libdart_withcore', | 223 'target_name': 'libdart_withcore', |
| 224 'type': 'static_library', | 224 'type': 'static_library', |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 'type': 'none', | 352 'type': 'none', |
| 353 'toolsets':['host'], | 353 'toolsets':['host'], |
| 354 'includes': [ | 354 'includes': [ |
| 355 'resources_sources.gypi', | 355 'resources_sources.gypi', |
| 356 ], | 356 ], |
| 357 'actions': [ | 357 'actions': [ |
| 358 { | 358 { |
| 359 'action_name': 'generate_resources_cc', | 359 'action_name': 'generate_resources_cc', |
| 360 'inputs': [ | 360 'inputs': [ |
| 361 '../tools/create_resources.py', | 361 '../tools/create_resources.py', |
| 362 # The following two files are used to trigger a rebuild. |
| 363 'bin/vmservice/client/deployed/web/index.html', |
| 364 'bin/vmservice/client/deployed/web/index.html_bootstrap.dart.js', |
| 362 '<@(_sources)', | 365 '<@(_sources)', |
| 363 ], | 366 ], |
| 364 'outputs': [ | 367 'outputs': [ |
| 365 '<(resources_cc_file)', | 368 '<(resources_cc_file)', |
| 366 ], | 369 ], |
| 367 'action': [ | 370 'action': [ |
| 368 'python', | 371 'python', |
| 369 'tools/create_resources.py', | 372 'tools/create_resources.py', |
| 370 '--output', '<(resources_cc_file)', | 373 '--output', '<(resources_cc_file)', |
| 371 '--outer_namespace', 'dart', | 374 '--outer_namespace', 'dart', |
| 372 '--inner_namespace', 'bin', | 375 '--inner_namespace', 'bin', |
| 373 '--table_name', 'service_bin', | 376 '--table_name', 'service_bin', |
| 374 '--root_prefix', 'bin/', | 377 '--root_prefix', 'bin/', |
| 378 '--client_root', 'bin/vmservice/client/deployed/', |
| 375 '<@(_sources)' | 379 '<@(_sources)' |
| 376 ], | 380 ], |
| 377 'message': 'Generating ''<(resources_cc_file)'' file.' | 381 'message': 'Generating ''<(resources_cc_file)'' file.' |
| 378 }, | 382 }, |
| 379 ] | 383 ] |
| 380 }, | 384 }, |
| 381 { | 385 { |
| 382 # dart binary with a snapshot of corelibs built in. | 386 # dart binary with a snapshot of corelibs built in. |
| 383 'target_name': 'dart', | 387 'target_name': 'dart', |
| 384 'type': 'executable', | 388 'type': 'executable', |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 579 }], | 583 }], |
| 580 ['OS=="linux"', { | 584 ['OS=="linux"', { |
| 581 'cflags': [ | 585 'cflags': [ |
| 582 '-fPIC', | 586 '-fPIC', |
| 583 ], | 587 ], |
| 584 }], | 588 }], |
| 585 ], | 589 ], |
| 586 }, | 590 }, |
| 587 ], | 591 ], |
| 588 } | 592 } |
| OLD | NEW |