OLD | NEW |
1 # Copyright (c) 2016 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
| 6 import("//build/win/message_compiler.gni") |
6 | 7 |
7 declare_args() { | 8 declare_args() { |
8 # Indicates if the handle verifier should operate in a single module mode. By | 9 # 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 # default a single instance gets shared by all the modules. |
10 single_module_mode_handle_verifier = false | 11 single_module_mode_handle_verifier = false |
11 } | 12 } |
12 | 13 |
13 # Ensure that the handle verifier is always used in a single module mode for the | 14 # Ensure that the handle verifier is always used in a single module mode for the |
14 # component builds. | 15 # component builds. |
15 if (is_component_build) { | 16 if (is_component_build) { |
16 single_module_mode_handle_verifier = true | 17 single_module_mode_handle_verifier = true |
17 } | 18 } |
18 | 19 |
19 buildflag_header("base_win_features") { | 20 buildflag_header("base_win_features") { |
20 header = "base_features.h" | 21 header = "base_features.h" |
21 header_dir = "base/win" | 22 header_dir = "base/win" |
22 flags = [ "SINGLE_MODULE_MODE_HANDLE_VERIFIER=$single_module_mode_handle_verif
ier" ] | 23 flags = [ "SINGLE_MODULE_MODE_HANDLE_VERIFIER=$single_module_mode_handle_verif
ier" ] |
23 } | 24 } |
| 25 |
| 26 message_compiler("eventlog_messages") { |
| 27 visibility = [ |
| 28 "//base:base", |
| 29 "//chrome:eventlog_provider", |
| 30 ] |
| 31 |
| 32 sources = [ |
| 33 "eventlog_messages.mc", |
| 34 ] |
| 35 |
| 36 user_mode_logging = false |
| 37 compile_generated_code = false |
| 38 } |
OLD | NEW |