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

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

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

Powered by Google App Engine
This is Rietveld 408576698