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

Unified Diff: base/win/BUILD.gn

Issue 1977833003: Add a buildflag to use the handle verifier in a per module mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Switch to a normal deps. Created 4 years, 6 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/base.gyp ('k') | base/win/scoped_handle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/BUILD.gn
diff --git a/base/win/BUILD.gn b/base/win/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..ee17c113bc355454b7689c30698631dd3e7c727b
--- /dev/null
+++ b/base/win/BUILD.gn
@@ -0,0 +1,21 @@
+# Copyright (c) 2016 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.
+
+import("//build/buildflag_header.gni")
+
+declare_args() {
+ # Indicates if the handle verifier should operate in a single module mode. By
+ # default a single instance gets shared by all the modules.
+ single_module_mode_handle_verifier = false
+}
+
+if (is_component_build) {
+ single_module_mode_handle_verifier = true
Nico 2016/06/07 16:48:18 this means that if you explicitly set single_modul
Sébastien Marchand 2016/06/07 17:47:58 Yes, I'll add a comment.
+}
+
+buildflag_header("base_win_features") {
+ header = "base_features.h"
+ header_dir = "base/win"
+ flags = [ "SINGLE_MODULE_MODE_HANDLE_VERIFIER=single_module_mode_handle_verifier" ]
+}
« no previous file with comments | « base/base.gyp ('k') | base/win/scoped_handle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698