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

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

Issue 704363002: XXX test gn format everything (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years 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 | « tools/android/md5sum/BUILD.gn ('k') | tools/gn/example/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) 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 deps = [ 179 deps = [
180 "//base", 180 "//base",
181 "//base/third_party/dynamic_annotations", 181 "//base/third_party/dynamic_annotations",
182 ] 182 ]
183 } 183 }
184 184
185 action("last_commit_position") { 185 action("last_commit_position") {
186 script = "last_commit_position.py" 186 script = "last_commit_position.py"
187 187
188 # This dependency forces a re-run when the code is synced. 188 # This dependency forces a re-run when the code is synced.
189 inputs = [ "//build/util/LASTCHANGE" ] 189 inputs = [
190 "//build/util/LASTCHANGE",
191 ]
190 192
191 outfile = "$target_gen_dir/last_commit_position.h" 193 outfile = "$target_gen_dir/last_commit_position.h"
192 outputs = [ outfile ] 194 outputs = [ outfile ]
193 195
194 args = [ 196 args = [
195 rebase_path("//", root_build_dir), 197 rebase_path("//", root_build_dir),
196 rebase_path(outfile, root_build_dir), 198 rebase_path(outfile, root_build_dir),
197 "TOOLS_GN_LAST_COMMIT_POSITION_H_", 199 "TOOLS_GN_LAST_COMMIT_POSITION_H_",
198 ] 200 ]
199 } 201 }
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 "visibility_unittest.cc", 264 "visibility_unittest.cc",
263 ] 265 ]
264 deps = [ 266 deps = [
265 ":gn_lib", 267 ":gn_lib",
266 "//base/test:test_support", 268 "//base/test:test_support",
267 "//testing/gtest", 269 "//testing/gtest",
268 ] 270 ]
269 } 271 }
270 272
271 executable("generate_test_gn_data") { 273 executable("generate_test_gn_data") {
272 sources = [ "generate_test_gn_data.cc" ] 274 sources = [
273 deps = [ "//base" ] 275 "generate_test_gn_data.cc",
276 ]
277 deps = [
278 "//base",
279 ]
274 } 280 }
OLDNEW
« no previous file with comments | « tools/android/md5sum/BUILD.gn ('k') | tools/gn/example/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698