Elim cr-checkbox
[chromium-blink-merge.git] / chrome / browser / resources / BUILD.gn
bloba5949a2136bf9087848bd4ca40da17c96f3acf7d
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"
9   outputs = [
10     "grit/memory_internals_resources.h",
11     "memory_internals_resources.pak",
12   ]
13   output_dir = "$root_gen_dir/chrome"
16 grit("net_internals_resources") {
17   source = "net_internals_resources.grd"
18   outputs = [
19     "grit/net_internals_resources.h",
20     "net_internals_resources.pak",
21   ]
22   output_dir = "$root_gen_dir/chrome"
25 grit("invalidations_resources") {
26   source = "invalidations_resources.grd"
27   outputs = [
28     "grit/invalidations_resources.h",
29     "invalidations_resources.pak",
30   ]
31   output_dir = "$root_gen_dir/chrome"
34 grit("password_manager_internals_resources") {
35   source = "password_manager_internals_resources.grd"
36   outputs = [
37     "grit/password_manager_internals_resources.h",
38     "password_manager_internals_resources.pak",
39   ]
40   output_dir = "$root_gen_dir/chrome"
43 grit("signin_internals_resources") {
44   source = "signin_internals_resources.grd"
45   outputs = [
46     "grit/signin_internals_resources.h",
47     "signin_internals_resources.pak",
48   ]
49   output_dir = "$root_gen_dir/chrome"
52 grit("translate_internals_resources") {
53   source = "translate_internals_resources.grd"
54   outputs = [
55     "grit/translate_internals_resources.h",
56     "translate_internals_resources.pak",
57   ]
58   output_dir = "$root_gen_dir/chrome"
61 # GYP version: copy command of chrome_extra_resources
62 copy("extension_resource_demo") {
63   sources = [
64     "extension_resource/demo/library.js",
65   ]
66   outputs = [
67     "$root_out_dir/resources/extension/demo/library.js",
68   ]
71 if (!is_ios) {
72   grit("component_extension_resources") {
73     source = "component_extension_resources.grd"
74     outputs = [
75       "grit/component_extension_resources.h",
76       "grit/component_extension_resources_map.cc",
77       "grit/component_extension_resources_map.h",
78       "component_extension_resources.pak",
79     ]
80     output_dir = "$root_gen_dir/chrome"
81   }
83   grit("settings_resources") {
84     source = "settings/settings_resources.grd"
85     outputs = [
86       "grit/settings_resources.h",
87       "grit/settings_resources_map.cc",
88       "grit/settings_resources_map.h",
89       "settings_resources.pak",
90     ]
91     output_dir = "$root_gen_dir/chrome"
92   }
94   grit("options_resources") {
95     source = "options_resources.grd"
96     outputs = [
97       "grit/options_resources.h",
98       "options_resources.pak",
99     ]
100     output_dir = "$root_gen_dir/chrome"
101   }
103   grit("options_test_resources") {
104     source = "options_test_resources.grd"
105     outputs = [
106       "grit/options_test_resources.h",
107       "options_test_resources.pak",
108     ]
109     output_dir = "$root_gen_dir/chrome"
110   }
112   grit("quota_internals_resources") {
113     source = "quota_internals_resources.grd"
114     outputs = [
115       "grit/quota_internals_resources.h",
116       "quota_internals_resources.pak",
117     ]
118     output_dir = "$root_gen_dir/chrome"
119   }
121   grit("sync_file_system_internals_resources") {
122     source = "sync_file_system_internals_resources.grd"
123     outputs = [
124       "grit/sync_file_system_internals_resources.h",
125       "sync_file_system_internals_resources.pak",
126     ]
127     output_dir = "$root_gen_dir/chrome"
128   }