Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(769)

Side by Side Diff: base/trace_event/etw_manifest/BUILD.gn

Issue 1122613002: Make the Windows multi_dll build work in GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@buildflags
Patch Set: chromeos and android Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | build/json_schema_api.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 assert(is_win, "This only runs on Windows.") 5 assert(is_win, "This only runs on Windows.")
6 6
7 # Makes the .h/.rc files from the .man file. 7 # Makes the .h/.rc files from the .man file.
8 action("chrome_events_win") { 8 action("chrome_events_win_generate") {
9 visibility = [ 9 visibility = [ ":*" ]
10 "//base/trace_event/*",
11 "//chrome:main_dll",
12 ]
13 script = "build/message_compiler.py" 10 script = "build/message_compiler.py"
14 11
15 sources = [ 12 sources = [
16 "chrome_events_win.man", 13 "chrome_events_win.man",
17 ] 14 ]
18 15
19 outputs = [ 16 outputs = [
20 "$target_gen_dir/chrome_events_win.h", 17 "$target_gen_dir/chrome_events_win.h",
21 "$target_gen_dir/chrome_events_win.rc", 18 "$target_gen_dir/chrome_events_win.rc",
22 ] 19 ]
23 20
24 args = [ 21 args = [
25 # Where to put the header. 22 # Where to put the header.
26 "-h", 23 "-h",
27 rebase_path("$target_gen_dir", root_build_dir), 24 rebase_path("$target_gen_dir", root_build_dir),
28 25
29 # Where to put the .rc file. 26 # Where to put the .rc file.
30 "-r", 27 "-r",
31 rebase_path("$target_gen_dir", root_build_dir), 28 rebase_path("$target_gen_dir", root_build_dir),
32 29
33 # Generate the user-mode code. 30 # Generate the user-mode code.
34 "-um", 31 "-um",
35 rebase_path("chrome_events_win.man", root_build_dir), 32 rebase_path("chrome_events_win.man", root_build_dir),
36 ] 33 ]
37 } 34 }
35
36 # Compile the generated files.
37 source_set("chrome_events_win") {
38 visibility = [
39 "//base/trace_event/*",
40 "//chrome:main_dll",
41 ]
42
43 sources = get_target_outputs(":chrome_events_win_generate")
44
45 deps = [
46 ":chrome_events_win_generate",
47 ]
48 }
OLDNEW
« no previous file with comments | « no previous file | build/json_schema_api.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698