| 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 "mojo/app_window_handler.mojom", |
| 22 "mojo/keep_alive.mojom", | 23 "mojo/keep_alive.mojom", |
| 23 ] | 24 ] |
| 24 if (proprietary_codecs && enable_wifi_display) { | 25 if (proprietary_codecs && enable_wifi_display) { |
| 25 sources += [ "mojo/wifi_display_session_service.mojom" ] | 26 sources += [ "mojo/wifi_display_session_service.mojom" ] |
| 26 } | 27 } |
| 27 } | 28 } |
| 28 | 29 |
| 29 # This must be a static library because extensions common depends on | 30 # This must be a static library because extensions common depends on |
| 30 # GetTrustedICAPublicKey in extensions/browser which isn't always linked | 31 # GetTrustedICAPublicKey in extensions/browser which isn't always linked |
| 31 # in. TODO(brettw): This reverse dependency should be fixed. | 32 # in. TODO(brettw): This reverse dependency should be fixed. |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 "//ui/base", | 371 "//ui/base", |
| 371 "//ui/gfx", | 372 "//ui/gfx", |
| 372 "//url", | 373 "//url", |
| 373 ] | 374 ] |
| 374 | 375 |
| 375 if (is_chromeos) { | 376 if (is_chromeos) { |
| 376 sources += [ "manifest_handlers/action_handlers_handler_unittest.cc" ] | 377 sources += [ "manifest_handlers/action_handlers_handler_unittest.cc" ] |
| 377 } | 378 } |
| 378 } | 379 } |
| 379 } # enable_extensions | 380 } # enable_extensions |
| OLD | NEW |