| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 import("//tools/grit/repack.gni") | 8 import("//tools/grit/repack.gni") |
| 9 | 9 |
| 10 if (is_android) { | 10 if (is_android) { |
| (...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 "//base:prefs_test_support", | 412 "//base:prefs_test_support", |
| 413 "//components/leveldb_proto", | 413 "//components/leveldb_proto", |
| 414 "//components/pref_registry:test_support", | 414 "//components/pref_registry:test_support", |
| 415 ] | 415 ] |
| 416 } | 416 } |
| 417 | 417 |
| 418 if (enable_basic_printing || enable_print_preview) { | 418 if (enable_basic_printing || enable_print_preview) { |
| 419 sources += [ "printing/test/print_web_view_helper_browsertest.cc" ] | 419 sources += [ "printing/test/print_web_view_helper_browsertest.cc" ] |
| 420 deps += [ "//components/printing/test:test_support" ] | 420 deps += [ "//components/printing/test:test_support" ] |
| 421 } | 421 } |
| 422 |
| 423 if (!is_component_build) { |
| 424 # Set rpath to find libmalloc_wrapper.so even in a non-component build. |
| 425 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ] |
| 426 } |
| 422 } | 427 } |
| 423 | 428 |
| 424 test("components_perftests") { | 429 test("components_perftests") { |
| 425 sources = [ | 430 sources = [ |
| 426 "scheduler/base/task_queue_manager_delegate_for_test.cc", | 431 "scheduler/base/task_queue_manager_delegate_for_test.cc", |
| 427 "scheduler/base/task_queue_manager_delegate_for_test.h", | 432 "scheduler/base/task_queue_manager_delegate_for_test.h", |
| 428 "scheduler/base/task_queue_manager_perftest.cc", | 433 "scheduler/base/task_queue_manager_perftest.cc", |
| 429 "visitedlink/test/visitedlink_perftest.cc", | 434 "visitedlink/test/visitedlink_perftest.cc", |
| 430 ] | 435 ] |
| 431 | 436 |
| 432 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 437 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 433 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 438 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 434 | 439 |
| 435 deps = [ | 440 deps = [ |
| 436 "//base/test:test_support", | 441 "//base/test:test_support", |
| 437 "//testing/gtest", | 442 "//testing/gtest", |
| 438 "//testing/perf", | 443 "//testing/perf", |
| 439 ] | 444 ] |
| 440 if (!is_ios) { | 445 if (!is_ios) { |
| 441 deps += [ | 446 deps += [ |
| 442 "//base", | 447 "//base", |
| 443 "//base/test:test_support_perf", | 448 "//base/test:test_support_perf", |
| 444 "//components/scheduler", | 449 "//components/scheduler", |
| 445 "//components/visitedlink/browser", | 450 "//components/visitedlink/browser", |
| 446 "//content/test:test_support", | 451 "//content/test:test_support", |
| 447 ] | 452 ] |
| 448 } | 453 } |
| 449 } | 454 } |
| OLD | NEW |