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': 'static_library', | |
10 'conditions': [ | |
11 ['OS=="win"', { | |
12 'sources': [ | |
13 'chrome_events_win.man', | |
14 ], | |
15 'variables': { | |
16 'man_output_dir': '<(SHARED_INTERMEDIATE_DIR)/base/trace_event/etw_m anifest', | |
17 }, | |
18 'rules': [{ | |
19 # Rule to run the message compiler. | |
20 'rule_name': 'message_compiler', | |
21 'extension': 'man', | |
22 'outputs': [ | |
23 '<(man_output_dir)/chrome_events_win.h', | |
24 '<(man_output_dir)/chrome_events_win.rc', | |
25 ], | |
26 'action': [ | |
27 'mc.exe', | |
28 '-h', '<(man_output_dir)', | |
29 '-r', '<(man_output_dir)/.', | |
Lei Zhang
2015/04/15 08:10:35
why do you need the extra /. at the end?
Georges Khalil
2015/04/15 15:10:32
It's needed because of an apparent bug in the mc.e
| |
30 '-um', | |
31 '<(RULE_INPUT_PATH)', | |
32 ], | |
33 'message': 'Running message compiler on <(RULE_INPUT_PATH)', | |
34 }], | |
35 }], | |
36 ], | |
37 } | |
38 ] | |
39 } | |
OLD | NEW |