Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(346)

Side by Side Diff: runtime/dart-runtime.gyp

Issue 1661703002: VM: Replace dart --noopt with new binary target dart_noopt. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_noopt',
20 'libdart_vm_precompiled_runtime', 21 'libdart_vm_precompiled_runtime',
21 'libdouble_conversion',], 22 'libdouble_conversion',],
22 }, 23 },
23 'targets': [ 24 'targets': [
24 { 25 {
25 'target_name': 'libdart', 26 'target_name': 'libdart',
26 'type': 'static_library', 27 'type': 'static_library',
27 'dependencies': [ 28 'dependencies': [
28 'libdart_lib', 29 'libdart_lib',
29 'libdart_vm', 30 'libdart_vm',
(...skipping 19 matching lines...) Expand all
49 # The only effect of DART_SHARED_LIB is to export the Dart API entries. 50 # The only effect of DART_SHARED_LIB is to export the Dart API entries.
50 'DART_SHARED_LIB', 51 'DART_SHARED_LIB',
51 ], 52 ],
52 'direct_dependent_settings': { 53 'direct_dependent_settings': {
53 'include_dirs': [ 54 'include_dirs': [
54 'include', 55 'include',
55 ], 56 ],
56 }, 57 },
57 }, 58 },
58 { 59 {
60 'target_name': 'libdart_noopt',
61 'type': 'static_library',
62 'dependencies': [
63 'libdart_lib',
64 'libdart_vm_noopt',
65 'libdouble_conversion',
66 'generate_version_cc_file#host',
67 ],
68 'include_dirs': [
69 '.',
70 ],
71 'sources': [
72 'include/dart_api.h',
73 'include/dart_mirrors_api.h',
74 'include/dart_native_api.h',
75 'include/dart_tools_api.h',
76 'vm/dart_api_impl.cc',
77 'vm/debugger_api_impl.cc',
78 'vm/mirrors_api_impl.cc',
79 'vm/native_api_impl.cc',
80 'vm/version.h',
81 '<(version_cc_file)',
82 ],
83 'defines': [
84 # The only effect of DART_SHARED_LIB is to export the Dart API entries.
85 'DART_SHARED_LIB',
86 'DART_PRECOMPILER',
87 ],
88 'direct_dependent_settings': {
89 'include_dirs': [
90 'include',
91 ],
92 },
93 },
94 {
59 'target_name': 'libdart_precompiled_runtime', 95 'target_name': 'libdart_precompiled_runtime',
60 'type': 'static_library', 96 'type': 'static_library',
61 'dependencies': [ 97 'dependencies': [
62 'libdart_lib', 98 'libdart_lib',
63 'libdart_vm_precompiled_runtime', 99 'libdart_vm_precompiled_runtime',
64 'libdouble_conversion', 100 'libdouble_conversion',
65 'generate_version_cc_file#host', 101 'generate_version_cc_file#host',
66 ], 102 ],
67 'include_dirs': [ 103 'include_dirs': [
68 '.', 104 '.',
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 }], 227 }],
192 ['OS=="linux"', { 228 ['OS=="linux"', {
193 'cflags': [ 229 'cflags': [
194 '-fPIC', 230 '-fPIC',
195 ], 231 ],
196 }], 232 }],
197 ], 233 ],
198 }, 234 },
199 ], 235 ],
200 } 236 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698