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

Side by Side Diff: base/BUILD.gn

Issue 2033393003: 💸 target_cpu -> current_cpu in base/BUILD.gn (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@monochrome
Patch Set: Created 4 years, 6 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 | no next file » | 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 1622 matching lines...) Expand 10 before | Expand all | Expand 10 after
1633 1633
1634 loadable_module("scoped_handle_test_dll") { 1634 loadable_module("scoped_handle_test_dll") {
1635 sources = [ 1635 sources = [
1636 "win/scoped_handle_test_dll.cc", 1636 "win/scoped_handle_test_dll.cc",
1637 ] 1637 ]
1638 deps = [ 1638 deps = [
1639 ":base", 1639 ":base",
1640 ] 1640 ]
1641 } 1641 }
1642 1642
1643 if (target_cpu == "x64") { 1643 if (current_cpu == "x64") {
1644 # Must be a shared library so that it can be unloaded during testing. 1644 # Must be a shared library so that it can be unloaded during testing.
1645 shared_library("base_profiler_test_support_library") { 1645 shared_library("base_profiler_test_support_library") {
1646 sources = [ 1646 sources = [
1647 "profiler/test_support_library.cc", 1647 "profiler/test_support_library.cc",
1648 ] 1648 ]
1649 deps = [ 1649 deps = [
1650 "//build/config/sanitizers:deps", 1650 "//build/config/sanitizers:deps",
1651 ] 1651 ]
1652 } 1652 }
1653 } 1653 }
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
2060 set_sources_assignment_filter([]) 2060 set_sources_assignment_filter([])
2061 sources += [ 2061 sources += [
2062 "debug/proc_maps_linux_unittest.cc", 2062 "debug/proc_maps_linux_unittest.cc",
2063 "trace_event/trace_event_android_unittest.cc", 2063 "trace_event/trace_event_android_unittest.cc",
2064 ] 2064 ]
2065 set_sources_assignment_filter(sources_assignment_filter) 2065 set_sources_assignment_filter(sources_assignment_filter)
2066 } 2066 }
2067 2067
2068 if (is_win) { 2068 if (is_win) {
2069 deps += [ "//base:scoped_handle_test_dll" ] 2069 deps += [ "//base:scoped_handle_test_dll" ]
2070 if (target_cpu == "x64") { 2070 if (current_cpu == "x64") {
2071 sources += [ "profiler/win32_stack_frame_unwinder_unittest.cc" ] 2071 sources += [ "profiler/win32_stack_frame_unwinder_unittest.cc" ]
2072 deps += [ ":base_profiler_test_support_library" ] 2072 deps += [ ":base_profiler_test_support_library" ]
2073 } 2073 }
2074 } 2074 }
2075 2075
2076 if (use_experimental_allocator_shim) { 2076 if (use_experimental_allocator_shim) {
2077 sources += [ "allocator/allocator_shim_unittest.cc" ] 2077 sources += [ "allocator/allocator_shim_unittest.cc" ]
2078 } 2078 }
2079 2079
2080 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 2080 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
2384 2384
2385 # GYP: //base.gyp:base_java_unittest_support 2385 # GYP: //base.gyp:base_java_unittest_support
2386 android_library("base_java_unittest_support") { 2386 android_library("base_java_unittest_support") {
2387 deps = [ 2387 deps = [
2388 ":base_java", 2388 ":base_java",
2389 ] 2389 ]
2390 java_files = 2390 java_files =
2391 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 2391 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
2392 } 2392 }
2393 } 2393 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698