| 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 | 6 |
| 7 # In GYP: devtools_resources target. | 7 # In GYP: devtools_resources target. |
| 8 group("resources") { | 8 group("resources") { |
| 9 public_deps = [ | 9 public_deps = [ |
| 10 ":devtools_resources", | 10 ":devtools_resources", |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 action("gen_devtools_protocol_handler") { | 37 action("gen_devtools_protocol_handler") { |
| 38 visibility = [ "//content/browser" ] | 38 visibility = [ "//content/browser" ] |
| 39 deps = [ | 39 deps = [ |
| 40 "//third_party/WebKit/Source/core/inspector:protocol_version", | 40 "//third_party/WebKit/Source/core/inspector:protocol_version", |
| 41 ] | 41 ] |
| 42 script = "//content/browser/devtools/protocol/" + | 42 script = "//content/browser/devtools/protocol/" + |
| 43 "devtools_protocol_handler_generator.py" | 43 "devtools_protocol_handler_generator.py" |
| 44 | 44 |
| 45 blink_protocol = "$root_gen_dir/blink/core/inspector/protocol.json" | 45 blink_protocol = "$root_gen_dir/blink/core/inspector/protocol.json" |
| 46 browser_protocol = "browser_protocol.json" | |
| 47 inputs = [ | 46 inputs = [ |
| 48 blink_protocol, | 47 blink_protocol, |
| 49 browser_protocol, | |
| 50 ] | 48 ] |
| 51 | 49 |
| 52 outputs = [ | 50 outputs = [ |
| 53 "$target_gen_dir/protocol/devtools_protocol_dispatcher.cc", | 51 "$target_gen_dir/protocol/devtools_protocol_dispatcher.cc", |
| 54 "$target_gen_dir/protocol/devtools_protocol_dispatcher.h", | 52 "$target_gen_dir/protocol/devtools_protocol_dispatcher.h", |
| 55 ] | 53 ] |
| 56 | 54 |
| 57 args = | 55 args = |
| 58 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir) | 56 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir) |
| 59 } | 57 } |
| OLD | NEW |