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("//build/config/features.gni")
7 # GYP version: extensions/extensions.gyp:extensions_common
10 "api/messaging/message.h",
11 "api/sockets/sockets_manifest_data.cc",
12 "api/sockets/sockets_manifest_data.h",
13 "api/sockets/sockets_manifest_handler.cc",
14 "api/sockets/sockets_manifest_handler.h",
15 "api/sockets/sockets_manifest_permission.cc",
16 "api/sockets/sockets_manifest_permission.h",
17 "common_manifest_handlers.cc",
18 "common_manifest_handlers.h",
24 "draggable_region.cc",
30 "event_filtering_info.cc",
31 "event_filtering_info.h",
38 "extension_api_stub.cc",
39 "extension_icon_set.cc",
40 "extension_icon_set.h",
41 "extension_l10n_util.cc",
42 "extension_l10n_util.h",
43 "extension_message_generator.cc",
44 "extension_message_generator.h",
45 "extension_messages.cc",
46 "extension_messages.h",
49 "extension_resource.cc",
50 "extension_resource.h",
55 "extensions_client.cc",
56 "extensions_client.h",
59 "features/api_feature.cc",
60 "features/api_feature.h",
61 "features/base_feature_provider.cc",
62 "features/base_feature_provider.h",
63 "features/complex_feature.cc",
64 "features/complex_feature.h",
65 "features/feature.cc",
67 "features/feature_provider.cc",
68 "features/feature_provider.h",
69 "features/json_feature_provider_source.cc",
70 "features/json_feature_provider_source.h",
71 "features/manifest_feature.cc",
72 "features/manifest_feature.h",
73 "features/permission_feature.cc",
74 "features/permission_feature.h",
75 "features/simple_feature.cc",
76 "features/simple_feature.h",
77 "features/simple_feature_filter.cc",
78 "features/simple_feature_filter.h",
85 "manifest_constants.cc",
86 "manifest_constants.h",
87 "manifest_handler.cc",
89 "manifest_handler_helpers.cc",
90 "manifest_handler_helpers.h",
91 "manifest_handlers/background_info.cc",
92 "manifest_handlers/background_info.h",
93 "manifest_handlers/csp_info.cc",
94 "manifest_handlers/csp_info.h",
95 "manifest_handlers/externally_connectable.cc",
96 "manifest_handlers/externally_connectable.h",
97 "manifest_handlers/file_handler_info.cc",
98 "manifest_handlers/file_handler_info.h",
99 "manifest_handlers/icons_handler.cc",
100 "manifest_handlers/icons_handler.h",
101 "manifest_handlers/incognito_info.cc",
102 "manifest_handlers/incognito_info.h",
103 "manifest_handlers/kiosk_mode_info.cc",
104 "manifest_handlers/kiosk_mode_info.h",
105 "manifest_handlers/offline_enabled_info.cc",
106 "manifest_handlers/offline_enabled_info.h",
107 "manifest_handlers/permissions_parser.cc",
108 "manifest_handlers/permissions_parser.h",
109 "manifest_handlers/requirements_info.cc",
110 "manifest_handlers/requirements_info.h",
111 "manifest_handlers/sandboxed_page_info.cc",
112 "manifest_handlers/sandboxed_page_info.h",
113 "manifest_handlers/shared_module_info.cc",
114 "manifest_handlers/shared_module_info.h",
115 "manifest_handlers/web_accessible_resources_info.cc",
116 "manifest_handlers/web_accessible_resources_info.h",
117 "manifest_handlers/webview_info.cc",
118 "manifest_handlers/webview_info.h",
123 "permissions/api_permission.cc",
124 "permissions/api_permission.h",
125 "permissions/api_permission_set.cc",
126 "permissions/api_permission_set.h",
127 "permissions/base_set_operators.h",
128 "permissions/extensions_api_permissions.cc",
129 "permissions/extensions_api_permissions.h",
130 "permissions/manifest_permission.cc",
131 "permissions/manifest_permission.h",
132 "permissions/manifest_permission_set.cc",
133 "permissions/manifest_permission_set.h",
134 "permissions/media_galleries_permission.cc",
135 "permissions/media_galleries_permission.h",
136 "permissions/media_galleries_permission_data.cc",
137 "permissions/media_galleries_permission_data.h",
138 "permissions/permission_message.cc",
139 "permissions/permission_message.h",
140 "permissions/permission_message_provider.cc",
141 "permissions/permission_message_provider.h",
142 "permissions/permission_message_util.cc",
143 "permissions/permission_message_util.h",
144 "permissions/permission_set.cc",
145 "permissions/permission_set.h",
146 "permissions/permissions_data.cc",
147 "permissions/permissions_data.h",
148 "permissions/permissions_info.cc",
149 "permissions/permissions_info.h",
150 "permissions/permissions_provider.h",
151 "permissions/set_disjunction_permission.h",
152 "permissions/settings_override_permission.cc",
153 "permissions/settings_override_permission.h",
154 "permissions/socket_permission.cc",
155 "permissions/socket_permission.h",
156 "permissions/socket_permission_data.cc",
157 "permissions/socket_permission_data.h",
158 "permissions/socket_permission_entry.cc",
159 "permissions/socket_permission_entry.h",
160 "permissions/usb_device_permission.cc",
161 "permissions/usb_device_permission.h",
162 "permissions/usb_device_permission_data.cc",
163 "permissions/usb_device_permission_data.h",
168 "update_manifest.cc",
172 "url_pattern_set.cc",
183 # TODO(benwells): figure out what to do with the api target and
184 # api resources compiled into the chrome resource bundle.
185 # http://crbug.com/162530
186 "//chrome:resources",
187 "//components/crx_file",
188 "//components/url_matcher",
189 "//content/public/common",
191 "//extensions/common/api",
192 "//extensions/strings",
196 "//third_party/libxml",
204 if (enable_extensions) {
206 "extension_api_stub.cc",
214 "api/messaging/message.h",
215 "api/sockets/sockets_manifest_data.cc",
216 "api/sockets/sockets_manifest_data.h",
217 "api/sockets/sockets_manifest_handler.cc",
218 "api/sockets/sockets_manifest_handler.h",
219 "api/sockets/sockets_manifest_permission.cc",
220 "api/sockets/sockets_manifest_permission.h",
222 "manifest_handlers/externally_connectable.cc",
223 "manifest_handlers/externally_connectable.h",
229 "manifest_handlers/nacl_modules_handler.cc",
230 "manifest_handlers/nacl_modules_handler.h",
236 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.