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

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

Issue 551933002: Mark gtest and gmock as testonly in GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@testonly
Patch Set: android Created 6 years, 3 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 | « base/BUILD.gn ('k') | breakpad/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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/rules.gni") 8 import("//build/config/android/rules.gni")
9 } 9 }
10 10
11 source_set("test_support") { 11 source_set("test_support") {
12 testonly = true 12 # TODO http://crbug.com/412064 enable this flag all the time.
13 testonly = !is_component_build
13 sources = [ 14 sources = [
14 "expectations/expectation.cc", 15 "expectations/expectation.cc",
15 "expectations/expectation.h", 16 "expectations/expectation.h",
16 "expectations/parser.cc", 17 "expectations/parser.cc",
17 "expectations/parser.h", 18 "expectations/parser.h",
18 "gtest_xml_util.cc", 19 "gtest_xml_util.cc",
19 "gtest_xml_util.h", 20 "gtest_xml_util.h",
20 "histogram_tester.cc", 21 "histogram_tester.cc",
21 "histogram_tester.h", 22 "histogram_tester.h",
22 "launcher/test_launcher.cc", 23 "launcher/test_launcher.cc",
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 } 160 }
160 161
161 if (is_android) { 162 if (is_android) {
162 generate_jni("base_unittests_jni_headers") { 163 generate_jni("base_unittests_jni_headers") {
163 sources = [ 164 sources = [
164 "android/java/src/org/chromium/base/ContentUriTestUtils.java", 165 "android/java/src/org/chromium/base/ContentUriTestUtils.java",
165 ] 166 ]
166 jni_package = "base" 167 jni_package = "base"
167 } 168 }
168 } 169 }
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | breakpad/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698