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

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

Issue 2233893005: GN: Mark all variables used when defining a template. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tests Created 4 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
« no previous file with comments | « no previous file | tools/gn/function_template.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 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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 "escape_unittest.cc", 282 "escape_unittest.cc",
283 "exec_process_unittest.cc", 283 "exec_process_unittest.cc",
284 "filesystem_utils_unittest.cc", 284 "filesystem_utils_unittest.cc",
285 "function_foreach_unittest.cc", 285 "function_foreach_unittest.cc",
286 "function_forward_variables_from_unittest.cc", 286 "function_forward_variables_from_unittest.cc",
287 "function_get_label_info_unittest.cc", 287 "function_get_label_info_unittest.cc",
288 "function_get_path_info_unittest.cc", 288 "function_get_path_info_unittest.cc",
289 "function_get_target_outputs_unittest.cc", 289 "function_get_target_outputs_unittest.cc",
290 "function_process_file_template_unittest.cc", 290 "function_process_file_template_unittest.cc",
291 "function_rebase_path_unittest.cc", 291 "function_rebase_path_unittest.cc",
292 "function_template_unittest.cc",
292 "function_toolchain_unittest.cc", 293 "function_toolchain_unittest.cc",
293 "function_write_file_unittest.cc", 294 "function_write_file_unittest.cc",
294 "functions_target_unittest.cc", 295 "functions_target_unittest.cc",
295 "functions_unittest.cc", 296 "functions_unittest.cc",
296 "header_checker_unittest.cc", 297 "header_checker_unittest.cc",
297 "inherited_libraries_unittest.cc", 298 "inherited_libraries_unittest.cc",
298 "input_conversion_unittest.cc", 299 "input_conversion_unittest.cc",
299 "label_pattern_unittest.cc", 300 "label_pattern_unittest.cc",
300 "label_unittest.cc", 301 "label_unittest.cc",
301 "loader_unittest.cc", 302 "loader_unittest.cc",
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 "format_test_data/", 339 "format_test_data/",
339 ] 340 ]
340 341
341 deps = [ 342 deps = [
342 ":gn_lib", 343 ":gn_lib",
343 "//base/test:run_all_unittests", 344 "//base/test:run_all_unittests",
344 "//base/test:test_support", 345 "//base/test:test_support",
345 "//testing/gtest", 346 "//testing/gtest",
346 ] 347 ]
347 } 348 }
OLDNEW
« no previous file with comments | « no previous file | tools/gn/function_template.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698