OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |