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

Side by Side Diff: third_party/WebKit/Source/core/instrumentation/BUILD.gn

Issue 2772613002: [instrumentation] Rename InspectorInstrumentation into CoreProbes (Closed)
Patch Set: sinkFor -> toCoreProbesSink Created 3 years, 8 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
OLDNEW
(Empty)
1 # Copyright 2017 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 import("//third_party/WebKit/Source/core/core.gni")
6
7 blink_core_sources("instrumentation") {
8 sources = [
9 "CoreProbes.cpp",
10 "CoreProbes.h",
11 ]
12 }
13
14 action("instrumentation_probes") {
15 script = "../../platform/instrumentation/InstrumentingProbesCodeGenerator.py"
16
17 inputs = [
18 # Input file for the script.
19 "CoreProbes.pidl",
20
21 # Templates
22 "../../platform/instrumentation/templates/InstrumentingProbesImpl.cpp.tmpl",
23 "../../platform/instrumentation/templates/InstrumentingProbesInl.h.tmpl",
24 "../../platform/instrumentation/templates/ProbesSink.h.tmpl",
25 ]
26
27 outputs = [
28 "$blink_core_output_dir/InspectorInstrumentationInl.h",
29 "$blink_core_output_dir/InspectorOverridesInl.h",
30 "$blink_core_output_dir/CoreProbesImpl.cpp",
31 "$blink_core_output_dir/CoreProbesSink.h",
32 ]
33
34 args = [
35 rebase_path(inputs[0], root_build_dir),
36 "--output_dir",
37 rebase_path(blink_core_output_dir, root_build_dir),
38 ]
39 }
40
41 # Compiles the sources generated above.
42 source_set("generated") {
43 sources = get_target_outputs(":instrumentation_probes")
44
45 configs -= core_config_remove
46 configs += core_config_add + [
47 "//third_party/WebKit/Source/core:core_include_dirs",
48 ]
49
50 if (is_win) {
51 cflags = [ "/wd4702" ] # Unreachable code.
52 }
53
54 deps = [
55 ":instrumentation_probes",
56 "//skia",
57 "//third_party/WebKit/Source/wtf",
58 "//v8",
59 ]
60 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698