Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / browser / resources / BUILD.gn
blob92c6c4a3671a2a1960a65c2b0a0f4ba275aab808
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("sync_internals_resources") {
53   source = "sync_internals_resources.grd"
54   outputs = [
55     "grit/sync_internals_resources.h",
56     "sync_internals_resources.pak",
57   ]
58   output_dir = "$root_gen_dir/chrome"
61 grit("translate_internals_resources") {
62   source = "translate_internals_resources.grd"
63   outputs = [
64     "grit/translate_internals_resources.h",
65     "translate_internals_resources.pak",
66   ]
67   output_dir = "$root_gen_dir/chrome"
70 # GYP version: copy command of chrome_extra_resources
71 copy("extension_resource_demo") {
72   sources = [
73     "extension_resource/demo/library.js",
74   ]
75   outputs = [
76     "$root_out_dir/resources/extension/demo/library.js",
77   ]
80 if (!is_ios) {
81   grit("component_extension_resources") {
82     source = "component_extension_resources.grd"
83     outputs = [
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",
88     ]
89     output_dir = "$root_gen_dir/chrome"
90   }
92   grit("settings_resources") {
93     source = "settings/settings_resources.grd"
94     outputs = [
95       "grit/settings_resources.h",
96       "grit/settings_resources_map.cc",
97       "grit/settings_resources_map.h",
98       "settings_resources.pak",
99     ]
100     output_dir = "$root_gen_dir/chrome"
101   }
103   grit("options_resources") {
104     source = "options_resources.grd"
105     outputs = [
106       "grit/options_resources.h",
107       "options_resources.pak",
108     ]
109     output_dir = "$root_gen_dir/chrome"
110   }
112   grit("options_test_resources") {
113     source = "options_test_resources.grd"
114     outputs = [
115       "grit/options_test_resources.h",
116       "options_test_resources.pak",
117     ]
118     output_dir = "$root_gen_dir/chrome"
119   }
121   grit("quota_internals_resources") {
122     source = "quota_internals_resources.grd"
123     outputs = [
124       "grit/quota_internals_resources.h",
125       "quota_internals_resources.pak",
126     ]
127     output_dir = "$root_gen_dir/chrome"
128   }
130   grit("sync_file_system_internals_resources") {
131     source = "sync_file_system_internals_resources.grd"
132     outputs = [
133       "grit/sync_file_system_internals_resources.h",
134       "sync_file_system_internals_resources.pak",
135     ]
136     output_dir = "$root_gen_dir/chrome"
137   }