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

Side by Side Diff: base/test/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 | « base/BUILD.gn ('k') | base/third_party/symbolize/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 static_library("test_support_base") { 5 static_library("test_support_base") {
6 external = true 6 external = true
7 sources = [ 7 sources = [
8 "expectations/expectation.cc", 8 "expectations/expectation.cc",
9 "expectations/expectation.h", 9 "expectations/expectation.h",
10 "expectations/parser.cc", 10 "expectations/parser.cc",
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 ] 99 ]
100 100
101 if (!is_posix) { 101 if (!is_posix) {
102 sources -= [ 102 sources -= [
103 "scoped_locale.cc", 103 "scoped_locale.cc",
104 "scoped_locale.h", 104 "scoped_locale.h",
105 ] 105 ]
106 } 106 }
107 if (is_ios) { 107 if (is_ios) {
108 # iOS uses its own unit test launcher. 108 # iOS uses its own unit test launcher.
109 sources -= "launcher/unit_test_launcher.cc" 109 sources -= [ "launcher/unit_test_launcher.cc" ]
110 110
111 # Pull in specific Mac files for iOS (which have been filtered out 111 # Pull in specific Mac files for iOS (which have been filtered out
112 # by file name rules). 112 # by file name rules).
113 set_sources_assignment_filter([]) 113 set_sources_assignment_filter([])
114 sources += "test_file_util_mac.cc" 114 sources += "test_file_util_mac.cc"
115 } 115 }
116 if (toolkit_uses_gtk) { 116 if (toolkit_uses_gtk) {
117 configs += "//build/config/linux:gtk" 117 configs += [ "//build/config/linux:gtk" ]
118 } 118 }
119 } 119 }
120 120
121 config("perf_test_config") { 121 config("perf_test_config") {
122 defines = [ "PERF_TEST" ] 122 defines = [ "PERF_TEST" ]
123 } 123 }
124 124
125 static_library("test_support_perf") { 125 static_library("test_support_perf") {
126 external = true 126 external = true
127 sources = [ 127 sources = [
128 "run_all_perftests.cc", 128 "run_all_perftests.cc",
129 ] 129 ]
130 deps = [ 130 deps = [
131 "//base", 131 "//base",
132 "//testing/gtest", 132 "//testing/gtest",
133 ] 133 ]
134 134
135 direct_dependent_configs = [ ":perf_test_config" ] 135 direct_dependent_configs = [ ":perf_test_config" ]
136 136
137 if (toolkit_uses_gtk) { 137 if (toolkit_uses_gtk) {
138 configs += "//build/config/linux:gtk" 138 configs += [ "//build/config/linux:gtk" ]
139 } 139 }
140 } 140 }
141 141
142 static_library("run_all_unittests") { 142 static_library("run_all_unittests") {
143 external = true 143 external = true
144 sources = [ 144 sources = [
145 "run_all_unittests.cc", 145 "run_all_unittests.cc",
146 ] 146 ]
147 deps = [ 147 deps = [
148 ":test_support_base", 148 ":test_support_base",
149 ] 149 ]
150 } 150 }
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | base/third_party/symbolize/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698