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

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

Issue 14359014: Re-enables ARM cross-compile. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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 | « no previous file | no next file » | 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.
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.
14 'gen_source_dir': '<(LIB_DIR)', 18 'gen_source_dir': '<(LIB_DIR)',
15 'version_in_cc_file': 'vm/version_in.cc', 19 'version_in_cc_file': 'vm/version_in.cc',
16 'version_cc_file': '<(gen_source_dir)/version.cc', 20 'version_cc_file': '<(gen_source_dir)/version.cc',
17 21
18 # Disable the OpenGLUI embedder by default on desktop OSes. Note, 22 # Disable the OpenGLUI embedder by default on desktop OSes. Note,
19 # to build this on the desktop, you need GLUT installed. 23 # to build this on the desktop, you need GLUT installed.
20 'enable_openglui%': 0, 24 'enable_openglui%': 0,
25 'libdart_deps': ['libdart_lib_withcore', 'libdart_lib', 'libdart_vm',
26 'libjscre', 'libdouble_conversion',],
21 }, 27 },
22 'conditions': [ 28 'conditions': [
23 ['OS=="android" or enable_openglui==1', { 29 ['OS=="android" or enable_openglui==1', {
24 'includes': [ 30 'includes': [
25 'embedders/openglui/openglui_embedder.gypi', 31 'embedders/openglui/openglui_embedder.gypi',
26 ], 32 ],
27 }, 33 },
28 ], 34 ],
29 ], 35 ],
30 'targets': [ 36 'targets': [
(...skipping 26 matching lines...) Expand all
57 'include_dirs': [ 63 'include_dirs': [
58 'include', 64 'include',
59 ], 65 ],
60 }, 66 },
61 }, 67 },
62 { 68 {
63 'target_name': 'generate_version_cc_file', 69 'target_name': 'generate_version_cc_file',
64 'type': 'none', 70 'type': 'none',
65 'toolsets':['target','host'], 71 'toolsets':['target','host'],
66 'dependencies': [ 72 'dependencies': [
67 'libdart_dependency_helper', 73 'libdart_dependency_helper.target#target',
74 'libdart_dependency_helper.host#host',
68 ], 75 ],
69 'actions': [ 76 'actions': [
70 { 77 {
71 'action_name': 'generate_version_cc', 78 'action_name': 'generate_version_cc',
72 'inputs': [ 79 'inputs': [
73 '../tools/make_version.py', 80 '../tools/make_version.py',
74 '../tools/utils.py', 81 '../tools/utils.py',
75 '../tools/version.dart', 82 '../tools/version.dart',
76 '../tools/release/version.dart', 83 '../tools/release/version.dart',
77 '../tools/VERSION', 84 '../tools/VERSION',
78 '<(version_in_cc_file)', 85 '<(version_in_cc_file)',
79 # Depend on libdart_dependency_helper to track the libraries it 86 # Depend on libdart_dependency_helper to track the libraries it
80 # depends on. 87 # depends on.
81 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)libdart_dependency_helper<(EXECU TABLE_SUFFIX)', 88 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)libdart_dependency_helper.target <(EXECUTABLE_SUFFIX)',
89 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)libdart_dependency_helper.host<( EXECUTABLE_SUFFIX)',
82 ], 90 ],
83 'outputs': [ 91 'outputs': [
84 '<(version_cc_file)', 92 '<(version_cc_file)',
85 ], 93 ],
86 'action': [ 94 'action': [
87 'python', 95 'python',
88 '-u', # Make standard I/O unbuffered. 96 '-u', # Make standard I/O unbuffered.
89 '../tools/make_version.py', 97 '../tools/make_version.py',
90 '--output', '<(version_cc_file)', 98 '--output', '<(version_cc_file)',
91 '--input', '<(version_in_cc_file)', 99 '--input', '<(version_in_cc_file)',
92 ], 100 ],
93 }, 101 },
94 ], 102 ],
95 }, 103 },
96 { 104 {
97 'target_name': 'libdart_dependency_helper', 105 'target_name': 'libdart_dependency_helper.target',
98 'type': 'executable', 106 'type': 'executable',
99 'toolsets':['target','host'], 107 'toolsets':['target'],
100 # The dependencies here are the union of the dependencies of libdart and 108 # The dependencies here are the union of the dependencies of libdart and
101 # libdart_withcore. 109 # libdart_withcore.
102 'dependencies': [ 110 'dependencies': ['<@(libdart_deps)'],
103 'libdart_lib_withcore',
104 'libdart_lib',
105 'libdart_vm',
106 'libjscre',
107 'libdouble_conversion',
108 ],
109 'sources': [ 111 'sources': [
110 'vm/libdart_dependency_helper.cc', 112 'vm/libdart_dependency_helper.cc',
111 ], 113 ],
114 },
115 {
116 'target_name': 'libdart_dependency_helper.host',
117 'type': 'executable',
118 'toolsets':['host'],
119 # The dependencies here are the union of the dependencies of libdart and
120 # libdart_withcore.
121 'dependencies': ['<@(libdart_deps)'],
122 'sources': [
123 'vm/libdart_dependency_helper.cc',
124 ],
112 }, 125 },
113 { 126 {
114 'target_name': 'runtime_packages', 127 'target_name': 'runtime_packages',
115 'type': 'none', 128 'type': 'none',
116 'dependencies': [ 129 'dependencies': [
117 '../pkg/pkg.gyp:pkg_packages', 130 '../pkg/pkg.gyp:pkg_packages',
118 ], 131 ],
119 }, 132 },
120 ], 133 ],
121 } 134 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698