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 18 matching lines...) Expand all Loading... |
29 [ "SHARED_INTERMEDIATE_DIR=" + rebase_path(root_gen_dir, root_build_dir) ] | 29 [ "SHARED_INTERMEDIATE_DIR=" + rebase_path(root_gen_dir, root_build_dir) ] |
30 | 30 |
31 deps = [ | 31 deps = [ |
32 # This is the action that generates out .grd input file. | 32 # This is the action that generates out .grd input file. |
33 "//third_party/WebKit/public:blink_generate_devtools_grd", | 33 "//third_party/WebKit/public:blink_generate_devtools_grd", |
34 ] | 34 ] |
35 } | 35 } |
36 | 36 |
37 action("gen_devtools_protocol_handler") { | 37 action("gen_devtools_protocol_handler") { |
38 visibility = [ "//content/browser" ] | 38 visibility = [ "//content/browser" ] |
39 | 39 deps = [ |
| 40 "//third_party/WebKit/Source/core/inspector:protocol_version", |
| 41 ] |
40 script = "//content/browser/devtools/protocol/" + | 42 script = "//content/browser/devtools/protocol/" + |
41 "devtools_protocol_handler_generator.py" | 43 "devtools_protocol_handler_generator.py" |
42 | 44 |
43 blink_protocol = "//third_party/WebKit/Source/devtools/protocol.json" | 45 blink_protocol = "$root_gen_dir/blink/core/inspector/protocol.json" |
44 browser_protocol = "browser_protocol.json" | 46 browser_protocol = "browser_protocol.json" |
45 inputs = [ | 47 inputs = [ |
46 blink_protocol, | 48 blink_protocol, |
47 browser_protocol, | 49 browser_protocol, |
48 ] | 50 ] |
49 | 51 |
50 outputs = [ | 52 outputs = [ |
51 "$target_gen_dir/protocol/devtools_protocol_dispatcher.cc", | 53 "$target_gen_dir/protocol/devtools_protocol_dispatcher.cc", |
52 "$target_gen_dir/protocol/devtools_protocol_dispatcher.h", | 54 "$target_gen_dir/protocol/devtools_protocol_dispatcher.h", |
53 ] | 55 ] |
54 | 56 |
55 args = | 57 args = |
56 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir) | 58 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir) |
57 } | 59 } |
OLD | NEW |