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

Side by Side Diff: third_party/WebKit/Source/wtf/BUILD.gn

Issue 1653003006: Move gn _run target generation into test(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « third_party/WebKit/Source/web/BUILD.gn ('k') | third_party/cacheinvalidation/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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 # The list of files is kept in the .gypi. 7 # The list of files is kept in the .gypi.
8 gypi_values = exec_script("//build/gypi_to_gn.py", 8 gypi_values = exec_script("//build/gypi_to_gn.py",
9 [ rebase_path("wtf.gypi") ], 9 [ rebase_path("wtf.gypi") ],
10 "scope", 10 "scope",
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 "Foundation.framework", 88 "Foundation.framework",
89 ] 89 ]
90 } else { 90 } else {
91 sources -= [ 91 sources -= [
92 "text/AtomicStringCF.cpp", 92 "text/AtomicStringCF.cpp",
93 "text/StringImplCF.cpp", 93 "text/StringImplCF.cpp",
94 ] 94 ]
95 } 95 }
96 } 96 }
97 97
98 # TODO(GYP): Delete this after we've converted everything to GN.
99 # The _run targets exist only for compatibility w/ GYP.
100 group("wtf_unittests_run") {
101 testonly = true
102 deps = [
103 ":wtf_unittests",
104 ]
105 }
106
107 test("wtf_unittests") { 98 test("wtf_unittests") {
108 visibility = [] # Allow re-assignment of list. 99 visibility = [] # Allow re-assignment of list.
109 visibility = [ "*" ] 100 visibility = [ "*" ]
110 101
111 sources = gypi_values.wtf_unittest_files 102 sources = gypi_values.wtf_unittest_files
112 103
113 sources += [ "testing/RunAllTests.cpp" ] 104 sources += [ "testing/RunAllTests.cpp" ]
114 105
115 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 106 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
116 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 107 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
(...skipping 25 matching lines...) Expand all
142 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 133 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
143 "//build/config/compiler:no_size_t_to_int_warning", 134 "//build/config/compiler:no_size_t_to_int_warning",
144 "//third_party/WebKit/Source:config", 135 "//third_party/WebKit/Source:config",
145 "//third_party/WebKit/Source:non_test_config", 136 "//third_party/WebKit/Source:non_test_config",
146 ] 137 ]
147 138
148 deps = [ 139 deps = [
149 ":wtf", 140 ":wtf",
150 ] 141 ]
151 } 142 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/BUILD.gn ('k') | third_party/cacheinvalidation/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698