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

Side by Side Diff: base/BUILD.gn

Issue 1577883002: Add run-time CHECK to smoke-test allocator overrides (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: AAAAArgh, inconsistent trailing dot in README.chromium Created 4 years, 11 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/allocator/allocator_check.h » ('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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 # source_set as is recommended for GN targets). 111 # source_set as is recommended for GN targets).
112 component("base") { 112 component("base") {
113 # TODO(phosek) bug 570839: If field_trial.cc is in a static library, 113 # TODO(phosek) bug 570839: If field_trial.cc is in a static library,
114 # hacl_helper_nonsfi doesn't link properly on Linux in debug builds. The 114 # hacl_helper_nonsfi doesn't link properly on Linux in debug builds. The
115 # reasons for this seem to involve obscure toolchain bugs. This should be 115 # reasons for this seem to involve obscure toolchain bugs. This should be
116 # fixed and this target should always be a static_library in the 116 # fixed and this target should always be a static_library in the
117 # non-component case. 117 # non-component case.
118 component_never_use_source_set = !is_nacl_nonsfi 118 component_never_use_source_set = !is_nacl_nonsfi
119 119
120 sources = [ 120 sources = [
121 "allocator/allocator_check.cc",
122 "allocator/allocator_check.h",
121 "allocator/allocator_extension.cc", 123 "allocator/allocator_extension.cc",
122 "allocator/allocator_extension.h", 124 "allocator/allocator_extension.h",
123 "android/animation_frame_time_histogram.cc", 125 "android/animation_frame_time_histogram.cc",
124 "android/animation_frame_time_histogram.h", 126 "android/animation_frame_time_histogram.h",
125 "android/apk_assets.cc", 127 "android/apk_assets.cc",
126 "android/apk_assets.h", 128 "android/apk_assets.h",
127 "android/application_status_listener.cc", 129 "android/application_status_listener.cc",
128 "android/application_status_listener.h", 130 "android/application_status_listener.h",
129 "android/base_jni_onload.cc", 131 "android/base_jni_onload.cc",
130 "android/base_jni_onload.h", 132 "android/base_jni_onload.h",
(...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after
939 "win/wrapped_window_proc.cc", 941 "win/wrapped_window_proc.cc",
940 "win/wrapped_window_proc.h", 942 "win/wrapped_window_proc.h",
941 ] 943 ]
942 944
943 defines = [] 945 defines = []
944 data = [] 946 data = []
945 947
946 configs += [ 948 configs += [
947 ":base_flags", 949 ":base_flags",
948 ":base_implementation", 950 ":base_implementation",
951 "//base/allocator:allocator_shim_define", # for allocator_check.cc.
949 "//build/config:precompiled_headers", 952 "//build/config:precompiled_headers",
950 ] 953 ]
951 954
952 deps = [ 955 deps = [
953 "//base/third_party/dynamic_annotations", 956 "//base/third_party/dynamic_annotations",
954 "//third_party/modp_b64", 957 "//third_party/modp_b64",
955 ] 958 ]
956 959
957 public_deps = [ 960 public_deps = [
958 ":base_paths", 961 ":base_paths",
(...skipping 1181 matching lines...) Expand 10 before | Expand all | Expand 10 after
2140 2143
2141 # GYP: //base.gyp:base_java_unittest_support 2144 # GYP: //base.gyp:base_java_unittest_support
2142 android_library("base_java_unittest_support") { 2145 android_library("base_java_unittest_support") {
2143 deps = [ 2146 deps = [
2144 ":base_java", 2147 ":base_java",
2145 ] 2148 ]
2146 java_files = 2149 java_files =
2147 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 2150 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
2148 } 2151 }
2149 } 2152 }
OLDNEW
« no previous file with comments | « no previous file | base/allocator/allocator_check.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698