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. | |
8 group("resources") { | 7 group("resources") { |
9 public_deps = [ | 8 public_deps = [ |
10 ":devtools_resources", | 9 ":devtools_resources", |
11 ] | 10 ] |
12 } | 11 } |
13 | 12 |
14 # In GYP: devtools_resources action in the devtools_resources target. | |
15 grit("devtools_resources") { | 13 grit("devtools_resources") { |
16 source = "$root_gen_dir/devtools/devtools_resources.grd" | 14 source = "$root_gen_dir/devtools/devtools_resources.grd" |
17 | 15 |
18 # TOOD(brettw) remove this so the output file goes into the target_gen_dir, | 16 # TOOD(brettw) remove this so the output file goes into the target_gen_dir, |
19 # but keep this for not for GYP compat. | 17 # but keep this for not for GYP compat. |
20 output_dir = "$root_gen_dir/blink" | 18 output_dir = "$root_gen_dir/blink" |
21 outputs = [ | 19 outputs = [ |
22 "grit/devtools_resources.h", | 20 "grit/devtools_resources.h", |
23 "devtools_resources.pak", | 21 "devtools_resources.pak", |
24 "grit/devtools_resources_map.cc", | 22 "grit/devtools_resources_map.cc", |
(...skipping 23 matching lines...) Expand all Loading... |
48 ] | 46 ] |
49 | 47 |
50 outputs = [ | 48 outputs = [ |
51 "$target_gen_dir/protocol/devtools_protocol_dispatcher.cc", | 49 "$target_gen_dir/protocol/devtools_protocol_dispatcher.cc", |
52 "$target_gen_dir/protocol/devtools_protocol_dispatcher.h", | 50 "$target_gen_dir/protocol/devtools_protocol_dispatcher.h", |
53 ] | 51 ] |
54 | 52 |
55 args = | 53 args = |
56 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir) | 54 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir) |
57 } | 55 } |
OLD | NEW |