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