| Index: gni/v8.gni
|
| diff --git a/gni/v8.gni b/gni/v8.gni
|
| index 3ed3c25bc8edfd6105a85b125dcf3fe0bd464ee3..5aac4e333a26feae5cb10c2551f8f24b3a260f6d 100644
|
| --- a/gni/v8.gni
|
| +++ b/gni/v8.gni
|
| @@ -87,19 +87,13 @@
|
|
|
| template("v8_executable") {
|
| executable(target_name) {
|
| - forward_variables_from(invoker, "*", [ "configs", "want_pie"])
|
| + forward_variables_from(invoker, "*", [ "configs" ])
|
| configs += invoker.configs
|
| configs -= v8_remove_configs
|
| configs += v8_add_configs
|
| - if (!defined(invoker.want_pie) || invoker.want_pie) {
|
| - if (is_linux) {
|
| - # For enabling ASLR.
|
| - ldflags = [ "-pie" ]
|
| - }
|
| - } else {
|
| - if (is_android) {
|
| - configs -= "//build/config/android:executable_config"
|
| - }
|
| + if (is_linux) {
|
| + # For enabling ASLR.
|
| + ldflags = [ "-pie" ]
|
| }
|
| }
|
| }
|
|
|