| Index: third_party/WebKit/Source/core/inspector/BUILD.gn
|
| diff --git a/third_party/WebKit/Source/core/inspector/BUILD.gn b/third_party/WebKit/Source/core/inspector/BUILD.gn
|
| index bbb4958517c8012aaeda140747f56f61e674decf..287ed603a1894091cb6c9a377e1ce0ba40d22d3c 100644
|
| --- a/third_party/WebKit/Source/core/inspector/BUILD.gn
|
| +++ b/third_party/WebKit/Source/core/inspector/BUILD.gn
|
| @@ -8,6 +8,7 @@ import(
|
| "//third_party/WebKit/Source/platform/inspector_protocol/inspector_protocol.gni")
|
|
|
| action("instrumentation_sources") {
|
| + visibility = [ ":*" ]
|
| script = "CodeGeneratorInstrumentation.py"
|
|
|
| inputs = [
|
| @@ -108,16 +109,26 @@ inspector_protocol_generate("protocol_sources") {
|
| }
|
|
|
| # Compiles the sources generated above.
|
| -source_set("protocol") {
|
| - sources = get_target_outputs(":protocol_sources")
|
| +source_set("inspector") {
|
| + sources = get_target_outputs(":protocol_sources") +
|
| + get_target_outputs(":instrumentation_sources")
|
|
|
| configs -= core_config_remove
|
| - configs +=
|
| - core_config_add + [ "//third_party/WebKit/Source/core:core_include_dirs" ]
|
| + configs += core_config_add + [
|
| + "../..:inside_blink",
|
| + "//third_party/WebKit/Source/core:core_include_dirs",
|
| + ]
|
| +
|
| + if (is_win) {
|
| + cflags = [ "/wd4702" ] # Unreachable code.
|
| + }
|
|
|
| deps = [
|
| + ":instrumentation_sources",
|
| ":protocol_sources",
|
| + "//skia",
|
| "//third_party/WebKit/Source/wtf",
|
| + "//v8",
|
| ]
|
| }
|
|
|
|
|