blob: 82d87d48d9fce4d0d8fed76d64121fc1116a0ccf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
diff --git a/v8/gni/v8.gni.orig b/v8/gni/v8.gni
index 264c1de..df17239 100644
--- a/v8/gni/v8.gni.orig
+++ b/v8/gni/v8.gni
@@ -114,13 +114,7 @@ template("v8_executable") {
}
template("v8_component") {
- if (is_electron_build && !is_component_build &&
- (target_name == "v8_libbase" || target_name == "v8_libplatform")) {
- v8_component = "source_set"
- } else {
- v8_component = component_electron
- }
- target(v8_component, target_name) {
+ component(target_name) {
forward_variables_from(invoker, "*", [ "configs" ])
configs += invoker.configs
configs -= v8_remove_configs
|