OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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("//extensions/features/features.gni") | 6 import("//extensions/features/features.gni") |
7 import("//mojo/public/tools/bindings/mojom.gni") | 7 import("//mojo/public/tools/bindings/mojom.gni") |
8 | 8 |
9 source_set("common_constants") { | 9 source_set("common_constants") { |
10 sources = [ | 10 sources = [ |
11 "constants.cc", | 11 "constants.cc", |
12 "constants.h", | 12 "constants.h", |
13 ] | 13 ] |
14 | 14 |
15 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 15 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
16 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 16 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
17 } | 17 } |
18 | 18 |
19 if (enable_extensions) { | 19 if (enable_extensions) { |
20 mojom("mojo") { | 20 mojom("mojo") { |
21 sources = [ | 21 sources = [ |
| 22 "extension_unpacker.mojom", |
22 "mojo/keep_alive.mojom", | 23 "mojo/keep_alive.mojom", |
23 ] | 24 ] |
| 25 |
24 if (proprietary_codecs && enable_wifi_display) { | 26 if (proprietary_codecs && enable_wifi_display) { |
25 sources += [ "mojo/wifi_display_session_service.mojom" ] | 27 sources += [ "mojo/wifi_display_session_service.mojom" ] |
26 } | 28 } |
| 29 |
| 30 public_deps = [ |
| 31 "//mojo/common:common_custom_types", |
| 32 ] |
27 } | 33 } |
28 | 34 |
29 # This must be a static library because extensions common depends on | 35 # This must be a static library because extensions common depends on |
30 # GetTrustedICAPublicKey in extensions/browser which isn't always linked | 36 # GetTrustedICAPublicKey in extensions/browser which isn't always linked |
31 # in. TODO(brettw): This reverse dependency should be fixed. | 37 # in. TODO(brettw): This reverse dependency should be fixed. |
32 static_library("common") { | 38 static_library("common") { |
33 sources = [ | 39 sources = [ |
34 "alias.h", | 40 "alias.h", |
35 "api/bluetooth/bluetooth_manifest_data.cc", | 41 "api/bluetooth/bluetooth_manifest_data.cc", |
36 "api/bluetooth/bluetooth_manifest_data.h", | 42 "api/bluetooth/bluetooth_manifest_data.h", |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 "extension_messages.h", | 91 "extension_messages.h", |
86 "extension_paths.cc", | 92 "extension_paths.cc", |
87 "extension_paths.h", | 93 "extension_paths.h", |
88 "extension_resource.cc", | 94 "extension_resource.cc", |
89 "extension_resource.h", | 95 "extension_resource.h", |
90 "extension_set.cc", | 96 "extension_set.cc", |
91 "extension_set.h", | 97 "extension_set.h", |
92 "extension_urls.cc", | 98 "extension_urls.cc", |
93 "extension_urls.h", | 99 "extension_urls.h", |
94 "extension_utility_messages.h", | 100 "extension_utility_messages.h", |
| 101 "extension_utility_types.h", |
95 "extensions_aliases.cc", | 102 "extensions_aliases.cc", |
96 "extensions_aliases.h", | 103 "extensions_aliases.h", |
97 "extensions_client.cc", | 104 "extensions_client.cc", |
98 "extensions_client.h", | 105 "extensions_client.h", |
99 "feature_switch.cc", | 106 "feature_switch.cc", |
100 "feature_switch.h", | 107 "feature_switch.h", |
101 "features/api_feature.h", | 108 "features/api_feature.h", |
102 "features/behavior_feature.cc", | 109 "features/behavior_feature.cc", |
103 "features/behavior_feature.h", | 110 "features/behavior_feature.h", |
104 "features/complex_feature.cc", | 111 "features/complex_feature.cc", |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 "manifest_handlers/requirements_info.cc", | 180 "manifest_handlers/requirements_info.cc", |
174 "manifest_handlers/requirements_info.h", | 181 "manifest_handlers/requirements_info.h", |
175 "manifest_handlers/sandboxed_page_info.cc", | 182 "manifest_handlers/sandboxed_page_info.cc", |
176 "manifest_handlers/sandboxed_page_info.h", | 183 "manifest_handlers/sandboxed_page_info.h", |
177 "manifest_handlers/shared_module_info.cc", | 184 "manifest_handlers/shared_module_info.cc", |
178 "manifest_handlers/shared_module_info.h", | 185 "manifest_handlers/shared_module_info.h", |
179 "manifest_handlers/web_accessible_resources_info.cc", | 186 "manifest_handlers/web_accessible_resources_info.cc", |
180 "manifest_handlers/web_accessible_resources_info.h", | 187 "manifest_handlers/web_accessible_resources_info.h", |
181 "manifest_handlers/webview_info.cc", | 188 "manifest_handlers/webview_info.cc", |
182 "manifest_handlers/webview_info.h", | 189 "manifest_handlers/webview_info.h", |
| 190 "manifest_location_param_traits.cc", |
| 191 "manifest_location_param_traits.h", |
183 "manifest_url_handlers.cc", | 192 "manifest_url_handlers.cc", |
184 "manifest_url_handlers.h", | 193 "manifest_url_handlers.h", |
185 "message_bundle.cc", | 194 "message_bundle.cc", |
186 "message_bundle.h", | 195 "message_bundle.h", |
187 "one_shot_event.cc", | 196 "one_shot_event.cc", |
188 "one_shot_event.h", | 197 "one_shot_event.h", |
189 "permissions/api_permission.cc", | 198 "permissions/api_permission.cc", |
190 "permissions/api_permission.h", | 199 "permissions/api_permission.h", |
191 "permissions/api_permission_set.cc", | 200 "permissions/api_permission_set.cc", |
192 "permissions/api_permission_set.h", | 201 "permissions/api_permission_set.h", |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 "//ui/base", | 379 "//ui/base", |
371 "//ui/gfx", | 380 "//ui/gfx", |
372 "//url", | 381 "//url", |
373 ] | 382 ] |
374 | 383 |
375 if (is_chromeos) { | 384 if (is_chromeos) { |
376 sources += [ "manifest_handlers/action_handlers_handler_unittest.cc" ] | 385 sources += [ "manifest_handlers/action_handlers_handler_unittest.cc" ] |
377 } | 386 } |
378 } | 387 } |
379 } # enable_extensions | 388 } # enable_extensions |
OLD | NEW |