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/config/sanitizers/sanitizers.gni") | 6 import("//build/config/sanitizers/sanitizers.gni") |
7 import("//build/win/message_compiler.gni") | 7 import("//build/win/message_compiler.gni") |
8 import("//chrome/process_version_rc_template.gni") | |
veranika
2017/02/17 19:17:20
This change makes //base/win depend on //chrome, w
grt (UTC plus 2)
2017/02/20 09:26:21
Agreed. Sorry I missed that. Since logging::SetEve
pastarmovj
2017/02/20 09:47:01
I contemplated this for a while when I was adding
grt (UTC plus 2)
2017/02/20 09:53:47
Hmm. Well, another way to look at it is that addin
| |
8 | 9 |
9 declare_args() { | 10 declare_args() { |
10 # Indicates if the handle verifier should operate in a single module mode. By | 11 # Indicates if the handle verifier should operate in a single module mode. By |
11 # default a single instance gets shared by all the modules. | 12 # default a single instance gets shared by all the modules. |
12 single_module_mode_handle_verifier = false | 13 single_module_mode_handle_verifier = false |
13 } | 14 } |
14 | 15 |
15 # Ensure that the handle verifier is always used in a single module mode for the | 16 # Ensure that the handle verifier is always used in a single module mode for the |
16 # component builds. | 17 # component builds. |
17 if (is_component_build) { | 18 if (is_component_build) { |
(...skipping 12 matching lines...) Expand all Loading... | |
30 ":eventlog_provider", | 31 ":eventlog_provider", |
31 ] | 32 ] |
32 | 33 |
33 sources = [ | 34 sources = [ |
34 "eventlog_messages.mc", | 35 "eventlog_messages.mc", |
35 ] | 36 ] |
36 | 37 |
37 user_mode_logging = false | 38 user_mode_logging = false |
38 compile_generated_code = false | 39 compile_generated_code = false |
39 } | 40 } |
41 | |
42 process_version_rc_template("eventlog_provider_dll_version") { | |
43 sources = [ | |
44 "eventlog_provider.ver", | |
45 ] | |
46 output = "$target_gen_dir/eventlog_provider_dll_version.rc" | |
47 } | |
48 | |
40 shared_library("eventlog_provider") { | 49 shared_library("eventlog_provider") { |
41 sources = [ | 50 sources = [ |
42 "$root_gen_dir/base/win/eventlog_messages.rc", | 51 "$root_gen_dir/base/win/eventlog_messages.rc", |
43 "eventlog_provider.cc", | 52 "eventlog_provider.cc", |
44 ] | 53 ] |
45 | 54 |
46 if (!is_asan) { | 55 if (!is_asan) { |
47 ldflags = [ "/NOENTRY" ] | 56 ldflags = [ "/NOENTRY" ] |
48 } | 57 } |
49 | 58 |
50 deps = [ | 59 deps = [ |
51 "//base/win:eventlog_messages", | 60 "//base/win:eventlog_messages", |
61 "//base/win:eventlog_provider_dll_version", | |
52 ] | 62 ] |
53 } | 63 } |
OLD | NEW |