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 assert(is_win, "This only runs on Windows.") | |
6 | |
7 # Makes the .h/.rc files from the .man file. | |
8 action("chrome_events_win") { | |
9 visibility = [ | |
10 "//chrome:main_dll", | |
Lei Zhang
2015/04/10 23:50:13
nit: alphabetical order
Georges Khalil
2015/04/13 13:44:46
Done.
| |
11 "//base/trace_event/*", | |
12 ] | |
13 script = "build/message_compiler.py" | |
14 | |
15 sources = [ | |
16 "chrome_events_win.man", | |
17 ] | |
18 | |
19 outputs = [ | |
20 "$target_gen_dir/chrome_events_win.h", | |
21 "$target_gen_dir/chrome_events_win.rc", | |
22 ] | |
23 | |
24 args = [ | |
25 # Where to put the header. | |
26 "-h", | |
27 rebase_path("$target_gen_dir", root_build_dir), | |
28 | |
29 # Where to put the .rc file. | |
30 "-r", | |
31 rebase_path("$target_gen_dir", root_build_dir), | |
32 | |
33 # Generate the user-mode code. | |
34 "-um", | |
35 rebase_path("chrome_events_win.man", root_build_dir), | |
36 ] | |
37 } | |
OLD | NEW |