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

Side by Side Diff: base/allocator/BUILD.gn

Issue 913373002: Update Chomium's build files to work w/ latest GN binaries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn_cpu_arch_changes
Patch Set: cleanup / review Created 5 years, 10 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 | « BUILD.gn ('k') | breakpad/BUILD.gn » ('j') | ppapi/BUILD.gn » ('J')
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 import("//build/config/allocator.gni") 5 import("//build/config/allocator.gni")
6 6
7 # Only executables and not libraries should depend on the allocator target; 7 # Only executables and not libraries should depend on the allocator target;
8 # only the application (the final executable) knows what allocator makes sense. 8 # only the application (the final executable) knows what allocator makes sense.
9 # This "allocator" meta-target will forward to the default allocator according 9 # This "allocator" meta-target will forward to the default allocator according
10 # to the build settings. 10 # to the build settings.
(...skipping 18 matching lines...) Expand all
29 } 29 }
30 30
31 action("prep_libc") { 31 action("prep_libc") {
32 script = "prep_libc.py" 32 script = "prep_libc.py"
33 outputs = [ 33 outputs = [
34 "$target_gen_dir/allocator/libcmt.lib", 34 "$target_gen_dir/allocator/libcmt.lib",
35 ] 35 ]
36 args = [ 36 args = [
37 visual_studio_path + "/vc/lib", 37 visual_studio_path + "/vc/lib",
38 rebase_path("$target_gen_dir/allocator"), 38 rebase_path("$target_gen_dir/allocator"),
39 cpu_arch, 39 current_cpu,
40 ] 40 ]
41 } 41 }
42 } 42 }
43 43
44 if (use_allocator == "tcmalloc") { 44 if (use_allocator == "tcmalloc") {
45 # tcmalloc currently won't compile on Android. 45 # tcmalloc currently won't compile on Android.
46 source_set("tcmalloc") { 46 source_set("tcmalloc") {
47 tcmalloc_dir = "//third_party/tcmalloc/chromium" 47 tcmalloc_dir = "//third_party/tcmalloc/chromium"
48 48
49 sources = [ 49 sources = [
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 visibility = [ "//base/*" ] 246 visibility = [ "//base/*" ]
247 sources = [ 247 sources = [
248 "allocator_extension_thunks.cc", 248 "allocator_extension_thunks.cc",
249 "allocator_extension_thunks.h", 249 "allocator_extension_thunks.h",
250 ] 250 ]
251 if (is_android && !is_debug) { 251 if (is_android && !is_debug) {
252 configs -= [ "//build/config/compiler:optimize" ] 252 configs -= [ "//build/config/compiler:optimize" ]
253 configs += [ "//build/config/compiler:optimize_max" ] 253 configs += [ "//build/config/compiler:optimize_max" ]
254 } 254 }
255 } 255 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | breakpad/BUILD.gn » ('j') | ppapi/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698