1# Copyright 2015 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 5import("//build/win/message_compiler.gni") 6 7assert(is_win, "This only runs on Windows.") 8 9message_compiler("chrome_events_win") { 10 visibility = [ 11 "//base/*", 12 "//chrome:main_dll", 13 ] 14 15 sources = [ 16 "chrome_events_win.man", 17 ] 18 19 user_mode_logging = true 20 21 # The only code generated from chrome_events_win.man is a header file that 22 # is included by trace_event_etw_export_win.cc, so there is no need to 23 # compile any generated code. The other thing which compile_generated_code 24 # controls in this context is linking in the .res file generated from the 25 # manifest. However this is only needed for ETW provider registration which 26 # is done by UIforETW (https://github.com/google/UIforETW) and therefore the 27 # manifest resource can be skipped in Chrome. 28 compile_generated_code = false 29} 30