Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1243)

Unified Diff: chrome/android/BUILD.gn

Issue 676873004: Intercept file Open/Close (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698