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

Unified Diff: base/files/protect_file_posix.gypi

Issue 1101723004: Revert "Intercept base::File Open/Close" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months 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.cc ('k') | build/gn_migration.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/files/protect_file_posix.gypi
diff --git a/base/files/protect_file_posix.gypi b/base/files/protect_file_posix.gypi
deleted file mode 100644
index 017fd8757c6bef6dfbab00bd1677e524e33b9aea..0000000000000000000000000000000000000000
--- a/base/files/protect_file_posix.gypi
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-# Provides sanity-checks and early crashes on some improper use of posix file
-# descriptors. See protect_file_posix.cc for details.
-#
-# Usage:
-# {
-# 'target_name': 'libsomething',
-# 'type': 'shared_library', // Do *not* use it for static libraries.
-# 'includes': [
-# 'base/files/protect_file_posix.gypi',
-# ],
-# ...
-# }
-{
- 'conditions': [
- # In the component build the interceptors have to be declared with
- # non-hidden visibility, which is not desirable for the release build.
- # Disable the extra checks for the component build for simplicity.
- ['component != "shared_library"', {
- 'ldflags': [
- '-Wl,--wrap=close',
- ],
- 'dependencies': [
- '<(DEPTH)/base/base.gyp:protect_file_posix',
- ],
- }],
- ],
-}
« no previous file with comments | « base/files/protect_file_posix.cc ('k') | build/gn_migration.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698