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

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

Issue 2440393002: [tracing] Implement composable memory usage estimators. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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/allocator/allocator_shim.h ('k') | base/test/scoped_memory_usage.h » ('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/allocator.gni")
5 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
6 import("//build/config/nacl/config.gni") 7 import("//build/config/nacl/config.gni")
7 8
8 if (is_android) { 9 if (is_android) {
9 import("//build/config/android/rules.gni") 10 import("//build/config/android/rules.gni")
10 } 11 }
11 12
12 static_library("test_config") { 13 static_library("test_config") {
13 testonly = true 14 testonly = true
14 sources = [ 15 sources = [
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 "perf_time_logger.cc", 69 "perf_time_logger.cc",
69 "perf_time_logger.h", 70 "perf_time_logger.h",
70 "power_monitor_test_base.cc", 71 "power_monitor_test_base.cc",
71 "power_monitor_test_base.h", 72 "power_monitor_test_base.h",
72 "scoped_command_line.cc", 73 "scoped_command_line.cc",
73 "scoped_command_line.h", 74 "scoped_command_line.h",
74 "scoped_feature_list.cc", 75 "scoped_feature_list.cc",
75 "scoped_feature_list.h", 76 "scoped_feature_list.h",
76 "scoped_locale.cc", 77 "scoped_locale.cc",
77 "scoped_locale.h", 78 "scoped_locale.h",
79 "scoped_memory_usage.cc",
80 "scoped_memory_usage.h",
78 "scoped_path_override.cc", 81 "scoped_path_override.cc",
79 "scoped_path_override.h", 82 "scoped_path_override.h",
80 "sequenced_task_runner_test_template.cc", 83 "sequenced_task_runner_test_template.cc",
81 "sequenced_task_runner_test_template.h", 84 "sequenced_task_runner_test_template.h",
82 "sequenced_worker_pool_owner.cc", 85 "sequenced_worker_pool_owner.cc",
83 "sequenced_worker_pool_owner.h", 86 "sequenced_worker_pool_owner.h",
84 "simple_test_clock.cc", 87 "simple_test_clock.cc",
85 "simple_test_clock.h", 88 "simple_test_clock.h",
86 "simple_test_tick_clock.cc", 89 "simple_test_tick_clock.cc",
87 "simple_test_tick_clock.h", 90 "simple_test_tick_clock.h",
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 "//third_party/libxml", 172 "//third_party/libxml",
170 ] 173 ]
171 174
172 if (!is_posix) { 175 if (!is_posix) {
173 sources -= [ 176 sources -= [
174 "scoped_locale.cc", 177 "scoped_locale.cc",
175 "scoped_locale.h", 178 "scoped_locale.h",
176 ] 179 ]
177 } 180 }
178 181
182 if (!use_experimental_allocator_shim) {
183 sources -= [
184 "scoped_memory_usage.cc",
185 "scoped_memory_usage.h",
186 ]
187 }
188
179 if (is_ios) { 189 if (is_ios) {
180 set_sources_assignment_filter([]) 190 set_sources_assignment_filter([])
181 sources += [ "test_file_util_mac.cc" ] 191 sources += [ "test_file_util_mac.cc" ]
182 set_sources_assignment_filter(sources_assignment_filter) 192 set_sources_assignment_filter(sources_assignment_filter)
183 } 193 }
184 194
185 if (is_mac) { 195 if (is_mac) {
186 libs = [ "AppKit.framework" ] 196 libs = [ "AppKit.framework" ]
187 } 197 }
188 198
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 if (is_android) { 327 if (is_android) {
318 generate_jni("base_unittests_jni_headers") { 328 generate_jni("base_unittests_jni_headers") {
319 sources = [ 329 sources = [
320 "android/java/src/org/chromium/base/ContentUriTestUtils.java", 330 "android/java/src/org/chromium/base/ContentUriTestUtils.java",
321 "android/java/src/org/chromium/base/TestSystemMessageHandler.java", 331 "android/java/src/org/chromium/base/TestSystemMessageHandler.java",
322 "android/java/src/org/chromium/base/TestUiThread.java", 332 "android/java/src/org/chromium/base/TestUiThread.java",
323 ] 333 ]
324 jni_package = "base" 334 jni_package = "base"
325 } 335 }
326 } 336 }
OLDNEW
« no previous file with comments | « base/allocator/allocator_shim.h ('k') | base/test/scoped_memory_usage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698