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 grit("memory_internals_resources") { | 7 grit("memory_internals_resources") { |
8 source = "memory_internals_resources.grd" | 8 source = "memory_internals_resources.grd" |
| 9 outputs = [ |
| 10 "grit/memory_internals_resources.h", |
| 11 "memory_internals_resources.pak", |
| 12 ] |
9 } | 13 } |
10 | 14 |
11 grit("net_internals_resources") { | 15 grit("net_internals_resources") { |
12 source = "net_internals_resources.grd" | 16 source = "net_internals_resources.grd" |
| 17 outputs = [ |
| 18 "grit/net_internals_resources.h", |
| 19 "net_internals_resources.pak", |
| 20 ] |
13 } | 21 } |
14 | 22 |
15 grit("invalidations_resources") { | 23 grit("invalidations_resources") { |
16 source = "invalidations_resources.grd" | 24 source = "invalidations_resources.grd" |
| 25 outputs = [ |
| 26 "grit/invalidations_resources.h", |
| 27 "invalidations_resources.pak", |
| 28 ] |
17 } | 29 } |
18 | 30 |
19 grit("password_manager_internals_resources") { | 31 grit("password_manager_internals_resources") { |
20 source = "password_manager_internals_resources.grd" | 32 source = "password_manager_internals_resources.grd" |
| 33 outputs = [ |
| 34 "grit/password_manager_internals_resources.h", |
| 35 "password_manager_internals_resources.pak", |
| 36 ] |
21 } | 37 } |
22 | 38 |
23 grit("signin_internals_resources") { | 39 grit("signin_internals_resources") { |
24 source = "signin_internals_resources.grd" | 40 source = "signin_internals_resources.grd" |
| 41 outputs = [ |
| 42 "grit/signin_internals_resources.h", |
| 43 "signin_internals_resources.pak", |
| 44 ] |
25 } | 45 } |
26 | 46 |
27 grit("sync_internals_resources") { | 47 grit("sync_internals_resources") { |
28 source = "sync_internals_resources.grd" | 48 source = "sync_internals_resources.grd" |
| 49 outputs = [ |
| 50 "grit/sync_internals_resources.h", |
| 51 "sync_internals_resources.pak", |
| 52 ] |
29 } | 53 } |
30 | 54 |
31 grit("translate_internals_resources") { | 55 grit("translate_internals_resources") { |
32 source = "translate_internals_resources.grd" | 56 source = "translate_internals_resources.grd" |
| 57 outputs = [ |
| 58 "grit/translate_internals_resources.h", |
| 59 "translate_internals_resources.pak", |
| 60 ] |
33 } | 61 } |
34 | 62 |
35 # GYP version: copy command of chrome_extra_resources | 63 # GYP version: copy command of chrome_extra_resources |
36 copy("extension_resource_demo") { | 64 copy("extension_resource_demo") { |
37 sources = [ "extension_resource/demo/library.js" ] | 65 sources = [ "extension_resource/demo/library.js" ] |
38 outputs = [ "$root_out_dir/resources/extension/demo/library.js" ] | 66 outputs = [ "$root_out_dir/resources/extension/demo/library.js" ] |
39 } | 67 } |
40 | 68 |
41 if (!is_ios) { | 69 if (!is_ios) { |
42 grit("component_extension_resources") { | 70 grit("component_extension_resources") { |
43 source = "component_extension_resources.grd" | 71 source = "component_extension_resources.grd" |
| 72 outputs = [ |
| 73 "grit/component_extension_resources.h", |
| 74 "grit/component_extension_resources_map.cc", |
| 75 "grit/component_extension_resources_map.h", |
| 76 "component_extension_resources.pak", |
| 77 ] |
44 } | 78 } |
45 | 79 |
46 grit("options_resources") { | 80 grit("options_resources") { |
47 source = "options_resources.grd" | 81 source = "options_resources.grd" |
| 82 outputs = [ |
| 83 "grit/options_resources.h", |
| 84 "options_resources.pak", |
| 85 ] |
48 } | 86 } |
49 | 87 |
50 grit("quota_internals_resources") { | 88 grit("quota_internals_resources") { |
51 source = "quota_internals_resources.grd" | 89 source = "quota_internals_resources.grd" |
| 90 outputs = [ |
| 91 "grit/quota_internals_resources.h", |
| 92 "quota_internals_resources.pak", |
| 93 ] |
52 } | 94 } |
53 | 95 |
54 grit("sync_file_system_internals_resources") { | 96 grit("sync_file_system_internals_resources") { |
55 source = "sync_file_system_internals_resources.grd" | 97 source = "sync_file_system_internals_resources.grd" |
| 98 outputs = [ |
| 99 "grit/sync_file_system_internals_resources.h", |
| 100 "sync_file_system_internals_resources.pak", |
| 101 ] |
56 } | 102 } |
57 } | 103 } |
OLD | NEW |