1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
|
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//chrome/common/features.gni")
import("//tools/grit/grit_rule.gni")
grit("net_internals_resources") {
source = "net_internals_resources.grd"
use_qualified_include = true
defines = chrome_grit_defines
outputs = [
"grit/net_internals_resources.h",
"net_internals_resources.pak",
]
output_dir = "$root_gen_dir/chrome"
}
grit("invalidations_resources") {
source = "invalidations_resources.grd"
use_qualified_include = true
defines = chrome_grit_defines
outputs = [
"grit/invalidations_resources.h",
"invalidations_resources.pak",
]
output_dir = "$root_gen_dir/chrome"
}
grit("password_manager_internals_resources") {
source = "password_manager_internals_resources.grd"
use_qualified_include = true
defines = chrome_grit_defines
outputs = [
"grit/password_manager_internals_resources.h",
"password_manager_internals_resources.pak",
]
output_dir = "$root_gen_dir/chrome"
}
grit("policy_resources") {
source = "md_policy/policy_resources.grd"
# TODO(thestig): use_qualified_include = true
outputs = [
"grit/policy_resources.h",
"grit/policy_resources_map.cc",
"grit/policy_resources_map.h",
"policy_resources.pak",
]
output_dir = "$root_gen_dir/chrome"
}
grit("task_scheduler_internals_resources") {
source = "task_scheduler_internals/resources.grd"
use_qualified_include = true
defines = chrome_grit_defines
outputs = [
"grit/task_scheduler_internals_resources.h",
"task_scheduler_internals_resources.pak",
]
output_dir = "$root_gen_dir/chrome"
}
grit("translate_internals_resources") {
source = "translate_internals_resources.grd"
use_qualified_include = true
defines = chrome_grit_defines
outputs = [
"grit/translate_internals_resources.h",
"translate_internals_resources.pak",
]
output_dir = "$root_gen_dir/chrome"
}
copy("extension_resource_demo") {
sources = [
"extension_resource/demo/library.js",
]
outputs = [
"$root_out_dir/resources/extension/demo/library.js",
]
}
if (!is_ios) {
grit("component_extension_resources") {
source = "component_extension_resources.grd"
# TODO(thestig): use_qualified_include = true
defines = chrome_grit_defines
outputs = [
"grit/component_extension_resources.h",
"grit/component_extension_resources_map.cc",
"grit/component_extension_resources_map.h",
"component_extension_resources.pak",
]
output_dir = "$root_gen_dir/chrome"
}
grit("settings_resources") {
source = "settings/settings_resources.grd"
# TODO(thestig): use_qualified_include = true
defines = chrome_grit_defines
outputs = [
"grit/settings_resources.h",
"grit/settings_resources_map.cc",
"grit/settings_resources_map.h",
"settings_resources.pak",
]
output_dir = "$root_gen_dir/chrome"
}
grit("options_resources") {
source = "options_resources.grd"
use_qualified_include = true
defines = chrome_grit_defines
outputs = [
"grit/options_resources.h",
"options_resources.pak",
]
output_dir = "$root_gen_dir/chrome"
}
grit("options_test_resources") {
source = "options_test_resources.grd"
use_qualified_include = true
defines = chrome_grit_defines
outputs = [
"grit/options_test_resources.h",
"options_test_resources.pak",
]
output_dir = "$root_gen_dir/chrome"
}
grit("quota_internals_resources") {
source = "quota_internals_resources.grd"
use_qualified_include = true
defines = chrome_grit_defines
outputs = [
"grit/quota_internals_resources.h",
"quota_internals_resources.pak",
]
output_dir = "$root_gen_dir/chrome"
}
grit("sync_file_system_internals_resources") {
source = "sync_file_system_internals_resources.grd"
use_qualified_include = true
defines = chrome_grit_defines
outputs = [
"grit/sync_file_system_internals_resources.h",
"sync_file_system_internals_resources.pak",
]
output_dir = "$root_gen_dir/chrome"
}
}
|