OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//build/buildflag_header.gni") |
| 6 |
| 7 declare_args() { |
| 8 # Indicates if the handle verifier should operate in a single module mode. By |
| 9 # default a single instance gets shared by all the modules. |
| 10 single_module_mode_handle_verifier = false |
| 11 } |
| 12 |
| 13 # Ensure that the handle verifier is always used in a single module mode for the |
| 14 # component builds. |
| 15 if (is_component_build) { |
| 16 single_module_mode_handle_verifier = true |
| 17 } |
| 18 |
| 19 buildflag_header("base_win_features") { |
| 20 header = "base_features.h" |
| 21 header_dir = "base/win" |
| 22 flags = [ "SINGLE_MODULE_MODE_HANDLE_VERIFIER=$single_module_mode_handle_verif
ier" ] |
| 23 } |
OLD | NEW |