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

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: . 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
« no previous file with comments | « base/files/protect_file_posix.gypi ('k') | chrome/chrome_shell.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/BUILD.gn
diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
index f28cb920f3413b9f8138ae688748c4d506600dbb..98e2856ac492180e1390c25e5b03987d0ebd4f66 100644
--- a/chrome/android/BUILD.gn
+++ b/chrome/android/BUILD.gn
@@ -198,6 +198,13 @@ shared_library("chrome_shell") {
deps = [
":chrome_shell_base",
]
+ # GYP: via base/files/protect_file_posix.gypi
+ # TODO(pasko): Remove this non-trivial linker wrapping as soon as
+ # crbug.com/424562 is fixed.
+ if (!is_component_build) {
+ ldflags = [ "-Wl,--wrap=close" ]
+ deps += [ "//base:protect_file_posix" ]
+ }
}
# GYP: //chrome/chrome_shell.gypi:libchromesyncshell
« no previous file with comments | « base/files/protect_file_posix.gypi ('k') | chrome/chrome_shell.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698