| 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 group("cpp") { | 5 group("cpp") { |
| 6 public_deps = [ | 6 public_deps = [ |
| 7 ":sources", | 7 ":sources", |
| 8 ] | 8 ] |
| 9 } | 9 } |
| 10 | 10 |
| 11 # TODO(rockot): Rename this to "cpp". | 11 # TODO(rockot): Rename this to "cpp". |
| 12 static_library("sources") { | 12 static_library("sources") { |
| 13 sources = [ | 13 sources = [ |
| 14 "bind_source_info.cc", |
| 14 "bind_source_info.h", | 15 "bind_source_info.h", |
| 16 "binder_registry.cc", |
| 15 "binder_registry.h", | 17 "binder_registry.h", |
| 16 "connect.h", | 18 "connect.h", |
| 17 "connector.cc", | 19 "connector.cc", |
| 18 "connector.h", | 20 "connector.h", |
| 21 "identity.cc", |
| 19 "identity.h", | 22 "identity.h", |
| 20 "interface_binder.cc", | 23 "interface_binder.cc", |
| 21 "interface_binder.h", | 24 "interface_binder.h", |
| 25 "interface_provider.cc", |
| 22 "interface_provider.h", | 26 "interface_provider.h", |
| 27 "interface_provider_spec.cc", |
| 23 "interface_provider_spec.h", | 28 "interface_provider_spec.h", |
| 24 "lib/bind_source_info.cc", | 29 "service.cc", |
| 25 "lib/binder_registry.cc", | |
| 26 "lib/identity.cc", | |
| 27 "lib/interface_provider.cc", | |
| 28 "lib/interface_provider_spec.cc", | |
| 29 "lib/service.cc", | |
| 30 "lib/service_context.cc", | |
| 31 "lib/service_context_ref.cc", | |
| 32 "lib/service_runner.cc", | |
| 33 "service.h", | 30 "service.h", |
| 31 "service_context.cc", |
| 34 "service_context.h", | 32 "service_context.h", |
| 33 "service_context_ref.cc", |
| 35 "service_context_ref.h", | 34 "service_context_ref.h", |
| 35 "service_runner.cc", |
| 36 "service_runner.h", | 36 "service_runner.h", |
| 37 ] | 37 ] |
| 38 | 38 |
| 39 public_deps = [ | 39 public_deps = [ |
| 40 "//base", | 40 "//base", |
| 41 "//mojo/public/cpp/bindings", | 41 "//mojo/public/cpp/bindings", |
| 42 "//mojo/public/cpp/system", | 42 "//mojo/public/cpp/system", |
| 43 "//services/service_manager/public/interfaces", | 43 "//services/service_manager/public/interfaces", |
| 44 "//url", | 44 "//url", |
| 45 ] | 45 ] |
| 46 } | 46 } |
| 47 | 47 |
| 48 if (!is_ios) { | 48 if (!is_ios) { |
| 49 static_library("service_test_support") { | 49 static_library("service_test_support") { |
| 50 testonly = true | 50 testonly = true |
| 51 sources = [ | 51 sources = [ |
| 52 "lib/service_test.cc", | 52 "service_test.cc", |
| 53 "service_test.h", | 53 "service_test.h", |
| 54 ] | 54 ] |
| 55 | 55 |
| 56 public_deps = [ | 56 public_deps = [ |
| 57 ":cpp", | 57 ":cpp", |
| 58 "//testing/gtest", | 58 "//testing/gtest", |
| 59 ] | 59 ] |
| 60 | 60 |
| 61 deps = [ | 61 deps = [ |
| 62 "//base", | 62 "//base", |
| 63 "//base/test:test_support", | 63 "//base/test:test_support", |
| 64 "//mojo/edk/system", | 64 "//mojo/edk/system", |
| 65 "//mojo/public/cpp/bindings", | 65 "//mojo/public/cpp/bindings", |
| 66 "//mojo/public/cpp/system", | 66 "//mojo/public/cpp/system", |
| 67 "//services/service_manager/background:lib", | 67 "//services/service_manager/background:lib", |
| 68 "//services/service_manager/public/interfaces", | 68 "//services/service_manager/public/interfaces", |
| 69 ] | 69 ] |
| 70 | 70 |
| 71 data_deps = [] | 71 data_deps = [] |
| 72 } | 72 } |
| 73 } | 73 } |
| OLD | NEW |