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

Unified Diff: allocator/BUILD.gn

Issue 2050803003: Update to Chromium //base at Chromium commit e3a753f17bac62738b0dbf0b36510f767b081e4b. (Closed) Base URL: https://github.com/domokit/base.git@master
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « OWNERS ('k') | android/animation_frame_time_histogram.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: allocator/BUILD.gn
diff --git a/allocator/BUILD.gn b/allocator/BUILD.gn
index 5a1e9df190ff7eca9e5640c787e3c65b9f4757f9..b6b7fc21b4263f6ea9f2bb97646cab33bfdd9947 100644
--- a/allocator/BUILD.gn
+++ b/allocator/BUILD.gn
@@ -61,29 +61,31 @@ if (is_win) {
libs = [ rebase_path("$target_gen_dir/allocator/libcmt.lib") ]
}
- action("prep_libc") {
- script = "prep_libc.py"
- outputs = [
- "$target_gen_dir/allocator/libcmt.lib",
- ]
- args = [
- visual_studio_path + "/vc/lib",
- rebase_path("$target_gen_dir/allocator"),
- current_cpu,
- ]
- }
+ if (!is_component_build) {
+ action("prep_libc") {
+ script = "prep_libc.py"
+ outputs = [
+ "$target_gen_dir/allocator/libcmt.lib",
+ ]
+ args = [
+ visual_studio_path + "/vc/lib",
+ rebase_path("$target_gen_dir/allocator"),
+ current_cpu,
+ ]
+ }
- source_set("allocator_shim") {
- sources = [
- "allocator_shim_win.cc",
- ]
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
+ source_set("allocator_shim") {
+ sources = [
+ "allocator_shim_win.cc",
+ ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
- public_configs = [ ":nocmt" ]
- deps = [
- ":prep_libc",
- ]
+ public_configs = [ ":nocmt" ]
+ deps = [
+ ":prep_libc",
+ ]
+ }
}
}
« no previous file with comments | « OWNERS ('k') | android/animation_frame_time_histogram.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698