| OLD | NEW |
| (Empty) |
| 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 { | |
| 5 'targets': [ | |
| 6 { | |
| 7 # GN version: //base/trace_event/etw_manifest/BUILD.gn | |
| 8 'target_name': 'etw_manifest', | |
| 9 'type': 'none', | |
| 10 'toolsets': ['host', 'target'], | |
| 11 'hard_dependency': 1, | |
| 12 'conditions': [ | |
| 13 ['OS=="win"', { | |
| 14 'sources': [ | |
| 15 'chrome_events_win.man', | |
| 16 ], | |
| 17 'variables': { | |
| 18 'man_output_dir': '<(SHARED_INTERMEDIATE_DIR)/base/trace_event/etw_m
anifest', | |
| 19 }, | |
| 20 'rules': [{ | |
| 21 # Rule to run the message compiler. | |
| 22 'rule_name': 'message_compiler', | |
| 23 'extension': 'man', | |
| 24 'outputs': [ | |
| 25 '<(man_output_dir)/chrome_events_win.h', | |
| 26 '<(man_output_dir)/chrome_events_win.rc', | |
| 27 ], | |
| 28 'action': [ | |
| 29 'mc.exe', | |
| 30 '-h', '<(man_output_dir)', | |
| 31 '-r', '<(man_output_dir)/.', | |
| 32 '-um', | |
| 33 '<(RULE_INPUT_PATH)', | |
| 34 ], | |
| 35 'message': 'Running message compiler on <(RULE_INPUT_PATH)', | |
| 36 }], | |
| 37 }], | |
| 38 ], | |
| 39 } | |
| 40 ] | |
| 41 } | |
| OLD | NEW |