Index: chrome/android/BUILD.gn |
diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn |
index f28cb920f3413b9f8138ae688748c4d506600dbb..0bed9091dfecdf8687390315af3cf55bd60adc91 100644 |
--- a/chrome/android/BUILD.gn |
+++ b/chrome/android/BUILD.gn |
@@ -198,6 +198,12 @@ shared_library("chrome_shell") { |
deps = [ |
":chrome_shell_base", |
] |
+ # GYP: via base/files/protect_file_posix.gypi |
+ # TODO(pasko): make these 3 lines of code more reusable. |
pasko
2014/11/07 18:00:42
brettw: I tried to make it a config(), but it did
|
+ if (!is_component_build) { |
+ ldflags = [ "-Wl,--wrap=close" ] |
+ deps += [ "//base:protect_file_posix" ] |
+ } |
} |
# GYP: //chrome/chrome_shell.gypi:libchromesyncshell |