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

Side by Side Diff: tools/gn/BUILD.gn

Issue 429423002: Refactor GN source expansions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « base/BUILD.gn ('k') | tools/gn/action_target_generator.cc » ('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) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 defines = [ "GN_BUILD" ] 5 defines = [ "GN_BUILD" ]
6 6
7 static_library("gn_lib") { 7 static_library("gn_lib") {
8 sources = [ 8 sources = [
9 "action_target_generator.cc", 9 "action_target_generator.cc",
10 "action_target_generator.h", 10 "action_target_generator.h",
(...skipping 26 matching lines...) Expand all
37 "config_values_extractors.cc", 37 "config_values_extractors.cc",
38 "config_values_extractors.h", 38 "config_values_extractors.h",
39 "config_values_generator.cc", 39 "config_values_generator.cc",
40 "config_values_generator.h", 40 "config_values_generator.h",
41 "copy_target_generator.cc", 41 "copy_target_generator.cc",
42 "copy_target_generator.h", 42 "copy_target_generator.h",
43 "err.cc", 43 "err.cc",
44 "err.h", 44 "err.h",
45 "escape.cc", 45 "escape.cc",
46 "escape.h", 46 "escape.h",
47 "file_template.cc",
48 "file_template.h",
49 "filesystem_utils.cc", 47 "filesystem_utils.cc",
50 "filesystem_utils.h", 48 "filesystem_utils.h",
51 "functions.cc", 49 "functions.cc",
52 "functions.h", 50 "functions.h",
53 "functions_target.cc", 51 "functions_target.cc",
54 "function_exec_script.cc", 52 "function_exec_script.cc",
55 "function_foreach.cc", 53 "function_foreach.cc",
56 "function_get_label_info.cc", 54 "function_get_label_info.cc",
57 "function_get_path_info.cc", 55 "function_get_path_info.cc",
58 "function_get_target_outputs.cc", 56 "function_get_target_outputs.cc",
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 "setup.cc", 123 "setup.cc",
126 "setup.h", 124 "setup.h",
127 "source_dir.cc", 125 "source_dir.cc",
128 "source_dir.h", 126 "source_dir.h",
129 "source_file.cc", 127 "source_file.cc",
130 "source_file.h", 128 "source_file.h",
131 "standard_out.cc", 129 "standard_out.cc",
132 "standard_out.h", 130 "standard_out.h",
133 "string_utils.cc", 131 "string_utils.cc",
134 "string_utils.h", 132 "string_utils.h",
133 "substitution_list.cc",
134 "substitution_list.h",
135 "substitution_pattern.cc",
136 "substitution_pattern.h",
137 "substitution_type.cc",
138 "substitution_type.h",
139 "substitution_writer.cc",
140 "substitution_writer.h",
135 "target.cc", 141 "target.cc",
136 "target.h", 142 "target.h",
137 "target_generator.cc", 143 "target_generator.cc",
138 "target_generator.h", 144 "target_generator.h",
139 "template.cc", 145 "template.cc",
140 "template.h", 146 "template.h",
141 "token.cc", 147 "token.cc",
142 "token.h", 148 "token.h",
143 "tokenizer.cc", 149 "tokenizer.cc",
144 "tokenizer.h", 150 "tokenizer.h",
(...skipping 23 matching lines...) Expand all
168 ] 174 ]
169 175
170 deps = [ 176 deps = [
171 ":gn_lib", 177 ":gn_lib",
172 "//build/util:last_change", 178 "//build/util:last_change",
173 ] 179 ]
174 } 180 }
175 181
176 test("gn_unittests") { 182 test("gn_unittests") {
177 sources = [ 183 sources = [
184 "action_target_generator_unittest.cc",
178 "builder_unittest.cc", 185 "builder_unittest.cc",
179 "c_include_iterator_unittest.cc", 186 "c_include_iterator_unittest.cc",
180 "config_values_extractors_unittest.cc", 187 "config_values_extractors_unittest.cc",
181 "escape_unittest.cc", 188 "escape_unittest.cc",
182 "filesystem_utils_unittest.cc", 189 "filesystem_utils_unittest.cc",
183 "file_template_unittest.cc",
184 "function_foreach_unittest.cc", 190 "function_foreach_unittest.cc",
185 "function_get_label_info_unittest.cc", 191 "function_get_label_info_unittest.cc",
186 "function_get_path_info_unittest.cc", 192 "function_get_path_info_unittest.cc",
187 "function_get_target_outputs_unittest.cc", 193 "function_get_target_outputs_unittest.cc",
188 "function_rebase_path_unittest.cc", 194 "function_rebase_path_unittest.cc",
189 "function_write_file_unittest.cc", 195 "function_write_file_unittest.cc",
190 "functions_target_unittest.cc", 196 "functions_target_unittest.cc",
191 "functions_unittest.cc", 197 "functions_unittest.cc",
192 "header_checker_unittest.cc", 198 "header_checker_unittest.cc",
193 "input_conversion_unittest.cc", 199 "input_conversion_unittest.cc",
194 "label_unittest.cc", 200 "label_unittest.cc",
195 "loader_unittest.cc", 201 "loader_unittest.cc",
196 "ninja_action_target_writer_unittest.cc", 202 "ninja_action_target_writer_unittest.cc",
197 "ninja_binary_target_writer_unittest.cc", 203 "ninja_binary_target_writer_unittest.cc",
198 "ninja_copy_target_writer_unittest.cc", 204 "ninja_copy_target_writer_unittest.cc",
199 "ninja_helper_unittest.cc", 205 "ninja_helper_unittest.cc",
200 "ninja_target_writer_unittest.cc", 206 "ninja_target_writer_unittest.cc",
201 "operators_unittest.cc", 207 "operators_unittest.cc",
202 "parse_tree_unittest.cc", 208 "parse_tree_unittest.cc",
203 "parser_unittest.cc", 209 "parser_unittest.cc",
204 "path_output_unittest.cc", 210 "path_output_unittest.cc",
205 "pattern_unittest.cc", 211 "pattern_unittest.cc",
206 "run_all_unittests.cc", 212 "run_all_unittests.cc",
207 "scope_per_file_provider_unittest.cc", 213 "scope_per_file_provider_unittest.cc",
208 "scope_unittest.cc", 214 "scope_unittest.cc",
209 "source_dir_unittest.cc", 215 "source_dir_unittest.cc",
210 "string_utils_unittest.cc", 216 "string_utils_unittest.cc",
217 "substitution_pattern_unittest.cc",
218 "substitution_writer_unittest.cc",
211 "target_generator_unittest.cc", 219 "target_generator_unittest.cc",
212 "target_unittest.cc", 220 "target_unittest.cc",
213 "template_unittest.cc", 221 "template_unittest.cc",
214 "test_with_scope.cc", 222 "test_with_scope.cc",
215 "test_with_scope.h", 223 "test_with_scope.h",
216 "tokenizer_unittest.cc", 224 "tokenizer_unittest.cc",
217 "value_unittest.cc", 225 "value_unittest.cc",
218 "visibility_unittest.cc", 226 "visibility_unittest.cc",
219 ] 227 ]
220 deps = [ 228 deps = [
221 ":gn_lib", 229 ":gn_lib",
222 "//base/test:test_support", 230 "//base/test:test_support",
223 "//testing/gtest", 231 "//testing/gtest",
224 ] 232 ]
225 } 233 }
226 234
227 executable("generate_test_gn_data") { 235 executable("generate_test_gn_data") {
228 sources = [ "generate_test_gn_data.cc" ] 236 sources = [ "generate_test_gn_data.cc" ]
229 deps = [ "//base" ] 237 deps = [ "//base" ]
230 } 238 }
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | tools/gn/action_target_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698