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
3 # found in the LICENSE file.
5 import("//tools/grit/grit_rule.gni")
7 grit("memory_internals_resources") {
8 source = "memory_internals_resources.grd"
10 "grit/memory_internals_resources.h",
11 "memory_internals_resources.pak",
13 output_dir = "$root_gen_dir/chrome"
16 grit("net_internals_resources") {
17 source = "net_internals_resources.grd"
19 "grit/net_internals_resources.h",
20 "net_internals_resources.pak",
22 output_dir = "$root_gen_dir/chrome"
25 grit("invalidations_resources") {
26 source = "invalidations_resources.grd"
28 "grit/invalidations_resources.h",
29 "invalidations_resources.pak",
31 output_dir = "$root_gen_dir/chrome"
34 grit("password_manager_internals_resources") {
35 source = "password_manager_internals_resources.grd"
37 "grit/password_manager_internals_resources.h",
38 "password_manager_internals_resources.pak",
40 output_dir = "$root_gen_dir/chrome"
43 grit("signin_internals_resources") {
44 source = "signin_internals_resources.grd"
46 "grit/signin_internals_resources.h",
47 "signin_internals_resources.pak",
49 output_dir = "$root_gen_dir/chrome"
52 grit("sync_internals_resources") {
53 source = "sync_internals_resources.grd"
55 "grit/sync_internals_resources.h",
56 "sync_internals_resources.pak",
58 output_dir = "$root_gen_dir/chrome"
61 grit("translate_internals_resources") {
62 source = "translate_internals_resources.grd"
64 "grit/translate_internals_resources.h",
65 "translate_internals_resources.pak",
67 output_dir = "$root_gen_dir/chrome"
70 # GYP version: copy command of chrome_extra_resources
71 copy("extension_resource_demo") {
73 "extension_resource/demo/library.js",
76 "$root_out_dir/resources/extension/demo/library.js",
81 grit("component_extension_resources") {
82 source = "component_extension_resources.grd"
84 "grit/component_extension_resources.h",
85 "grit/component_extension_resources_map.cc",
86 "grit/component_extension_resources_map.h",
87 "component_extension_resources.pak",
89 output_dir = "$root_gen_dir/chrome"
92 grit("settings_resources") {
93 source = "settings/settings_resources.grd"
95 "grit/settings_resources.h",
96 "grit/settings_resources_map.cc",
97 "grit/settings_resources_map.h",
98 "settings_resources.pak",
100 output_dir = "$root_gen_dir/chrome"
103 grit("options_resources") {
104 source = "options_resources.grd"
106 "grit/options_resources.h",
107 "options_resources.pak",
109 output_dir = "$root_gen_dir/chrome"
112 grit("options_test_resources") {
113 source = "options_test_resources.grd"
115 "grit/options_test_resources.h",
116 "options_test_resources.pak",
118 output_dir = "$root_gen_dir/chrome"
121 grit("quota_internals_resources") {
122 source = "quota_internals_resources.grd"
124 "grit/quota_internals_resources.h",
125 "quota_internals_resources.pak",
127 output_dir = "$root_gen_dir/chrome"
130 grit("sync_file_system_internals_resources") {
131 source = "sync_file_system_internals_resources.grd"
133 "grit/sync_file_system_internals_resources.h",
134 "sync_file_system_internals_resources.pak",
136 output_dir = "$root_gen_dir/chrome"