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/compiler/compiler.gni") | 5 import("//build/config/compiler/compiler.gni") |
6 import("//build/config/nacl/config.gni") | 6 import("//build/config/nacl/config.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
9 | 9 |
10 if (is_android) { | 10 if (is_android) { |
(...skipping 1547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1558 "strings/sys_string_conversions_mac_unittest.mm", | 1558 "strings/sys_string_conversions_mac_unittest.mm", |
1559 ] | 1559 ] |
1560 set_sources_assignment_filter(sources_assignment_filter) | 1560 set_sources_assignment_filter(sources_assignment_filter) |
1561 | 1561 |
1562 # TODO(GYP): dep on copy_test_data_ios action. | 1562 # TODO(GYP): dep on copy_test_data_ios action. |
1563 } | 1563 } |
1564 | 1564 |
1565 if (is_linux) { | 1565 if (is_linux) { |
1566 sources -= [ "file_version_info_unittest.cc" ] | 1566 sources -= [ "file_version_info_unittest.cc" ] |
1567 sources += [ "nix/xdg_util_unittest.cc" ] | 1567 sources += [ "nix/xdg_util_unittest.cc" ] |
| 1568 |
1568 deps += [ "//base/test:malloc_wrapper" ] | 1569 deps += [ "//base/test:malloc_wrapper" ] |
1569 | 1570 |
1570 if (use_glib) { | 1571 if (use_glib) { |
1571 configs += [ "//build/config/linux:glib" ] | 1572 configs += [ "//build/config/linux:glib" ] |
1572 } | 1573 } |
| 1574 |
| 1575 if (!is_component_build) { |
| 1576 # Set rpath to find libmalloc_wrapper.so even in a non-component build. |
| 1577 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ] |
| 1578 } |
1573 } | 1579 } |
1574 | 1580 |
1575 if (!is_linux || use_ozone) { | 1581 if (!is_linux || use_ozone) { |
1576 sources -= [ "message_loop/message_pump_glib_unittest.cc" ] | 1582 sources -= [ "message_loop/message_pump_glib_unittest.cc" ] |
1577 } | 1583 } |
1578 | 1584 |
1579 if (is_posix && !is_ios) { | 1585 if (is_posix && !is_ios) { |
1580 sources += [ "message_loop/message_pump_libevent_unittest.cc" ] | 1586 sources += [ "message_loop/message_pump_libevent_unittest.cc" ] |
1581 deps += [ "//third_party/libevent" ] | 1587 deps += [ "//third_party/libevent" ] |
1582 } | 1588 } |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1751 | 1757 |
1752 # GYP: //base.gyp:base_java_unittest_support | 1758 # GYP: //base.gyp:base_java_unittest_support |
1753 android_library("base_java_unittest_support") { | 1759 android_library("base_java_unittest_support") { |
1754 deps = [ | 1760 deps = [ |
1755 ":base_java", | 1761 ":base_java", |
1756 ] | 1762 ] |
1757 java_files = | 1763 java_files = |
1758 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] | 1764 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] |
1759 } | 1765 } |
1760 } | 1766 } |
OLD | NEW |