| 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 deps = [ | 9 deps = [ |
| 10 ":devtools_resources", | 10 ":devtools_resources", |
| 11 ":devtools_protocol_handler", | 11 ":devtools_protocol_handler", |
| 12 ] | 12 ] |
| 13 } | 13 } |
| 14 | 14 |
| 15 # In GYP: devtools_resources action in the devtools_resources target. | 15 # In GYP: devtools_resources action in the devtools_resources target. |
| 16 grit("devtools_resources") { | 16 grit("devtools_resources") { |
| 17 source = "$root_gen_dir/devtools/devtools_resources.grd" | 17 source = "$root_gen_dir/devtools/devtools_resources.grd" |
| 18 | 18 |
| 19 # TOOD(brettw) remove this so the output file goes into the target_gen_dir, | 19 # TOOD(brettw) remove this so the output file goes into the target_gen_dir, |
| 20 # but keep this for not for GYP compat. | 20 # but keep this for not for GYP compat. |
| 21 output_dir = "$root_gen_dir/webkit" | 21 output_dir = "$root_gen_dir/blink" |
| 22 outputs = [ | 22 outputs = [ |
| 23 "grit/devtools_resources.h", | 23 "grit/devtools_resources.h", |
| 24 "devtools_resources.pak", | 24 "devtools_resources.pak", |
| 25 "grit/devtools_resources_map.cc", | 25 "grit/devtools_resources_map.cc", |
| 26 "grit/devtools_resources_map.h", | 26 "grit/devtools_resources_map.h", |
| 27 ] | 27 ] |
| 28 | 28 |
| 29 defines = | 29 defines = |
| 30 [ "SHARED_INTERMEDIATE_DIR=" + rebase_path(root_gen_dir, root_build_dir) ] | 30 [ "SHARED_INTERMEDIATE_DIR=" + rebase_path(root_gen_dir, root_build_dir) ] |
| 31 | 31 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 54 ] | 54 ] |
| 55 | 55 |
| 56 args = | 56 args = |
| 57 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir) | 57 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir) |
| 58 } | 58 } |
| 59 | 59 |
| 60 source_set("devtools_protocol_handler") { | 60 source_set("devtools_protocol_handler") { |
| 61 visibility = [ ":resources" ] | 61 visibility = [ ":resources" ] |
| 62 sources = get_target_outputs(":gen_devtools_protocol_handler") | 62 sources = get_target_outputs(":gen_devtools_protocol_handler") |
| 63 } | 63 } |
| OLD | NEW |