| Index: gni/v8.gni
|
| diff --git a/gni/v8.gni b/gni/v8.gni
|
| index 7ff7f6fb89ac3634a2c7ff64030805582d8c8fb9..f1706c2434233e4ae510fc8a9d4573de3d2dd3ae 100644
|
| --- a/gni/v8.gni
|
| +++ b/gni/v8.gni
|
| @@ -87,7 +87,15 @@ template("v8_source_set") {
|
|
|
| template("v8_executable") {
|
| executable(target_name) {
|
| - forward_variables_from(invoker, "*", [ "configs" ])
|
| + forward_variables_from(invoker,
|
| + "*",
|
| + [
|
| + "configs",
|
| + "remove_configs",
|
| + ])
|
| + if (defined(invoker.remove_configs)) {
|
| + configs -= invoker.remove_configs
|
| + }
|
| configs += invoker.configs
|
| configs -= v8_remove_configs
|
| configs += v8_add_configs
|
|
|