Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(343)

Side by Side Diff: content/browser/devtools/BUILD.gn

Issue 2375283004: Optionally compute grit inputs precisely. (Closed)
Patch Set: Remove implicit resource ids Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « .gn ('k') | content/browser/tracing/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 group("resources") { 7 group("resources") {
8 public_deps = [ 8 public_deps = [
9 ":devtools_resources", 9 ":devtools_resources",
10 ] 10 ]
11 } 11 }
12 12
13 grit("devtools_resources") { 13 grit("devtools_resources") {
14 source = "$root_gen_dir/devtools/devtools_resources.grd" 14 source = "$root_gen_dir/devtools/devtools_resources.grd"
15 source_is_generated = true
15 16
16 # TOOD(brettw) remove this so the output file goes into the target_gen_dir, 17 # TOOD(brettw) remove this so the output file goes into the target_gen_dir,
17 # but keep this for not for GYP compat. 18 # but keep this for not for GYP compat.
18 output_dir = "$root_gen_dir/blink" 19 output_dir = "$root_gen_dir/blink"
19 outputs = [ 20 outputs = [
20 "grit/devtools_resources.h", 21 "grit/devtools_resources.h",
21 "devtools_resources.pak", 22 "devtools_resources.pak",
22 "grit/devtools_resources_map.cc", 23 "grit/devtools_resources_map.cc",
23 "grit/devtools_resources_map.h", 24 "grit/devtools_resources_map.h",
24 ] 25 ]
(...skipping 21 matching lines...) Expand all
46 ] 47 ]
47 48
48 outputs = [ 49 outputs = [
49 "$target_gen_dir/protocol/devtools_protocol_dispatcher.cc", 50 "$target_gen_dir/protocol/devtools_protocol_dispatcher.cc",
50 "$target_gen_dir/protocol/devtools_protocol_dispatcher.h", 51 "$target_gen_dir/protocol/devtools_protocol_dispatcher.h",
51 ] 52 ]
52 53
53 args = 54 args =
54 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir) 55 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir)
55 } 56 }
OLDNEW
« no previous file with comments | « .gn ('k') | content/browser/tracing/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698