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