OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |