| OLD | NEW |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. | 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 | 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 import("//third_party/WebKit/Source/core/core.gni") | 5 import("//third_party/WebKit/Source/core/core.gni") |
| 6 | 6 |
| 7 blink_core_sources("probe") { | 7 blink_core_sources("probe") { |
| 8 sources = [ | 8 sources = [ |
| 9 "CoreProbes.cpp", | 9 "CoreProbes.cpp", |
| 10 "CoreProbes.h", | 10 "CoreProbes.h", |
| 11 ] | 11 ] |
| 12 } | 12 } |
| 13 | 13 |
| 14 action("instrumentation_probes") { | 14 action("instrumentation_probes") { |
| 15 script = "../../build/scripts/make_instrumenting_probes.py" | 15 script = "../../build/scripts/make_instrumenting_probes.py" |
| 16 | 16 |
| 17 inputs = [ | 17 inputs = [ |
| 18 "CoreProbes.pidl", | 18 "CoreProbes.pidl", |
| 19 "CoreProbes.json5", | 19 "CoreProbes.json5", |
| 20 "../../build/scripts/templates/InstrumentingProbesImpl.cpp.tmpl", | 20 "../../build/scripts/templates/InstrumentingProbesImpl.cpp.tmpl", |
| 21 "../../build/scripts/templates/InstrumentingProbesInl.h.tmpl", | 21 "../../build/scripts/templates/InstrumentingProbesInl.h.tmpl", |
| 22 "../../build/scripts/templates/ProbeSink.h.tmpl", | 22 "../../build/scripts/templates/ProbeSink.h.tmpl", |
| 23 ] | 23 ] |
| 24 | 24 |
| 25 outputs = [ | 25 outputs = [ |
| 26 "$blink_core_output_dir/CoreProbesInl.h", | 26 "$blink_core_output_dir/CoreProbesInl.h", |
| 27 "$blink_core_output_dir/InspectorOverridesInl.h", | |
| 28 "$blink_core_output_dir/CoreProbesImpl.cpp", | 27 "$blink_core_output_dir/CoreProbesImpl.cpp", |
| 29 "$blink_core_output_dir/CoreProbeSink.h", | 28 "$blink_core_output_dir/CoreProbeSink.h", |
| 30 ] | 29 ] |
| 31 | 30 |
| 32 args = [ | 31 args = [ |
| 33 rebase_path(inputs[0], root_build_dir), | 32 rebase_path(inputs[0], root_build_dir), |
| 34 "--config", | 33 "--config", |
| 35 rebase_path("CoreProbes.json5", root_build_dir), | 34 rebase_path("CoreProbes.json5", root_build_dir), |
| 36 "--output_dir", | 35 "--output_dir", |
| 37 rebase_path(blink_core_output_dir, root_build_dir), | 36 rebase_path(blink_core_output_dir, root_build_dir), |
| (...skipping 12 matching lines...) Expand all Loading... |
| 50 cflags = [ "/wd4702" ] # Unreachable code. | 49 cflags = [ "/wd4702" ] # Unreachable code. |
| 51 } | 50 } |
| 52 | 51 |
| 53 deps = [ | 52 deps = [ |
| 54 ":instrumentation_probes", | 53 ":instrumentation_probes", |
| 55 "//skia", | 54 "//skia", |
| 56 "//third_party/WebKit/Source/wtf", | 55 "//third_party/WebKit/Source/wtf", |
| 57 "//v8", | 56 "//v8", |
| 58 ] | 57 ] |
| 59 } | 58 } |
| OLD | NEW |