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

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

Issue 1342183003: Allow GN configs to have sub-configs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | tools/gn/builder.h » ('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 import("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 defines = [ "GN_BUILD" ] 7 defines = [ "GN_BUILD" ]
8 8
9 static_library("gn_lib") { 9 static_library("gn_lib") {
10 configs += [ "//build/config:precompiled_headers" ] 10 configs += [ "//build/config:precompiled_headers" ]
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 ] 242 ]
243 } 243 }
244 244
245 test("gn_unittests") { 245 test("gn_unittests") {
246 sources = [ 246 sources = [
247 "action_target_generator_unittest.cc", 247 "action_target_generator_unittest.cc",
248 "args_unittest.cc", 248 "args_unittest.cc",
249 "builder_unittest.cc", 249 "builder_unittest.cc",
250 "c_include_iterator_unittest.cc", 250 "c_include_iterator_unittest.cc",
251 "command_format_unittest.cc", 251 "command_format_unittest.cc",
252 "config_unittest.cc",
252 "config_values_extractors_unittest.cc", 253 "config_values_extractors_unittest.cc",
253 "escape_unittest.cc", 254 "escape_unittest.cc",
254 "exec_process_unittest.cc", 255 "exec_process_unittest.cc",
255 "filesystem_utils_unittest.cc", 256 "filesystem_utils_unittest.cc",
256 "function_foreach_unittest.cc", 257 "function_foreach_unittest.cc",
257 "function_forward_variables_from_unittest.cc", 258 "function_forward_variables_from_unittest.cc",
258 "function_get_label_info_unittest.cc", 259 "function_get_label_info_unittest.cc",
259 "function_get_path_info_unittest.cc", 260 "function_get_path_info_unittest.cc",
260 "function_get_target_outputs_unittest.cc", 261 "function_get_target_outputs_unittest.cc",
261 "function_process_file_template_unittest.cc", 262 "function_process_file_template_unittest.cc",
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 314
314 executable("generate_test_gn_data") { 315 executable("generate_test_gn_data") {
315 sources = [ 316 sources = [
316 "generate_test_gn_data.cc", 317 "generate_test_gn_data.cc",
317 ] 318 ]
318 deps = [ 319 deps = [
319 "//base", 320 "//base",
320 "//build/config/sanitizers:deps", 321 "//build/config/sanitizers:deps",
321 ] 322 ]
322 } 323 }
OLDNEW
« no previous file with comments | « no previous file | tools/gn/builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698