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 = [ | 9 outputs = [ |
10 "grit/memory_internals_resources.h", | 10 "grit/memory_internals_resources.h", |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 # GYP version: copy command of chrome_extra_resources | 61 # GYP version: copy command of chrome_extra_resources |
62 copy("extension_resource_demo") { | 62 copy("extension_resource_demo") { |
63 sources = [ | 63 sources = [ |
64 "extension_resource/demo/library.js", | 64 "extension_resource/demo/library.js", |
65 ] | 65 ] |
66 outputs = [ | 66 outputs = [ |
67 "$root_out_dir/resources/extension/demo/library.js", | 67 "$root_out_dir/resources/extension/demo/library.js", |
68 ] | 68 ] |
69 } | 69 } |
70 | 70 |
| 71 grit("policy_resources") { |
| 72 source = "md_policy/policy_resources.grd" |
| 73 outputs = [ |
| 74 "grit/policy_resources.h", |
| 75 "grit/policy_resources_map.cc", |
| 76 "grit/policy_resources_map.h", |
| 77 "policy_resources.pak", |
| 78 ] |
| 79 output_dir = "$root_gen_dir/chrome" |
| 80 } |
| 81 |
71 if (!is_ios) { | 82 if (!is_ios) { |
72 grit("component_extension_resources") { | 83 grit("component_extension_resources") { |
73 source = "component_extension_resources.grd" | 84 source = "component_extension_resources.grd" |
74 outputs = [ | 85 outputs = [ |
75 "grit/component_extension_resources.h", | 86 "grit/component_extension_resources.h", |
76 "grit/component_extension_resources_map.cc", | 87 "grit/component_extension_resources_map.cc", |
77 "grit/component_extension_resources_map.h", | 88 "grit/component_extension_resources_map.h", |
78 "component_extension_resources.pak", | 89 "component_extension_resources.pak", |
79 ] | 90 ] |
80 output_dir = "$root_gen_dir/chrome" | 91 output_dir = "$root_gen_dir/chrome" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 | 131 |
121 grit("sync_file_system_internals_resources") { | 132 grit("sync_file_system_internals_resources") { |
122 source = "sync_file_system_internals_resources.grd" | 133 source = "sync_file_system_internals_resources.grd" |
123 outputs = [ | 134 outputs = [ |
124 "grit/sync_file_system_internals_resources.h", | 135 "grit/sync_file_system_internals_resources.h", |
125 "sync_file_system_internals_resources.pak", | 136 "sync_file_system_internals_resources.pak", |
126 ] | 137 ] |
127 output_dir = "$root_gen_dir/chrome" | 138 output_dir = "$root_gen_dir/chrome" |
128 } | 139 } |
129 } | 140 } |
OLD | NEW |