| 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 # HOW TO WRITE CONDITIONALS IN THIS FILE | 5 # HOW TO WRITE CONDITIONALS IN THIS FILE |
| 6 # ====================================== | 6 # ====================================== |
| 7 # | 7 # |
| 8 # In many other places, one would write a conditional that expresses all the | 8 # In many other places, one would write a conditional that expresses all the |
| 9 # cases when a source file is used or unused, and then either add or subtract | 9 # cases when a source file is used or unused, and then either add or subtract |
| 10 # it from the sources list in that case | 10 # it from the sources list in that case |
| (...skipping 1520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1531 ] | 1531 ] |
| 1532 libs = [ | 1532 libs = [ |
| 1533 "cfgmgr32.lib", | 1533 "cfgmgr32.lib", |
| 1534 "shell32.lib", | 1534 "shell32.lib", |
| 1535 ] | 1535 ] |
| 1536 deps = [ | 1536 deps = [ |
| 1537 "//build/config/sanitizers:deps", | 1537 "//build/config/sanitizers:deps", |
| 1538 ] | 1538 ] |
| 1539 } | 1539 } |
| 1540 | 1540 |
| 1541 shared_library("scoped_handle_test_dll") { |
| 1542 sources = [ |
| 1543 "win/scoped_handle_test_dll.cc", |
| 1544 "win/scoped_handle_test_dll.h", |
| 1545 ] |
| 1546 deps = [ |
| 1547 ":base", |
| 1548 ] |
| 1549 } |
| 1550 |
| 1541 if (target_cpu == "x64") { | 1551 if (target_cpu == "x64") { |
| 1542 # Must be a shared library so that it can be unloaded during testing. | 1552 # Must be a shared library so that it can be unloaded during testing. |
| 1543 shared_library("base_profiler_test_support_library") { | 1553 shared_library("base_profiler_test_support_library") { |
| 1544 sources = [ | 1554 sources = [ |
| 1545 "profiler/test_support_library.cc", | 1555 "profiler/test_support_library.cc", |
| 1546 ] | 1556 ] |
| 1547 deps = [ | 1557 deps = [ |
| 1548 "//build/config/sanitizers:deps", | 1558 "//build/config/sanitizers:deps", |
| 1549 ] | 1559 ] |
| 1550 } | 1560 } |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1894 if (is_android) { | 1904 if (is_android) { |
| 1895 deps += [ "//testing/android/native_test:native_test_native_code" ] | 1905 deps += [ "//testing/android/native_test:native_test_native_code" ] |
| 1896 set_sources_assignment_filter([]) | 1906 set_sources_assignment_filter([]) |
| 1897 sources += [ | 1907 sources += [ |
| 1898 "debug/proc_maps_linux_unittest.cc", | 1908 "debug/proc_maps_linux_unittest.cc", |
| 1899 "trace_event/trace_event_android_unittest.cc", | 1909 "trace_event/trace_event_android_unittest.cc", |
| 1900 ] | 1910 ] |
| 1901 set_sources_assignment_filter(sources_assignment_filter) | 1911 set_sources_assignment_filter(sources_assignment_filter) |
| 1902 } | 1912 } |
| 1903 | 1913 |
| 1904 if (is_win && target_cpu == "x64") { | 1914 if (is_win) { |
| 1905 sources += [ "profiler/win32_stack_frame_unwinder_unittest.cc" ] | 1915 deps += [ "//base:scoped_handle_test_dll" ] |
| 1906 deps += [ ":base_profiler_test_support_library" ] | 1916 if (target_cpu == "x64") { |
| 1917 sources += [ "profiler/win32_stack_frame_unwinder_unittest.cc" ] |
| 1918 deps += [ ":base_profiler_test_support_library" ] |
| 1919 } |
| 1907 } | 1920 } |
| 1908 | 1921 |
| 1909 if (use_experimental_allocator_shim) { | 1922 if (use_experimental_allocator_shim) { |
| 1910 sources += [ "allocator/allocator_shim_unittest.cc" ] | 1923 sources += [ "allocator/allocator_shim_unittest.cc" ] |
| 1911 } | 1924 } |
| 1912 | 1925 |
| 1913 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 1926 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 1914 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 1927 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 1915 | 1928 |
| 1916 # Symbols for crashes when running tests on swarming. | 1929 # Symbols for crashes when running tests on swarming. |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2110 | 2123 |
| 2111 # GYP: //base.gyp:base_java_unittest_support | 2124 # GYP: //base.gyp:base_java_unittest_support |
| 2112 android_library("base_java_unittest_support") { | 2125 android_library("base_java_unittest_support") { |
| 2113 deps = [ | 2126 deps = [ |
| 2114 ":base_java", | 2127 ":base_java", |
| 2115 ] | 2128 ] |
| 2116 java_files = | 2129 java_files = |
| 2117 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] | 2130 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] |
| 2118 } | 2131 } |
| 2119 } | 2132 } |
| OLD | NEW |