| 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 'builtin_in_cc_file': '../bin/builtin_in.cc', | 7 'builtin_in_cc_file': '../bin/builtin_in.cc', |
| 8 'corelib_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_gen.cc', | 8 'corelib_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_gen.cc', |
| 9 'corelib_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_patch_gen.cc', | 9 'corelib_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_patch_gen.cc', |
| 10 'collection_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_gen.cc', | 10 'collection_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_gen.cc', |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 '-lpthread', | 51 '-lpthread', |
| 52 '-lrt', | 52 '-lrt', |
| 53 ], | 53 ], |
| 54 }, | 54 }, |
| 55 }], | 55 }], |
| 56 ['OS=="win"', { | 56 ['OS=="win"', { |
| 57 'sources/' : [ | 57 'sources/' : [ |
| 58 ['exclude', 'gdbjit.cc'], | 58 ['exclude', 'gdbjit.cc'], |
| 59 ], | 59 ], |
| 60 }], | 60 }], |
| 61 ['dart_vtune_support == 0', { | 61 ['dart_vtune_support==0', { |
| 62 'sources/' : [ | 62 'sources/' : [ |
| 63 ['exclude', 'vtune\\.(cc|h)$'], | 63 ['exclude', 'vtune\\.(cc|h)$'], |
| 64 ], | 64 ], |
| 65 }], | 65 }], |
| 66 ['OS=="linux" and dart_vtune_support == 1', { | 66 ['dart_vtune_support==1', { |
| 67 # Link in libjitprofiling.a. | 67 'include_dirs': ['<(dart_vtune_root)/include'], |
| 68 'cflags': [ | 68 'defines': ['DART_VTUNE_SUPPORT'], |
| 69 '-DDART_VTUNE_SUPPORT', | |
| 70 '-I<(dart_vtune_root)/include', | |
| 71 ], | |
| 72 'link_settings': { | 69 'link_settings': { |
| 73 'libraries': [ | 70 'conditions': [ |
| 74 '-ljitprofiling', | 71 ['OS=="linux"', { |
| 72 'libraries': ['-ljitprofiling'], |
| 73 }], |
| 74 ['OS=="win"', { |
| 75 'libraries': ['-ljitprofiling.lib'], |
| 76 }], |
| 75 ], | 77 ], |
| 76 }, | 78 }, |
| 77 }]], | 79 }]], |
| 78 }, | 80 }, |
| 79 { | 81 { |
| 80 'target_name': 'libdart_lib_withcore', | 82 'target_name': 'libdart_lib_withcore', |
| 81 'type': 'static_library', | 83 'type': 'static_library', |
| 82 'dependencies': [ | 84 'dependencies': [ |
| 83 'generate_corelib_cc_file', | 85 'generate_corelib_cc_file', |
| 84 'generate_corelib_patch_cc_file', | 86 'generate_corelib_patch_cc_file', |
| (...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 688 '--include', 'INTENTIONALLY_LEFT_BLANK', | 690 '--include', 'INTENTIONALLY_LEFT_BLANK', |
| 689 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', | 691 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', |
| 690 '<(snapshot_test_dart_file)', | 692 '<(snapshot_test_dart_file)', |
| 691 ], | 693 ], |
| 692 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | 694 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' |
| 693 }, | 695 }, |
| 694 ] | 696 ] |
| 695 }, | 697 }, |
| 696 ] | 698 ] |
| 697 } | 699 } |
| OLD | NEW |