| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 group("cpp") { | |
| 6 public_deps = [ | |
| 7 ":sources", | |
| 8 ] | |
| 9 } | |
| 10 | |
| 11 # TODO(rockot): Rename this to "cpp". | |
| 12 static_library("sources") { | |
| 13 sources = [ | |
| 14 "capabilities.h", | |
| 15 "connect.h", | |
| 16 "connection.h", | |
| 17 "connector.h", | |
| 18 "identity.h", | |
| 19 "interface_binder.h", | |
| 20 "interface_factory.h", | |
| 21 "interface_factory_impl.h", | |
| 22 "interface_provider.h", | |
| 23 "interface_registry.h", | |
| 24 "lib/callback_binder.cc", | |
| 25 "lib/callback_binder.h", | |
| 26 "lib/capabilities.cc", | |
| 27 "lib/connection_impl.cc", | |
| 28 "lib/connection_impl.h", | |
| 29 "lib/connector_impl.cc", | |
| 30 "lib/connector_impl.h", | |
| 31 "lib/identity.cc", | |
| 32 "lib/interface_factory_binder.h", | |
| 33 "lib/interface_provider.cc", | |
| 34 "lib/interface_registry.cc", | |
| 35 "lib/names.cc", | |
| 36 "lib/service.cc", | |
| 37 "lib/service_context.cc", | |
| 38 "lib/service_context_ref.cc", | |
| 39 "lib/service_runner.cc", | |
| 40 "names.h", | |
| 41 "service.h", | |
| 42 "service_context.h", | |
| 43 "service_context_ref.h", | |
| 44 "service_runner.h", | |
| 45 ] | |
| 46 | |
| 47 public_deps = [ | |
| 48 "//base", | |
| 49 "//mojo/public/cpp/bindings", | |
| 50 "//mojo/public/cpp/system", | |
| 51 "//services/shell/public/interfaces", | |
| 52 "//url", | |
| 53 ] | |
| 54 } | |
| 55 | |
| 56 if (!is_ios) { | |
| 57 # This cannot be a static library because it needs to export the symbols from | |
| 58 # initialize_base_and_icu.cc. | |
| 59 source_set("application_support") { | |
| 60 sources = [ | |
| 61 "lib/init_commandline.cc", | |
| 62 "lib/initialize_base_and_icu.cc", | |
| 63 ] | |
| 64 | |
| 65 deps = [ | |
| 66 "//base", | |
| 67 "//base:i18n", | |
| 68 "//mojo/public/c/system", | |
| 69 ] | |
| 70 } | |
| 71 | |
| 72 static_library("service_test_support") { | |
| 73 testonly = true | |
| 74 sources = [ | |
| 75 "lib/service_test.cc", | |
| 76 "service_test.h", | |
| 77 ] | |
| 78 | |
| 79 public_deps = [ | |
| 80 ":cpp", | |
| 81 "//testing/gtest", | |
| 82 ] | |
| 83 | |
| 84 deps = [ | |
| 85 "//base", | |
| 86 "//base/test:test_support", | |
| 87 "//mojo/public/cpp/bindings", | |
| 88 "//mojo/public/cpp/system", | |
| 89 "//services/shell/background:lib", | |
| 90 "//services/shell/public/interfaces:interfaces_cpp_sources", | |
| 91 ] | |
| 92 | |
| 93 data_deps = [] | |
| 94 } | |
| 95 } | |
| OLD | NEW |