[fuchsia] Remove executable config

In the Fuchsia toolchain, the -pie flag is always on, therefore setting
up the executable config with the -pie flag was redundant. In fact,
the executable config was not being used, since it was nested under a
faulty conditional statement.

Therefore, this CL removes the executable config for the fuchsia
BUILD.gn file as well as the faulty conditional.

Bug: 1325456
Change-Id: I0989c424259a10402a46805212e69e55ad9bc4e8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3665320
Reviewed-by: Fabrice de Gans <fdegans@chromium.org>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Joseph Wang <jwx@google.com>
Cr-Commit-Position: refs/heads/main@{#1007435}
NOKEYCHECK=True
GitOrigin-RevId: e5e97d4fb8e090122e41c3c79752233d2551d453
diff --git a/BUILD.gn b/BUILD.gn
index 79f1b1a..392733e 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -308,8 +308,6 @@
     configs += [ "//build/config/gcc:executable_config" ]
     if (is_chromecast) {
       configs += [ "//build/config/chromecast:executable_config" ]
-    } else if (is_fuchsia) {
-      configs += [ "//build/config/fuchsia:executable_config" ]
     }
   }
 
diff --git a/fuchsia/BUILD.gn b/fuchsia/BUILD.gn
index 3f13072..d97dea3 100644
--- a/fuchsia/BUILD.gn
+++ b/fuchsia/BUILD.gn
@@ -26,11 +26,6 @@
   }
 }
 
-# Settings for executables.
-config("executable_config") {
-  ldflags = [ "-pie" ]
-}
-
 # Files required to run on Fuchsia on isolated swarming clients.
 group("deployment_resources") {
   data = [