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 'libgen_in_cc_file': '../lib/libgen_in.cc', | 8 'libgen_in_cc_file': '../lib/libgen_in.cc', |
9 'builtin_in_cc_file': '../bin/builtin_in.cc', | 9 'builtin_in_cc_file': '../bin/builtin_in.cc', |
10 'async_cc_file': '<(gen_source_dir)/async_gen.cc', | 10 'async_cc_file': '<(gen_source_dir)/async_gen.cc', |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 'libraries': ['-ljitprofiling'], | 96 'libraries': ['-ljitprofiling'], |
97 }], | 97 }], |
98 ['OS=="win"', { | 98 ['OS=="win"', { |
99 'libraries': ['-ljitprofiling.lib'], | 99 'libraries': ['-ljitprofiling.lib'], |
100 }], | 100 }], |
101 ], | 101 ], |
102 }, | 102 }, |
103 }]], | 103 }]], |
104 }, | 104 }, |
105 { | 105 { |
106 'target_name': 'libdart_lib_withcore', | 106 'target_name': 'libdart_vm_nosnapshot', |
| 107 'type': 'static_library', |
| 108 'toolsets':['host', 'target'], |
| 109 'dependencies': [ |
| 110 'generate_service_cc_file#host' |
| 111 ], |
| 112 'includes': [ |
| 113 'vm_sources.gypi', |
| 114 '../platform/platform_headers.gypi', |
| 115 '../platform/platform_sources.gypi', |
| 116 ], |
| 117 'sources': [ |
| 118 # Include generated source files. |
| 119 '<(service_cc_file)', |
| 120 ], |
| 121 'sources/': [ |
| 122 # Exclude all _test.[cc|h] files. |
| 123 ['exclude', '_test\\.(cc|h)$'], |
| 124 ], |
| 125 'include_dirs': [ |
| 126 '..', |
| 127 ], |
| 128 'defines': [ |
| 129 'DART_NO_SNAPSHOT', |
| 130 ], |
| 131 'conditions': [ |
| 132 ['OS=="linux"', { |
| 133 'link_settings': { |
| 134 'libraries': [ |
| 135 '-lpthread', |
| 136 '-lrt', |
| 137 '-ldl', |
| 138 ], |
| 139 }, |
| 140 }], |
| 141 ['OS=="android" and _toolset=="host"', { |
| 142 'link_settings': { |
| 143 'libraries': [ |
| 144 '-lpthread', |
| 145 '-lrt', |
| 146 '-ldl', |
| 147 ], |
| 148 }, |
| 149 }], |
| 150 ['OS=="win"', { |
| 151 'sources/' : [ |
| 152 ['exclude', 'gdbjit.cc'], |
| 153 ], |
| 154 }], |
| 155 ['dart_vtune_support==0', { |
| 156 'sources/' : [ |
| 157 ['exclude', 'vtune\\.(cc|h)$'], |
| 158 ], |
| 159 }], |
| 160 ['dart_vtune_support==1', { |
| 161 'include_dirs': ['<(dart_vtune_root)/include'], |
| 162 'defines': ['DART_VTUNE_SUPPORT'], |
| 163 'link_settings': { |
| 164 'conditions': [ |
| 165 ['OS=="linux"', { |
| 166 'libraries': ['-ljitprofiling'], |
| 167 }], |
| 168 ['OS=="win"', { |
| 169 'libraries': ['-ljitprofiling.lib'], |
| 170 }], |
| 171 ], |
| 172 }, |
| 173 }]], |
| 174 }, |
| 175 { |
| 176 'target_name': 'libdart_lib_nosnapshot', |
107 'type': 'static_library', | 177 'type': 'static_library', |
108 'toolsets':['host', 'target'], | 178 'toolsets':['host', 'target'], |
109 'dependencies': [ | 179 'dependencies': [ |
110 'generate_async_cc_file#host', | 180 'generate_async_cc_file#host', |
111 'generate_async_patch_cc_file#host', | 181 'generate_async_patch_cc_file#host', |
112 'generate_core_cc_file#host', | 182 'generate_core_cc_file#host', |
113 'generate_core_patch_cc_file#host', | 183 'generate_core_patch_cc_file#host', |
114 'generate_collection_cc_file#host', | 184 'generate_collection_cc_file#host', |
115 'generate_collection_patch_cc_file#host', | 185 'generate_collection_patch_cc_file#host', |
116 'generate_convert_cc_file#host', | 186 'generate_convert_cc_file#host', |
(...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1127 '--table_name', 'service', | 1197 '--table_name', 'service', |
1128 '--root_prefix', 'vm/service/', | 1198 '--root_prefix', 'vm/service/', |
1129 '<@(_sources)' | 1199 '<@(_sources)' |
1130 ], | 1200 ], |
1131 'message': 'Generating ''<(service_cc_file)'' file.' | 1201 'message': 'Generating ''<(service_cc_file)'' file.' |
1132 }, | 1202 }, |
1133 ] | 1203 ] |
1134 }, | 1204 }, |
1135 ] | 1205 ] |
1136 } | 1206 } |
OLD | NEW |