| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 config_file = "protocol_config.json" | 48 config_file = "protocol_config.json" |
| 49 config_values = [ "protocol.path=$_blink_protocol_path" ] | 49 config_values = [ "protocol.path=$_blink_protocol_path" ] |
| 50 | 50 |
| 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/dom.cc", |
| 59 "protocol/dom.h", |
| 60 "protocol/emulation.cc", |
| 61 "protocol/emulation.h", |
| 58 "protocol/forward.h", | 62 "protocol/forward.h", |
| 63 "protocol/inspector.cc", |
| 64 "protocol/inspector.h", |
| 59 "protocol/io.cc", | 65 "protocol/io.cc", |
| 60 "protocol/io.h", | 66 "protocol/io.h", |
| 61 "protocol/memory.cc", | 67 "protocol/memory.cc", |
| 62 "protocol/memory.h", | 68 "protocol/memory.h", |
| 69 "protocol/network.cc", |
| 70 "protocol/network.h", |
| 71 "protocol/page.cc", |
| 72 "protocol/page.h", |
| 63 "protocol/protocol.cc", | 73 "protocol/protocol.cc", |
| 64 "protocol/protocol.h", | 74 "protocol/protocol.h", |
| 75 "protocol/schema.cc", |
| 76 "protocol/schema.h", |
| 65 "protocol/system_info.cc", | 77 "protocol/system_info.cc", |
| 66 "protocol/system_info.h", | 78 "protocol/system_info.h", |
| 67 "protocol/tethering.cc", | 79 "protocol/tethering.cc", |
| 68 "protocol/tethering.h", | 80 "protocol/tethering.h", |
| 69 "protocol/tracing.cc", | 81 "protocol/tracing.cc", |
| 70 "protocol/tracing.h", | 82 "protocol/tracing.h", |
| 71 ] | 83 ] |
| 72 } | 84 } |
| 73 | 85 |
| 74 action("gen_devtools_protocol_handler") { | 86 action("gen_devtools_protocol_handler") { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 85 ] | 97 ] |
| 86 | 98 |
| 87 outputs = [ | 99 outputs = [ |
| 88 "$target_gen_dir/protocol/devtools_protocol_dispatcher.cc", | 100 "$target_gen_dir/protocol/devtools_protocol_dispatcher.cc", |
| 89 "$target_gen_dir/protocol/devtools_protocol_dispatcher.h", | 101 "$target_gen_dir/protocol/devtools_protocol_dispatcher.h", |
| 90 ] | 102 ] |
| 91 | 103 |
| 92 args = | 104 args = |
| 93 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir) | 105 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir) |
| 94 } | 106 } |
| OLD | NEW |