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

Side by Side Diff: base/test/BUILD.gn

Issue 1497543006: GN: Build nacl_helper_nonsfi unit tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review feedback incorporated Created 5 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
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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//build/config/nacl/config.gni")
Dirk Pranke 2015/12/04 00:22:41 is this import needed?
Petr Hosek 2015/12/04 05:57:46 This is for is_nacl_nonsfi.
6 7
7 if (is_android) { 8 if (is_android) {
8 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
9 } 10 }
10 11
11 source_set("test_config") { 12 source_set("test_config") {
12 # TODO http://crbug.com/412064 enable this flag all the time. 13 # TODO http://crbug.com/412064 enable this flag all the time.
13 testonly = !is_component_build 14 testonly = !is_component_build
14 sources = [ 15 sources = [
15 "test_switches.cc", 16 "test_switches.cc",
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 ] 184 ]
184 deps = [ 185 deps = [
185 ":test_support", 186 ":test_support",
186 "//base", 187 "//base",
187 "//testing/gtest", 188 "//testing/gtest",
188 ] 189 ]
189 190
190 public_configs = [ ":perf_test_config" ] 191 public_configs = [ ":perf_test_config" ]
191 } 192 }
192 193
194 source_set("test_support_nonsfi") {
195 testonly = true
196 sources = [
197 "gtest_util.cc",
198 "gtest_util.h",
199 "gtest_xml_unittest_result_printer.cc",
200 "gtest_xml_unittest_result_printer.h",
201 "launcher/test_launcher.h",
202 "launcher/test_result.h",
203 "launcher/unit_test_launcher.h",
204 "launcher/unit_test_launcher_nacl_nonsfi.cc",
205 "test_switches.cc",
206 "test_switches.h",
207 ]
208 public_deps = [
209 "//base",
210 ]
211 deps = [
212 "//testing/gtest",
213 ]
214 }
215
216 source_set("test_launcher_nacl_nonsfi") {
217 testonly = true
218 sources = [
219 "launcher/test_launcher_nacl_nonsfi.cc",
220 "launcher/test_launcher_nacl_nonsfi.h",
221 ]
222 deps = [
223 ":test_support",
224 ]
225 }
226
193 source_set("run_all_unittests") { 227 source_set("run_all_unittests") {
194 testonly = true 228 testonly = true
195 sources = [ 229 sources = [
196 "run_all_unittests.cc", 230 "run_all_unittests.cc",
197 ] 231 ]
198 deps = [ 232 deps = [
199 ":test_support", 233 ":test_support",
200 ] 234 ]
201 } 235 }
202 236
(...skipping 12 matching lines...) Expand all
215 249
216 if (is_android) { 250 if (is_android) {
217 generate_jni("base_unittests_jni_headers") { 251 generate_jni("base_unittests_jni_headers") {
218 sources = [ 252 sources = [
219 "android/java/src/org/chromium/base/ContentUriTestUtils.java", 253 "android/java/src/org/chromium/base/ContentUriTestUtils.java",
220 "android/java/src/org/chromium/base/TestUiThread.java", 254 "android/java/src/org/chromium/base/TestUiThread.java",
221 ] 255 ]
222 jni_package = "base" 256 jni_package = "base"
223 } 257 }
224 } 258 }
OLDNEW
« base/json/BUILD.gn ('K') | « base/json/BUILD.gn ('k') | components/nacl/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698