Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Side by Side Diff: chrome/common/extensions/BUILD.gn

Issue 2952243002: Break up chrome/common:common
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/BUILD.gn ('k') | chrome/common/media_galleries/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni")
6 import("//extensions/features/features.gni") 7 import("//extensions/features/features.gni")
7 import("//mojo/public/tools/bindings/mojom.gni") 8 import("//mojo/public/tools/bindings/mojom.gni")
8 import("//tools/json_schema_compiler/json_features.gni") 9 import("//tools/json_schema_compiler/json_features.gni")
9 10
10 assert(enable_extensions) 11 assert(enable_extensions)
11 12
12 json_features("extension_features_unittest") { 13 json_features("extension_features_unittest") {
13 feature_type = "APIFeature" 14 feature_type = "APIFeature"
14 provider_class = "UnittestFeatureProvider" 15 provider_class = "UnittestFeatureProvider"
15 sources = [ 16 sources = [
(...skipping 15 matching lines...) Expand all
31 ] 32 ]
32 33
33 if (is_win) { 34 if (is_win) {
34 sources += [ "wifi_credentials_getter.mojom" ] 35 sources += [ "wifi_credentials_getter.mojom" ]
35 } 36 }
36 37
37 public_deps = [ 38 public_deps = [
38 "//mojo/common:common_custom_types", 39 "//mojo/common:common_custom_types",
39 ] 40 ]
40 } 41 }
42
43 source_set("extensions") {
44 sources = [
45 "api/automation_api_constants.h",
46 "api/commands/commands_handler.cc",
47 "api/commands/commands_handler.h",
48 "api/extension_action/action_info.cc",
49 "api/extension_action/action_info.h",
50 "api/notifications/notification_style.cc",
51 "api/notifications/notification_style.h",
52 "api/omnibox/omnibox_handler.cc",
53 "api/omnibox/omnibox_handler.h",
54 "api/speech/tts_engine_manifest_handler.cc",
55 "api/speech/tts_engine_manifest_handler.h",
56 "api/spellcheck/spellcheck_handler.cc",
57 "api/spellcheck/spellcheck_handler.h",
58 "api/storage/storage_schema_manifest_handler.cc",
59 "api/storage/storage_schema_manifest_handler.h",
60 "api/system_indicator/system_indicator_handler.cc",
61 "api/system_indicator/system_indicator_handler.h",
62 "api/url_handlers/url_handlers_parser.cc",
63 "api/url_handlers/url_handlers_parser.h",
64 "api/webstore/webstore_api_constants.cc",
65 "api/webstore/webstore_api_constants.h",
66 "chrome_aliases.cc",
67 "chrome_aliases.h",
68 "chrome_extension_messages.h",
69 "chrome_extensions_client.cc",
70 "chrome_extensions_client.h",
71 "chrome_manifest_handlers.cc",
72 "chrome_manifest_handlers.h",
73 "chrome_manifest_url_handlers.cc",
74 "chrome_manifest_url_handlers.h",
75 "chrome_utility_extensions_messages.h",
76 "command.cc",
77 "command.h",
78 "extension_constants.cc",
79 "extension_constants.h",
80 "extension_metrics.cc",
81 "extension_metrics.h",
82 "extension_process_policy.cc",
83 "extension_process_policy.h",
84 "image_writer/image_writer_util_mac.cc",
85 "image_writer/image_writer_util_mac.h",
86 "manifest_handlers/app_icon_color_info.cc",
87 "manifest_handlers/app_icon_color_info.h",
88 "manifest_handlers/app_launch_info.cc",
89 "manifest_handlers/app_launch_info.h",
90 "manifest_handlers/automation.cc",
91 "manifest_handlers/automation.h",
92 "manifest_handlers/content_scripts_handler.cc",
93 "manifest_handlers/content_scripts_handler.h",
94 "manifest_handlers/extension_action_handler.cc",
95 "manifest_handlers/extension_action_handler.h",
96 "manifest_handlers/linked_app_icons.cc",
97 "manifest_handlers/linked_app_icons.h",
98 "manifest_handlers/minimum_chrome_version_checker.cc",
99 "manifest_handlers/minimum_chrome_version_checker.h",
100 "manifest_handlers/settings_overrides_handler.cc",
101 "manifest_handlers/settings_overrides_handler.h",
102 "manifest_handlers/theme_handler.cc",
103 "manifest_handlers/theme_handler.h",
104 "manifest_handlers/ui_overrides_handler.cc",
105 "manifest_handlers/ui_overrides_handler.h",
106 "mojom/inline_install_traits.h",
107 "permissions/chrome_api_permissions.cc",
108 "permissions/chrome_api_permissions.h",
109 "permissions/chrome_permission_message_provider.cc",
110 "permissions/chrome_permission_message_provider.h",
111 "permissions/chrome_permission_message_rules.cc",
112 "permissions/chrome_permission_message_rules.h",
113 "sync_helper.cc",
114 "sync_helper.h",
115 "webstore_install_result.cc",
116 "webstore_install_result.h",
117 ]
118 public_deps = [
119 "//chrome/app:chromium_strings",
120 "//chrome/app:generated_resources",
121 "//chrome/common:constants",
122 "//chrome/common:resources_grit",
123 "//chrome/common:url_constants",
124 "//chrome/common/extensions:mojo_bindings",
125 "//chrome/common/extensions/api",
126 "//chrome/common/extensions/api:extensions_features",
127 "//chrome/common/media_galleries",
128 "//components/cloud_devices/common",
129 "//components/policy/core/common",
130 "//components/version_info",
131 "//device/usb",
132 "//extensions:extensions_resources",
133 "//extensions/common",
134 "//extensions/common/api",
135 "//extensions/strings",
136 "//media/cast:net",
137 "//ui/message_center",
138 ]
139 if (is_chromeos) {
140 sources += [
141 "api/file_browser_handlers/file_browser_handler.cc",
142 "api/file_browser_handlers/file_browser_handler.h",
143 "api/file_system_provider_capabilities/file_system_provider_capabilities_h andler.cc",
144 "api/file_system_provider_capabilities/file_system_provider_capabilities_h andler.h",
145 "api/input_ime/input_components_handler.cc",
146 "api/input_ime/input_components_handler.h",
147 ]
148 }
149 if (use_aura) {
150 # This dependency is for a header used only by extensions code.
151 public_deps += [ "//ui/keyboard:keyboard_with_content" ]
152 }
153 }
OLDNEW
« no previous file with comments | « chrome/common/BUILD.gn ('k') | chrome/common/media_galleries/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698