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

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

Issue 972203003: Fix GN NaCl Debug build of base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase again Created 5 years, 9 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/process/BUILD.gn ('k') | base/third_party/dynamic_annotations/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_config") {
12 # TODO http://crbug.com/412064 enable this flag all the time.
13 testonly = !is_component_build
14 sources = [
15 "test_switches.cc",
16 "test_switches.h",
17 "test_timeouts.cc",
18 "test_timeouts.h",
19 ]
20 deps = [
21 "//base",
22 ]
23 }
24
11 # GYP: //base/base.gyp:test_support_base 25 # GYP: //base/base.gyp:test_support_base
12 source_set("test_support") { 26 source_set("test_support") {
13 # TODO http://crbug.com/412064 enable this flag all the time. 27 # TODO http://crbug.com/412064 enable this flag all the time.
14 testonly = !is_component_build 28 testonly = !is_component_build
15 sources = [ 29 sources = [
16 "expectations/expectation.cc", 30 "expectations/expectation.cc",
17 "expectations/expectation.h", 31 "expectations/expectation.h",
18 "expectations/parser.cc", 32 "expectations/parser.cc",
19 "expectations/parser.h", 33 "expectations/parser.h",
20 "gtest_util.cc", 34 "gtest_util.cc",
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 "test_shortcut_win.cc", 101 "test_shortcut_win.cc",
88 "test_shortcut_win.h", 102 "test_shortcut_win.h",
89 "test_simple_task_runner.cc", 103 "test_simple_task_runner.cc",
90 "test_simple_task_runner.h", 104 "test_simple_task_runner.h",
91 "test_suite.cc", 105 "test_suite.cc",
92 "test_suite.h", 106 "test_suite.h",
93 "test_support_android.cc", 107 "test_support_android.cc",
94 "test_support_android.h", 108 "test_support_android.h",
95 "test_support_ios.h", 109 "test_support_ios.h",
96 "test_support_ios.mm", 110 "test_support_ios.mm",
97 "test_switches.cc",
98 "test_switches.h",
99 "test_timeouts.cc",
100 "test_timeouts.h",
101 "thread_test_helper.cc", 111 "thread_test_helper.cc",
102 "thread_test_helper.h", 112 "thread_test_helper.h",
103 "trace_event_analyzer.cc", 113 "trace_event_analyzer.cc",
104 "trace_event_analyzer.h", 114 "trace_event_analyzer.h",
105 "trace_to_file.cc", 115 "trace_to_file.cc",
106 "trace_to_file.h", 116 "trace_to_file.h",
107 "values_test_util.cc", 117 "values_test_util.cc",
108 "values_test_util.h", 118 "values_test_util.h",
109 ] 119 ]
110 120
111 public_deps = [ 121 public_deps = [
122 ":test_config",
112 "//base", 123 "//base",
113 "//base:i18n", 124 "//base:i18n",
114 "//base:base_static", 125 "//base:base_static",
115 ] 126 ]
116 deps = [ 127 deps = [
117 "//base/third_party/dynamic_annotations", 128 "//base/third_party/dynamic_annotations",
118 "//testing/gmock", 129 "//testing/gmock",
119 "//testing/gtest", 130 "//testing/gtest",
120 "//third_party/libxml", 131 "//third_party/libxml",
121 "//third_party/icu:icuuc", 132 "//third_party/icu:icuuc",
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 } 182 }
172 183
173 if (is_android) { 184 if (is_android) {
174 generate_jni("base_unittests_jni_headers") { 185 generate_jni("base_unittests_jni_headers") {
175 sources = [ 186 sources = [
176 "android/java/src/org/chromium/base/ContentUriTestUtils.java", 187 "android/java/src/org/chromium/base/ContentUriTestUtils.java",
177 ] 188 ]
178 jni_package = "base" 189 jni_package = "base"
179 } 190 }
180 } 191 }
OLDNEW
« no previous file with comments | « base/process/BUILD.gn ('k') | base/third_party/dynamic_annotations/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698