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

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

Issue 17288009: Removes references to LIB_DIR from gyp files. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « runtime/bin/bin.gypi ('k') | runtime/vm/vm.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'bin/bin.gypi', 9 'bin/bin.gypi',
10 'third_party/double-conversion/src/double-conversion.gypi', 10 'third_party/double-conversion/src/double-conversion.gypi',
11 'third_party/jscre/jscre.gypi', 11 'third_party/jscre/jscre.gypi',
12 ], 12 ],
13 'variables': { 13 'variables': {
14 # TODO(zra): LIB_DIR is not defined by the ninja generator on Windows. 14 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)',
15 # Also, LIB_DIR is not toolset specific on Mac. If we want to do a ninja
16 # build on Windows, or cross-compile on Mac, we'll have to find some other
17 # way of getting generated source files into toolset specific locations.
18 'gen_source_dir': '<(LIB_DIR)',
19 'version_in_cc_file': 'vm/version_in.cc', 15 'version_in_cc_file': 'vm/version_in.cc',
20 'version_cc_file': '<(gen_source_dir)/version.cc', 16 'version_cc_file': '<(gen_source_dir)/version.cc',
21 17
22 # Disable the OpenGLUI embedder by default on desktop OSes. Note, 18 # Disable the OpenGLUI embedder by default on desktop OSes. Note,
23 # to build this on the desktop, you need GLUT installed. 19 # to build this on the desktop, you need GLUT installed.
24 'enable_openglui%': 0, 20 'enable_openglui%': 0,
25 'libdart_deps': ['libdart_lib_withcore', 'libdart_lib', 'libdart_vm', 21 'libdart_deps': ['libdart_lib_withcore', 'libdart_lib', 'libdart_vm',
26 'libjscre', 'libdouble_conversion',], 22 'libjscre', 'libdouble_conversion',],
27 }, 23 },
28 'conditions': [ 24 'conditions': [
29 ['OS=="android" or enable_openglui==1', { 25 ['OS=="android" or enable_openglui==1', {
30 'includes': [ 26 'includes': [
31 'embedders/openglui/openglui_embedder.gypi', 27 'embedders/openglui/openglui_embedder.gypi',
32 ], 28 ],
33 }, 29 },
34 ], 30 ],
35 ], 31 ],
36 'targets': [ 32 'targets': [
37 { 33 {
38 'target_name': 'libdart', 34 'target_name': 'libdart',
39 'type': 'static_library', 35 'type': 'static_library',
40 'dependencies': [ 36 'dependencies': [
41 'libdart_lib', 37 'libdart_lib',
42 'libdart_vm', 38 'libdart_vm',
43 'libjscre', 39 'libjscre',
44 'libdouble_conversion', 40 'libdouble_conversion',
45 'generate_version_cc_file', 41 'generate_version_cc_file#host',
46 ], 42 ],
47 'include_dirs': [ 43 'include_dirs': [
48 '.', 44 '.',
49 ], 45 ],
50 'sources': [ 46 'sources': [
51 'include/dart_api.h', 47 'include/dart_api.h',
52 'include/dart_debugger_api.h', 48 'include/dart_debugger_api.h',
53 'include/dart_mirrors_api.h', 49 'include/dart_mirrors_api.h',
54 'include/dart_native_api.h', 50 'include/dart_native_api.h',
55 'vm/dart_api_impl.cc', 51 'vm/dart_api_impl.cc',
56 'vm/debugger_api_impl.cc', 52 'vm/debugger_api_impl.cc',
57 'vm/mirrors_api_impl.cc', 53 'vm/mirrors_api_impl.cc',
58 'vm/native_api_impl.cc', 54 'vm/native_api_impl.cc',
59 'vm/version.h', 55 'vm/version.h',
60 '<(version_cc_file)', 56 '<(version_cc_file)',
61 ], 57 ],
62 'defines': [ 58 'defines': [
63 # The only effect of DART_SHARED_LIB is to export the Dart API entries. 59 # The only effect of DART_SHARED_LIB is to export the Dart API entries.
64 'DART_SHARED_LIB', 60 'DART_SHARED_LIB',
65 ], 61 ],
66 'direct_dependent_settings': { 62 'direct_dependent_settings': {
67 'include_dirs': [ 63 'include_dirs': [
68 'include', 64 'include',
69 ], 65 ],
70 }, 66 },
71 }, 67 },
72 { 68 {
73 'target_name': 'generate_version_cc_file', 69 'target_name': 'generate_version_cc_file',
74 'type': 'none', 70 'type': 'none',
75 'toolsets':['target','host'], 71 'toolsets':['host'],
76 'dependencies': [ 72 'dependencies': [
77 'libdart_dependency_helper.target#target', 73 'libdart_dependency_helper.target#target',
78 'libdart_dependency_helper.host#host', 74 'libdart_dependency_helper.host#host',
79 ], 75 ],
80 'actions': [ 76 'actions': [
81 { 77 {
82 'action_name': 'generate_version_cc', 78 'action_name': 'generate_version_cc',
83 'inputs': [ 79 'inputs': [
84 '../tools/make_version.py', 80 '../tools/make_version.py',
85 '../tools/utils.py', 81 '../tools/utils.py',
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 }, 125 },
130 { 126 {
131 'target_name': 'runtime_packages', 127 'target_name': 'runtime_packages',
132 'type': 'none', 128 'type': 'none',
133 'dependencies': [ 129 'dependencies': [
134 '../pkg/pkg.gyp:pkg_packages', 130 '../pkg/pkg.gyp:pkg_packages',
135 ], 131 ],
136 }, 132 },
137 ], 133 ],
138 } 134 }
OLDNEW
« no previous file with comments | « runtime/bin/bin.gypi ('k') | runtime/vm/vm.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698