| 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 "//base/trace_event/*", | |
| 11 "//chrome:main_dll", | |
| 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 |