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

Side by Side Diff: third_party/WebKit/Source/modules/BUILD.gn

Issue 2098673002: Make GN components static libraries on Win x64 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: blink_modules Created 4 years, 5 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/config/BUILDCONFIG.gn ('k') | 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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("//third_party/WebKit/Source/bindings/bindings.gni") 5 import("//third_party/WebKit/Source/bindings/bindings.gni")
6 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") 6 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni")
7 import("//third_party/WebKit/Source/bindings/modules/v8/v8.gni") 7 import("//third_party/WebKit/Source/bindings/modules/v8/v8.gni")
8 import("//third_party/WebKit/Source/build/scripts/scripts.gni") 8 import("//third_party/WebKit/Source/build/scripts/scripts.gni")
9 import("//third_party/WebKit/Source/modules/modules.gni") 9 import("//third_party/WebKit/Source/modules/modules.gni")
10 10
11 visibility = [ "//third_party/WebKit/Source/*" ] 11 visibility = [ "//third_party/WebKit/Source/*" ]
12 12
13 # GYP version: WebKit/Source/modules/modules.gyp:modules 13 # GYP version: WebKit/Source/modules/modules.gyp:modules
14 component("modules") { 14 component("modules") {
15 output_name = "blink_modules" 15 output_name = "blink_modules"
16 16
17 if (is_win && is_official_build) {
18 # This target is >2GB for official builds on Windows which causes linking
19 # with the library to fail. As a workaround, force using a source set in
20 # this configuration whcih avoids generating the .lib file (although will
21 # cause slower links).
22 static_component_type = "source_set"
23 }
24
17 visibility = [] # Allow re-assignment of list. 25 visibility = [] # Allow re-assignment of list.
18 visibility = [ "//third_party/WebKit/*" ] 26 visibility = [ "//third_party/WebKit/*" ]
19 27
20 sources = rebase_path(modules_files, ".", "//") 28 sources = rebase_path(modules_files, ".", "//")
21 sources += bindings_modules_v8_files 29 sources += bindings_modules_v8_files
22 sources += rebase_path(bindings_modules_generated_aggregate_files, ".", "//") 30 sources += rebase_path(bindings_modules_generated_aggregate_files, ".", "//")
23 sources += rebase_path(bindings_modules_generated_union_type_files, ".", "//") 31 sources += rebase_path(bindings_modules_generated_union_type_files, ".", "//")
24 sources += 32 sources +=
25 rebase_path(bindings_modules_generated_partial_aggregate_files, ".", "//") 33 rebase_path(bindings_modules_generated_partial_aggregate_files, ".", "//")
26 sources += 34 sources +=
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 } 116 }
109 117
110 # GYP version: WebKit/Source/modules/modules_generated.gyp:make_modules_generate d 118 # GYP version: WebKit/Source/modules/modules_generated.gyp:make_modules_generate d
111 group("make_modules_generated") { 119 group("make_modules_generated") {
112 public_deps = [ 120 public_deps = [
113 ":module_names", 121 ":module_names",
114 "//third_party/WebKit/Source/bindings/modules:bindings_modules_generated", 122 "//third_party/WebKit/Source/bindings/modules:bindings_modules_generated",
115 "//third_party/WebKit/Source/core:core_event_interfaces", 123 "//third_party/WebKit/Source/core:core_event_interfaces",
116 ] 124 ]
117 } 125 }
OLDNEW
« no previous file with comments | « build/config/BUILDCONFIG.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698