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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
50 'libraries': [ | 50 'libraries': [ |
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 ['OS=="linux" and dart_vtune_support == 1', { | |
Ivan Posva
2012/11/26 04:36:38
I would prefer if we could find a way to deal with
Vyacheslav Egorov (Google)
2012/11/26 15:11:10
Header file and library are required to enable sup
| |
62 # Link in libjitprofiling.a. | |
63 'cflags': [ | |
64 '-DDART_VTUNE_SUPPORT', | |
65 '-I<(dart_vtune_root)/include', | |
66 ], | |
67 'link_settings': { | |
68 'libraries': [ | |
69 '-ljitprofiling', | |
70 ], | |
71 }, | |
72 }]], | |
61 }, | 73 }, |
62 { | 74 { |
63 'target_name': 'libdart_lib_withcore', | 75 'target_name': 'libdart_lib_withcore', |
64 'type': 'static_library', | 76 'type': 'static_library', |
65 'dependencies': [ | 77 'dependencies': [ |
66 'generate_corelib_cc_file', | 78 'generate_corelib_cc_file', |
67 'generate_corelib_patch_cc_file', | 79 'generate_corelib_patch_cc_file', |
68 'generate_collection_cc_file', | 80 'generate_collection_cc_file', |
69 'generate_math_cc_file', | 81 'generate_math_cc_file', |
70 'generate_math_patch_cc_file', | 82 'generate_math_patch_cc_file', |
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
556 '--include', 'INTENTIONALLY_LEFT_BLANK', | 568 '--include', 'INTENTIONALLY_LEFT_BLANK', |
557 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', | 569 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', |
558 '<(snapshot_test_dart_file)', | 570 '<(snapshot_test_dart_file)', |
559 ], | 571 ], |
560 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | 572 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' |
561 }, | 573 }, |
562 ] | 574 ] |
563 }, | 575 }, |
564 ] | 576 ] |
565 } | 577 } |
OLD | NEW |