| Index: chrome/common/extensions/BUILD.gn
|
| diff --git a/chrome/common/extensions/BUILD.gn b/chrome/common/extensions/BUILD.gn
|
| index 3d7c60444189c33f451fed76267db6c3c0cfba08..c7ae10fd7170982b84b234761b0ca56488d6e630 100644
|
| --- a/chrome/common/extensions/BUILD.gn
|
| +++ b/chrome/common/extensions/BUILD.gn
|
| @@ -3,6 +3,7 @@
|
| # found in the LICENSE file.
|
|
|
| import("//build/config/features.gni")
|
| +import("//build/config/ui.gni")
|
| import("//extensions/features/features.gni")
|
| import("//mojo/public/tools/bindings/mojom.gni")
|
| import("//tools/json_schema_compiler/json_features.gni")
|
| @@ -38,3 +39,115 @@ mojom("mojo_bindings") {
|
| "//mojo/common:common_custom_types",
|
| ]
|
| }
|
| +
|
| +source_set("extensions") {
|
| + sources = [
|
| + "api/automation_api_constants.h",
|
| + "api/commands/commands_handler.cc",
|
| + "api/commands/commands_handler.h",
|
| + "api/extension_action/action_info.cc",
|
| + "api/extension_action/action_info.h",
|
| + "api/notifications/notification_style.cc",
|
| + "api/notifications/notification_style.h",
|
| + "api/omnibox/omnibox_handler.cc",
|
| + "api/omnibox/omnibox_handler.h",
|
| + "api/speech/tts_engine_manifest_handler.cc",
|
| + "api/speech/tts_engine_manifest_handler.h",
|
| + "api/spellcheck/spellcheck_handler.cc",
|
| + "api/spellcheck/spellcheck_handler.h",
|
| + "api/storage/storage_schema_manifest_handler.cc",
|
| + "api/storage/storage_schema_manifest_handler.h",
|
| + "api/system_indicator/system_indicator_handler.cc",
|
| + "api/system_indicator/system_indicator_handler.h",
|
| + "api/url_handlers/url_handlers_parser.cc",
|
| + "api/url_handlers/url_handlers_parser.h",
|
| + "api/webstore/webstore_api_constants.cc",
|
| + "api/webstore/webstore_api_constants.h",
|
| + "chrome_aliases.cc",
|
| + "chrome_aliases.h",
|
| + "chrome_extension_messages.h",
|
| + "chrome_extensions_client.cc",
|
| + "chrome_extensions_client.h",
|
| + "chrome_manifest_handlers.cc",
|
| + "chrome_manifest_handlers.h",
|
| + "chrome_manifest_url_handlers.cc",
|
| + "chrome_manifest_url_handlers.h",
|
| + "chrome_utility_extensions_messages.h",
|
| + "command.cc",
|
| + "command.h",
|
| + "extension_constants.cc",
|
| + "extension_constants.h",
|
| + "extension_metrics.cc",
|
| + "extension_metrics.h",
|
| + "extension_process_policy.cc",
|
| + "extension_process_policy.h",
|
| + "image_writer/image_writer_util_mac.cc",
|
| + "image_writer/image_writer_util_mac.h",
|
| + "manifest_handlers/app_icon_color_info.cc",
|
| + "manifest_handlers/app_icon_color_info.h",
|
| + "manifest_handlers/app_launch_info.cc",
|
| + "manifest_handlers/app_launch_info.h",
|
| + "manifest_handlers/automation.cc",
|
| + "manifest_handlers/automation.h",
|
| + "manifest_handlers/content_scripts_handler.cc",
|
| + "manifest_handlers/content_scripts_handler.h",
|
| + "manifest_handlers/extension_action_handler.cc",
|
| + "manifest_handlers/extension_action_handler.h",
|
| + "manifest_handlers/linked_app_icons.cc",
|
| + "manifest_handlers/linked_app_icons.h",
|
| + "manifest_handlers/minimum_chrome_version_checker.cc",
|
| + "manifest_handlers/minimum_chrome_version_checker.h",
|
| + "manifest_handlers/settings_overrides_handler.cc",
|
| + "manifest_handlers/settings_overrides_handler.h",
|
| + "manifest_handlers/theme_handler.cc",
|
| + "manifest_handlers/theme_handler.h",
|
| + "manifest_handlers/ui_overrides_handler.cc",
|
| + "manifest_handlers/ui_overrides_handler.h",
|
| + "mojom/inline_install_traits.h",
|
| + "permissions/chrome_api_permissions.cc",
|
| + "permissions/chrome_api_permissions.h",
|
| + "permissions/chrome_permission_message_provider.cc",
|
| + "permissions/chrome_permission_message_provider.h",
|
| + "permissions/chrome_permission_message_rules.cc",
|
| + "permissions/chrome_permission_message_rules.h",
|
| + "sync_helper.cc",
|
| + "sync_helper.h",
|
| + "webstore_install_result.cc",
|
| + "webstore_install_result.h",
|
| + ]
|
| + public_deps = [
|
| + "//chrome/app:chromium_strings",
|
| + "//chrome/app:generated_resources",
|
| + "//chrome/common:constants",
|
| + "//chrome/common:resources_grit",
|
| + "//chrome/common:url_constants",
|
| + "//chrome/common/extensions:mojo_bindings",
|
| + "//chrome/common/extensions/api",
|
| + "//chrome/common/extensions/api:extensions_features",
|
| + "//chrome/common/media_galleries",
|
| + "//components/cloud_devices/common",
|
| + "//components/policy/core/common",
|
| + "//components/version_info",
|
| + "//device/usb",
|
| + "//extensions:extensions_resources",
|
| + "//extensions/common",
|
| + "//extensions/common/api",
|
| + "//extensions/strings",
|
| + "//media/cast:net",
|
| + "//ui/message_center",
|
| + ]
|
| + if (is_chromeos) {
|
| + sources += [
|
| + "api/file_browser_handlers/file_browser_handler.cc",
|
| + "api/file_browser_handlers/file_browser_handler.h",
|
| + "api/file_system_provider_capabilities/file_system_provider_capabilities_handler.cc",
|
| + "api/file_system_provider_capabilities/file_system_provider_capabilities_handler.h",
|
| + "api/input_ime/input_components_handler.cc",
|
| + "api/input_ime/input_components_handler.h",
|
| + ]
|
| + }
|
| + if (use_aura) {
|
| + # This dependency is for a header used only by extensions code.
|
| + public_deps += [ "//ui/keyboard:keyboard_with_content" ]
|
| + }
|
| +}
|
|
|