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/app_window.mojom", | 23 "mojo/app_window.mojom", |
23 "mojo/keep_alive.mojom", | 24 "mojo/keep_alive.mojom", |
24 ] | 25 ] |
| 26 |
25 if (proprietary_codecs && enable_wifi_display) { | 27 if (proprietary_codecs && enable_wifi_display) { |
26 sources += [ "mojo/wifi_display_session_service.mojom" ] | 28 sources += [ "mojo/wifi_display_session_service.mojom" ] |
27 } | 29 } |
| 30 |
| 31 public_deps = [ |
| 32 "//mojo/common:common_custom_types", |
| 33 ] |
28 } | 34 } |
29 | 35 |
30 # This must be a static library because extensions common depends on | 36 # This must be a static library because extensions common depends on |
31 # GetTrustedICAPublicKey in extensions/browser which isn't always linked | 37 # GetTrustedICAPublicKey in extensions/browser which isn't always linked |
32 # in. TODO(brettw): This reverse dependency should be fixed. | 38 # in. TODO(brettw): This reverse dependency should be fixed. |
33 static_library("common") { | 39 static_library("common") { |
34 sources = [ | 40 sources = [ |
35 "alias.h", | 41 "alias.h", |
36 "api/bluetooth/bluetooth_manifest_data.cc", | 42 "api/bluetooth/bluetooth_manifest_data.cc", |
37 "api/bluetooth/bluetooth_manifest_data.h", | 43 "api/bluetooth/bluetooth_manifest_data.h", |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 "extension_messages.h", | 92 "extension_messages.h", |
87 "extension_paths.cc", | 93 "extension_paths.cc", |
88 "extension_paths.h", | 94 "extension_paths.h", |
89 "extension_resource.cc", | 95 "extension_resource.cc", |
90 "extension_resource.h", | 96 "extension_resource.h", |
91 "extension_set.cc", | 97 "extension_set.cc", |
92 "extension_set.h", | 98 "extension_set.h", |
93 "extension_urls.cc", | 99 "extension_urls.cc", |
94 "extension_urls.h", | 100 "extension_urls.h", |
95 "extension_utility_messages.h", | 101 "extension_utility_messages.h", |
| 102 "extension_utility_types.h", |
96 "extensions_aliases.cc", | 103 "extensions_aliases.cc", |
97 "extensions_aliases.h", | 104 "extensions_aliases.h", |
98 "extensions_client.cc", | 105 "extensions_client.cc", |
99 "extensions_client.h", | 106 "extensions_client.h", |
100 "feature_switch.cc", | 107 "feature_switch.cc", |
101 "feature_switch.h", | 108 "feature_switch.h", |
102 "features/api_feature.h", | 109 "features/api_feature.h", |
103 "features/behavior_feature.cc", | 110 "features/behavior_feature.cc", |
104 "features/behavior_feature.h", | 111 "features/behavior_feature.h", |
105 "features/complex_feature.cc", | 112 "features/complex_feature.cc", |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 "manifest_handlers/requirements_info.cc", | 181 "manifest_handlers/requirements_info.cc", |
175 "manifest_handlers/requirements_info.h", | 182 "manifest_handlers/requirements_info.h", |
176 "manifest_handlers/sandboxed_page_info.cc", | 183 "manifest_handlers/sandboxed_page_info.cc", |
177 "manifest_handlers/sandboxed_page_info.h", | 184 "manifest_handlers/sandboxed_page_info.h", |
178 "manifest_handlers/shared_module_info.cc", | 185 "manifest_handlers/shared_module_info.cc", |
179 "manifest_handlers/shared_module_info.h", | 186 "manifest_handlers/shared_module_info.h", |
180 "manifest_handlers/web_accessible_resources_info.cc", | 187 "manifest_handlers/web_accessible_resources_info.cc", |
181 "manifest_handlers/web_accessible_resources_info.h", | 188 "manifest_handlers/web_accessible_resources_info.h", |
182 "manifest_handlers/webview_info.cc", | 189 "manifest_handlers/webview_info.cc", |
183 "manifest_handlers/webview_info.h", | 190 "manifest_handlers/webview_info.h", |
| 191 "manifest_location_param_traits.cc", |
| 192 "manifest_location_param_traits.h", |
184 "manifest_url_handlers.cc", | 193 "manifest_url_handlers.cc", |
185 "manifest_url_handlers.h", | 194 "manifest_url_handlers.h", |
186 "message_bundle.cc", | 195 "message_bundle.cc", |
187 "message_bundle.h", | 196 "message_bundle.h", |
188 "one_shot_event.cc", | 197 "one_shot_event.cc", |
189 "one_shot_event.h", | 198 "one_shot_event.h", |
190 "permissions/api_permission.cc", | 199 "permissions/api_permission.cc", |
191 "permissions/api_permission.h", | 200 "permissions/api_permission.h", |
192 "permissions/api_permission_set.cc", | 201 "permissions/api_permission_set.cc", |
193 "permissions/api_permission_set.h", | 202 "permissions/api_permission_set.h", |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 "//ui/base", | 380 "//ui/base", |
372 "//ui/gfx", | 381 "//ui/gfx", |
373 "//url", | 382 "//url", |
374 ] | 383 ] |
375 | 384 |
376 if (is_chromeos) { | 385 if (is_chromeos) { |
377 sources += [ "manifest_handlers/action_handlers_handler_unittest.cc" ] | 386 sources += [ "manifest_handlers/action_handlers_handler_unittest.cc" ] |
378 } | 387 } |
379 } | 388 } |
380 } # enable_extensions | 389 } # enable_extensions |
OLD | NEW |