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.
5 assert(is_win, "This only runs on Windows.")
7 # Makes the .h/.rc files from the .man file.
8 action("chrome_events_win") {
10 "//base/trace_event/*",
13 script = "build/message_compiler.py"
16 "chrome_events_win.man",
20 "$target_gen_dir/chrome_events_win.h",
21 "$target_gen_dir/chrome_events_win.rc",
25 # Where to put the header.
27 rebase_path("$target_gen_dir", root_build_dir),
29 # Where to put the .rc file.
31 rebase_path("$target_gen_dir", root_build_dir),
33 # Generate the user-mode code.
35 rebase_path("chrome_events_win.man", root_build_dir),