| OLD | NEW |
| 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2011, 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 'includes': [ | 6 'includes': [ |
| 7 'tools/gyp/runtime-configurations.gypi', | 7 'tools/gyp/runtime-configurations.gypi', |
| 8 'vm/vm.gypi', | 8 'vm/vm.gypi', |
| 9 'observatory/observatory.gypi', | 9 'observatory/observatory.gypi', |
| 10 'bin/bin.gypi', | 10 'bin/bin.gypi', |
| 11 'third_party/double-conversion/src/double-conversion.gypi', | 11 'third_party/double-conversion/src/double-conversion.gypi', |
| 12 ], | 12 ], |
| 13 'variables': { | 13 'variables': { |
| 14 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', | 14 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', |
| 15 'version_in_cc_file': 'vm/version_in.cc', | 15 'version_in_cc_file': 'vm/version_in.cc', |
| 16 'version_cc_file': '<(gen_source_dir)/version.cc', | 16 'version_cc_file': '<(gen_source_dir)/version.cc', |
| 17 | 17 |
| 18 'libdart_deps': ['libdart_lib_nosnapshot', 'libdart_lib', | 18 'libdart_deps': ['libdart_lib_nosnapshot', 'libdart_lib', |
| 19 'libdart_vm_nosnapshot', 'libdart_vm', | 19 'libdart_vm_nosnapshot', 'libdart_vm', |
| 20 'libdart_vm_precompiled_runtime', |
| 20 'libdouble_conversion',], | 21 'libdouble_conversion',], |
| 21 }, | 22 }, |
| 22 'targets': [ | 23 'targets': [ |
| 23 { | 24 { |
| 24 'target_name': 'libdart', | 25 'target_name': 'libdart', |
| 25 'type': 'static_library', | 26 'type': 'static_library', |
| 26 'dependencies': [ | 27 'dependencies': [ |
| 27 'libdart_lib', | 28 'libdart_lib', |
| 28 'libdart_vm', | 29 'libdart_vm', |
| 29 'libdouble_conversion', | 30 'libdouble_conversion', |
| (...skipping 18 matching lines...) Expand all Loading... |
| 48 # The only effect of DART_SHARED_LIB is to export the Dart API entries. | 49 # The only effect of DART_SHARED_LIB is to export the Dart API entries. |
| 49 'DART_SHARED_LIB', | 50 'DART_SHARED_LIB', |
| 50 ], | 51 ], |
| 51 'direct_dependent_settings': { | 52 'direct_dependent_settings': { |
| 52 'include_dirs': [ | 53 'include_dirs': [ |
| 53 'include', | 54 'include', |
| 54 ], | 55 ], |
| 55 }, | 56 }, |
| 56 }, | 57 }, |
| 57 { | 58 { |
| 58 'target_name': 'libdart_precompiled', | 59 'target_name': 'libdart_precompiled_runtime', |
| 59 'type': 'static_library', | 60 'type': 'static_library', |
| 60 'dependencies': [ | 61 'dependencies': [ |
| 61 'libdart_lib', | 62 'libdart_lib', |
| 62 'libdart_vm_precompiled', | 63 'libdart_vm_precompiled_runtime', |
| 63 'libdouble_conversion', | 64 'libdouble_conversion', |
| 64 'generate_version_cc_file#host', | 65 'generate_version_cc_file#host', |
| 65 ], | 66 ], |
| 66 'include_dirs': [ | 67 'include_dirs': [ |
| 67 '.', | 68 '.', |
| 68 ], | 69 ], |
| 69 'sources': [ | 70 'sources': [ |
| 70 'include/dart_api.h', | 71 'include/dart_api.h', |
| 71 'include/dart_mirrors_api.h', | 72 'include/dart_mirrors_api.h', |
| 72 'include/dart_native_api.h', | 73 'include/dart_native_api.h', |
| 73 'include/dart_tools_api.h', | 74 'include/dart_tools_api.h', |
| 74 'vm/dart_api_impl.cc', | 75 'vm/dart_api_impl.cc', |
| 75 'vm/debugger_api_impl.cc', | 76 'vm/debugger_api_impl.cc', |
| 76 'vm/mirrors_api_impl.cc', | 77 'vm/mirrors_api_impl.cc', |
| 77 'vm/native_api_impl.cc', | 78 'vm/native_api_impl.cc', |
| 78 'vm/version.h', | 79 'vm/version.h', |
| 79 '<(version_cc_file)', | 80 '<(version_cc_file)', |
| 80 ], | 81 ], |
| 81 'defines': [ | 82 'defines': [ |
| 82 # The only effect of DART_SHARED_LIB is to export the Dart API entries. | 83 # The only effect of DART_SHARED_LIB is to export the Dart API entries. |
| 83 'DART_SHARED_LIB', | 84 'DART_SHARED_LIB', |
| 84 'DART_PRECOMPILED', | 85 'DART_PRECOMPILED_RUNTIME', |
| 85 ], | 86 ], |
| 86 'direct_dependent_settings': { | 87 'direct_dependent_settings': { |
| 87 'include_dirs': [ | 88 'include_dirs': [ |
| 88 'include', | 89 'include', |
| 89 ], | 90 ], |
| 90 }, | 91 }, |
| 91 }, | 92 }, |
| 92 { | 93 { |
| 93 'target_name': 'generate_version_cc_file', | 94 'target_name': 'generate_version_cc_file', |
| 94 'type': 'none', | 95 'type': 'none', |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 }], | 191 }], |
| 191 ['OS=="linux"', { | 192 ['OS=="linux"', { |
| 192 'cflags': [ | 193 'cflags': [ |
| 193 '-fPIC', | 194 '-fPIC', |
| 194 ], | 195 ], |
| 195 }], | 196 }], |
| 196 ], | 197 ], |
| 197 }, | 198 }, |
| 198 ], | 199 ], |
| 199 } | 200 } |
| OLD | NEW |