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

Side by Side Diff: runtime/bin/BUILD.gn

Issue 712313005: Moves BUILD.gn config from root to runtime. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 1 month 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/BUILD.gn ('k') | runtime/third_party/double-conversion/src/BUILD.gn » ('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) 2014, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2014, 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 declare_args() { 6 declare_args() {
7 dart_io_support = false 7 dart_io_support = false
8 } 8 }
9 9
10 10
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 } 81 }
82 82
83 83
84 builtin_impl_sources_gypi = 84 builtin_impl_sources_gypi =
85 exec_script("../../tools/gypi_to_gn.py", 85 exec_script("../../tools/gypi_to_gn.py",
86 [rebase_path("builtin_impl_sources.gypi")], 86 [rebase_path("builtin_impl_sources.gypi")],
87 "scope", 87 "scope",
88 ["builtin_impl_sources.gypi"]) 88 ["builtin_impl_sources.gypi"])
89 89
90 static_library("libdart_builtin") { 90 static_library("libdart_builtin") {
91 configs += ["../..:dart_config"] 91 configs += ["..:dart_config"]
92 public_configs = [":libdart_builtin_config"] 92 public_configs = [":libdart_builtin_config"]
93 deps = [ 93 deps = [
94 ":generate_builtin_cc_file", 94 ":generate_builtin_cc_file",
95 ":generate_io_cc_file", 95 ":generate_io_cc_file",
96 ":generate_io_patch_cc_file", 96 ":generate_io_patch_cc_file",
97 ] 97 ]
98 include_dirs = [ 98 include_dirs = [
99 "..", 99 "..",
100 ] 100 ]
101 set_sources_assignment_filter(["*_test.cc", "*_test.h"]) 101 set_sources_assignment_filter(["*_test.cc", "*_test.h"])
102 sources = [ 102 sources = [
103 "log_android.cc", 103 "log_android.cc",
104 "log_linux.cc", 104 "log_linux.cc",
105 "log_macos.cc", 105 "log_macos.cc",
106 "log_win.cc", 106 "log_win.cc",
107 ] + builtin_impl_sources_gypi.sources 107 ] + builtin_impl_sources_gypi.sources
108 } 108 }
109 109
110 110
111 static_library("libdart_withcore") { 111 static_library("libdart_withcore") {
112 configs += ["../..:dart_config"] 112 configs += ["..:dart_config"]
113 deps = [ 113 deps = [
114 "../vm:libdart_lib_withcore", 114 "../vm:libdart_lib_withcore",
115 "../vm:libdart_vm", 115 "../vm:libdart_vm",
116 "../vm:libdart_platform", 116 "../vm:libdart_platform",
117 "../third_party/jscre:libjscre", 117 "../third_party/jscre:libjscre",
118 "../third_party/double-conversion/src:libdouble_conversion", 118 "../third_party/double-conversion/src:libdouble_conversion",
119 "..:generate_version_cc_file", 119 "..:generate_version_cc_file",
120 ] 120 ]
121 121
122 sources = [ 122 sources = [
(...skipping 12 matching lines...) Expand all
135 "..", 135 "..",
136 ] 136 ]
137 137
138 defines = [ 138 defines = [
139 "DART_SHARED_LIB", 139 "DART_SHARED_LIB",
140 ] 140 ]
141 } 141 }
142 142
143 143
144 executable("gen_snapshot") { 144 executable("gen_snapshot") {
145 configs += ["../..:dart_config"] 145 configs += ["..:dart_config"]
146 deps = [ 146 deps = [
147 ":libdart_withcore", 147 ":libdart_withcore",
148 ":libdart_builtin", 148 ":libdart_builtin",
149 ] 149 ]
150 150
151 sources = [ 151 sources = [
152 "gen_snapshot.cc", 152 "gen_snapshot.cc",
153 # Very limited native resolver provided. 153 # Very limited native resolver provided.
154 "builtin_gen_snapshot.cc", 154 "builtin_gen_snapshot.cc",
155 "builtin.cc", 155 "builtin.cc",
156 "builtin.h", 156 "builtin.h",
157 # Include generated source files. 157 # Include generated source files.
158 "$target_gen_dir/builtin_gen.cc", 158 "$target_gen_dir/builtin_gen.cc",
159 "$target_gen_dir/io_gen.cc", 159 "$target_gen_dir/io_gen.cc",
160 "$target_gen_dir/io_patch_gen.cc", 160 "$target_gen_dir/io_patch_gen.cc",
161 ] 161 ]
162 162
163 include_dirs = [ 163 include_dirs = [
164 "..", 164 "..",
165 ] 165 ]
166 } 166 }
167 167
168 168
169 static_library("libdart_embedder_noio") { 169 static_library("libdart_embedder_noio") {
170 configs += ["../..:dart_config",] 170 configs += ["..:dart_config",]
171 deps = [ 171 deps = [
172 "..:libdart", 172 "..:libdart",
173 "../vm:libdart_platform", 173 "../vm:libdart_platform",
174 ] 174 ]
175 } 175 }
OLDNEW
« no previous file with comments | « runtime/BUILD.gn ('k') | runtime/third_party/double-conversion/src/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698