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

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

Issue 138273007: Convert GN single-item list concat to use lists. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 years, 11 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 | « third_party/re2/BUILD.gn ('k') | tools/gn/secondary/chrome/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 gyp_file = "gn.gyp" 5 gyp_file = "gn.gyp"
6 external = true 6 external = true
7 7
8 # Not defined when doing a GYP build, this lets the code key off of GN-specific 8 # Not defined when doing a GYP build, this lets the code key off of GN-specific
9 # features (the last change target). This can be removed when the last change 9 # features (the last change target). This can be removed when the last change
10 # target is supported by the GN->GYP converter (see is_gyp conditional for that 10 # target is supported by the GN->GYP converter (see is_gyp conditional for that
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 executable("gn") { 170 executable("gn") {
171 sources = [ 171 sources = [
172 "gn_main.cc", 172 "gn_main.cc",
173 ] 173 ]
174 174
175 deps = [ 175 deps = [
176 ":gn_lib", 176 ":gn_lib",
177 ] 177 ]
178 if (!is_gyp) { 178 if (!is_gyp) {
179 # Currently this only works in GYP (see GN_BUILD above). 179 # Currently this only works in GYP (see GN_BUILD above).
180 deps += "//build/util:last_change" 180 deps += [ "//build/util:last_change" ]
181 } 181 }
182 } 182 }
183 183
184 test("gn_unittests") { 184 test("gn_unittests") {
185 sources = [ 185 sources = [
186 "builder_unittest.cc", 186 "builder_unittest.cc",
187 "escape_unittest.cc", 187 "escape_unittest.cc",
188 "file_template_unittest.cc", 188 "file_template_unittest.cc",
189 "filesystem_utils_unittest.cc", 189 "filesystem_utils_unittest.cc",
190 "function_rebase_path_unittest.cc", 190 "function_rebase_path_unittest.cc",
(...skipping 24 matching lines...) Expand all
215 "//base/test:run_all_unittests", 215 "//base/test:run_all_unittests",
216 "//base/test:test_support_base", 216 "//base/test:test_support_base",
217 "//testing/gtest", 217 "//testing/gtest",
218 ] 218 ]
219 } 219 }
220 220
221 executable("generate_test_gn_data") { 221 executable("generate_test_gn_data") {
222 sources = [ "generate_test_gn_data.cc" ] 222 sources = [ "generate_test_gn_data.cc" ]
223 deps = [ "//base" ] 223 deps = [ "//base" ]
224 } 224 }
OLDNEW
« no previous file with comments | « third_party/re2/BUILD.gn ('k') | tools/gn/secondary/chrome/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698