| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
| 6 import("//third_party/inspector_protocol/inspector_protocol.gni") | 6 import("//third_party/inspector_protocol/inspector_protocol.gni") |
| 7 | 7 |
| 8 group("resources") { | 8 group("resources") { |
| 9 public_deps = [ | 9 public_deps = [ |
| 10 ":devtools_resources", | 10 ":devtools_resources", |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 inputs = [ | 51 inputs = [ |
| 52 "$root_gen_dir/blink/core/inspector/protocol.json", | 52 "$root_gen_dir/blink/core/inspector/protocol.json", |
| 53 config_file, | 53 config_file, |
| 54 ] | 54 ] |
| 55 | 55 |
| 56 # These are relative to $target_gen_dir. | 56 # These are relative to $target_gen_dir. |
| 57 outputs = [ | 57 outputs = [ |
| 58 "protocol/forward.h", | 58 "protocol/forward.h", |
| 59 "protocol/io.cc", | 59 "protocol/io.cc", |
| 60 "protocol/io.h", | 60 "protocol/io.h", |
| 61 "protocol/memory.cc", |
| 62 "protocol/memory.h", |
| 61 "protocol/protocol.cc", | 63 "protocol/protocol.cc", |
| 62 "protocol/protocol.h", | 64 "protocol/protocol.h", |
| 65 "protocol/system_info.cc", |
| 66 "protocol/system_info.h", |
| 67 "protocol/tethering.cc", |
| 68 "protocol/tethering.h", |
| 63 "protocol/tracing.cc", | 69 "protocol/tracing.cc", |
| 64 "protocol/tracing.h", | 70 "protocol/tracing.h", |
| 65 ] | 71 ] |
| 66 } | 72 } |
| 67 | 73 |
| 68 action("gen_devtools_protocol_handler") { | 74 action("gen_devtools_protocol_handler") { |
| 69 visibility = [ "//content/browser" ] | 75 visibility = [ "//content/browser" ] |
| 70 deps = [ | 76 deps = [ |
| 71 "//third_party/WebKit/Source/core/inspector:protocol_version", | 77 "//third_party/WebKit/Source/core/inspector:protocol_version", |
| 72 ] | 78 ] |
| 73 script = "//content/browser/devtools/protocol/" + | 79 script = "//content/browser/devtools/protocol/" + |
| 74 "devtools_protocol_handler_generator.py" | 80 "devtools_protocol_handler_generator.py" |
| 75 | 81 |
| 76 blink_protocol = "$root_gen_dir/blink/core/inspector/protocol.json" | 82 blink_protocol = "$root_gen_dir/blink/core/inspector/protocol.json" |
| 77 inputs = [ | 83 inputs = [ |
| 78 blink_protocol, | 84 blink_protocol, |
| 79 ] | 85 ] |
| 80 | 86 |
| 81 outputs = [ | 87 outputs = [ |
| 82 "$target_gen_dir/protocol/devtools_protocol_dispatcher.cc", | 88 "$target_gen_dir/protocol/devtools_protocol_dispatcher.cc", |
| 83 "$target_gen_dir/protocol/devtools_protocol_dispatcher.h", | 89 "$target_gen_dir/protocol/devtools_protocol_dispatcher.h", |
| 84 ] | 90 ] |
| 85 | 91 |
| 86 args = | 92 args = |
| 87 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir) | 93 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir) |
| 88 } | 94 } |
| OLD | NEW |