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

Side by Side Diff: base/BUILD.gn

Issue 1779333003: Add test for multithreaded ActiveVerifier behavior. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@handlecreate
Patch Set: change to loadable_module Created 4 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 | « no previous file | base/base.gyp » ('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 # 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 1575 matching lines...) Expand 10 before | Expand all | Expand 10 after
1586 ] 1586 ]
1587 libs = [ 1587 libs = [
1588 "cfgmgr32.lib", 1588 "cfgmgr32.lib",
1589 "shell32.lib", 1589 "shell32.lib",
1590 ] 1590 ]
1591 deps = [ 1591 deps = [
1592 "//build/config/sanitizers:deps", 1592 "//build/config/sanitizers:deps",
1593 ] 1593 ]
1594 } 1594 }
1595 1595
1596 loadable_module("scoped_handle_test_dll") {
1597 sources = [
1598 "win/scoped_handle_test_dll.cc",
1599 ]
1600 deps = [
1601 ":base",
1602 ]
1603 }
1604
1596 if (target_cpu == "x64") { 1605 if (target_cpu == "x64") {
1597 # Must be a shared library so that it can be unloaded during testing. 1606 # Must be a shared library so that it can be unloaded during testing.
1598 shared_library("base_profiler_test_support_library") { 1607 shared_library("base_profiler_test_support_library") {
1599 sources = [ 1608 sources = [
1600 "profiler/test_support_library.cc", 1609 "profiler/test_support_library.cc",
1601 ] 1610 ]
1602 deps = [ 1611 deps = [
1603 "//build/config/sanitizers:deps", 1612 "//build/config/sanitizers:deps",
1604 ] 1613 ]
1605 } 1614 }
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
1949 if (is_android) { 1958 if (is_android) {
1950 deps += [ "//testing/android/native_test:native_test_native_code" ] 1959 deps += [ "//testing/android/native_test:native_test_native_code" ]
1951 set_sources_assignment_filter([]) 1960 set_sources_assignment_filter([])
1952 sources += [ 1961 sources += [
1953 "debug/proc_maps_linux_unittest.cc", 1962 "debug/proc_maps_linux_unittest.cc",
1954 "trace_event/trace_event_android_unittest.cc", 1963 "trace_event/trace_event_android_unittest.cc",
1955 ] 1964 ]
1956 set_sources_assignment_filter(sources_assignment_filter) 1965 set_sources_assignment_filter(sources_assignment_filter)
1957 } 1966 }
1958 1967
1959 if (is_win && target_cpu == "x64") { 1968 if (is_win) {
1960 sources += [ "profiler/win32_stack_frame_unwinder_unittest.cc" ] 1969 deps += [ "//base:scoped_handle_test_dll" ]
1961 deps += [ ":base_profiler_test_support_library" ] 1970 if (target_cpu == "x64") {
1971 sources += [ "profiler/win32_stack_frame_unwinder_unittest.cc" ]
1972 deps += [ ":base_profiler_test_support_library" ]
1973 }
1962 } 1974 }
1963 1975
1964 if (use_experimental_allocator_shim) { 1976 if (use_experimental_allocator_shim) {
1965 sources += [ "allocator/allocator_shim_unittest.cc" ] 1977 sources += [ "allocator/allocator_shim_unittest.cc" ]
1966 } 1978 }
1967 1979
1968 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 1980 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1969 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 1981 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
1970 1982
1971 # Symbols for crashes when running tests on swarming. 1983 # Symbols for crashes when running tests on swarming.
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
2168 2180
2169 # GYP: //base.gyp:base_java_unittest_support 2181 # GYP: //base.gyp:base_java_unittest_support
2170 android_library("base_java_unittest_support") { 2182 android_library("base_java_unittest_support") {
2171 deps = [ 2183 deps = [
2172 ":base_java", 2184 ":base_java",
2173 ] 2185 ]
2174 java_files = 2186 java_files =
2175 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 2187 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
2176 } 2188 }
2177 } 2189 }
OLDNEW
« no previous file with comments | « no previous file | base/base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698