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", |
| 23 "manifest_location.mojom", |
22 "mojo/keep_alive.mojom", | 24 "mojo/keep_alive.mojom", |
23 ] | 25 ] |
| 26 |
24 if (proprietary_codecs && enable_wifi_display) { | 27 if (proprietary_codecs && enable_wifi_display) { |
25 sources += [ "mojo/wifi_display_session_service.mojom" ] | 28 sources += [ "mojo/wifi_display_session_service.mojom" ] |
26 } | 29 } |
| 30 |
| 31 public_deps = [ |
| 32 "//mojo/common:common_custom_types", |
| 33 ] |
27 } | 34 } |
28 | 35 |
29 # This must be a static library because extensions common depends on | 36 # This must be a static library because extensions common depends on |
30 # GetTrustedICAPublicKey in extensions/browser which isn't always linked | 37 # GetTrustedICAPublicKey in extensions/browser which isn't always linked |
31 # in. TODO(brettw): This reverse dependency should be fixed. | 38 # in. TODO(brettw): This reverse dependency should be fixed. |
32 static_library("common") { | 39 static_library("common") { |
33 sources = [ | 40 sources = [ |
34 "alias.h", | 41 "alias.h", |
35 "api/bluetooth/bluetooth_manifest_data.cc", | 42 "api/bluetooth/bluetooth_manifest_data.cc", |
36 "api/bluetooth/bluetooth_manifest_data.h", | 43 "api/bluetooth/bluetooth_manifest_data.h", |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 "//ui/base", | 377 "//ui/base", |
371 "//ui/gfx", | 378 "//ui/gfx", |
372 "//url", | 379 "//url", |
373 ] | 380 ] |
374 | 381 |
375 if (is_chromeos) { | 382 if (is_chromeos) { |
376 sources += [ "manifest_handlers/action_handlers_handler_unittest.cc" ] | 383 sources += [ "manifest_handlers/action_handlers_handler_unittest.cc" ] |
377 } | 384 } |
378 } | 385 } |
379 } # enable_extensions | 386 } # enable_extensions |
OLD | NEW |