| 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("../../mojo_sdk.gni") |
| 6 |
| 5 # GYP version: mojo/public/mojo_public.gyp:mojo_application_base | 7 # GYP version: mojo/public/mojo_public.gyp:mojo_application_base |
| 6 source_set("application") { | 8 mojo_sdk_source_set("application") { |
| 7 sources = [ | 9 sources = [ |
| 8 "application_connection.h", | 10 "application_connection.h", |
| 9 "application_delegate.h", | 11 "application_delegate.h", |
| 10 "application_impl.h", | 12 "application_impl.h", |
| 11 "connect.h", | 13 "connect.h", |
| 12 "service_provider_impl.h", | 14 "service_provider_impl.h", |
| 13 "interface_factory.h", | 15 "interface_factory.h", |
| 14 "interface_factory_impl.h", | 16 "interface_factory_impl.h", |
| 15 "lib/application_connection.cc", | 17 "lib/application_connection.cc", |
| 16 "lib/application_delegate.cc", | 18 "lib/application_delegate.cc", |
| 17 "lib/application_impl.cc", | 19 "lib/application_impl.cc", |
| 18 "lib/service_provider_impl.cc", | 20 "lib/service_provider_impl.cc", |
| 19 "lib/service_connector.cc", | 21 "lib/service_connector.cc", |
| 20 "lib/service_connector.h", | 22 "lib/service_connector.h", |
| 21 "lib/service_registry.cc", | 23 "lib/service_registry.cc", |
| 22 "lib/service_registry.h", | 24 "lib/service_registry.h", |
| 23 "lib/weak_service_provider.cc", | 25 "lib/weak_service_provider.cc", |
| 24 "lib/weak_service_provider.h", | 26 "lib/weak_service_provider.h", |
| 25 ] | 27 ] |
| 26 | 28 |
| 27 deps = [ | 29 mojo_sdk_deps = [ |
| 28 "//mojo/public/cpp/bindings", | 30 "mojo/public/cpp/bindings", |
| 29 "//mojo/public/cpp/environment", | 31 "mojo/public/cpp/environment", |
| 30 "//mojo/public/cpp/system", | 32 "mojo/public/cpp/system", |
| 31 "//mojo/public/interfaces/application", | 33 "mojo/public/interfaces/application", |
| 32 ] | 34 ] |
| 33 } | 35 } |
| 34 | 36 |
| 35 # GYP version: mojo/public/mojo_public.gyp:mojo_application_standalone | 37 # GYP version: mojo/public/mojo_public.gyp:mojo_application_standalone |
| 36 source_set("standalone") { | 38 mojo_sdk_source_set("standalone") { |
| 37 sources = [ | 39 sources = [ |
| 38 "lib/application_runner.cc", | 40 "lib/application_runner.cc", |
| 39 ] | 41 ] |
| 40 | 42 |
| 41 public_deps = [ | 43 public_deps = [ |
| 42 ":application", | 44 ":application", |
| 43 ] | 45 ] |
| 44 | 46 |
| 45 deps = [ | 47 mojo_sdk_deps = [ |
| 46 "//mojo/public/cpp/environment:standalone", | 48 "mojo/public/cpp/environment:standalone", |
| 47 "//mojo/public/cpp/utility", | 49 "mojo/public/cpp/utility", |
| 48 ] | 50 ] |
| 49 } | 51 } |
| 50 | 52 |
| 51 source_set("test_support") { | 53 mojo_sdk_source_set("test_support") { |
| 52 testonly = true | 54 testonly = true |
| 53 sources = [ | 55 sources = [ |
| 54 "application_test_base.h", | 56 "application_test_base.h", |
| 55 "lib/application_test_base.cc", | 57 "lib/application_test_base.cc", |
| 56 ] | 58 ] |
| 57 | 59 |
| 58 deps = [ | 60 deps = [ |
| 59 ":application", | 61 ":application", |
| 60 "//mojo/public/cpp/bindings", | |
| 61 "//mojo/public/cpp/environment", | |
| 62 "//mojo/public/cpp/system", | |
| 63 "//testing/gtest", | 62 "//testing/gtest", |
| 64 ] | 63 ] |
| 64 |
| 65 mojo_sdk_deps = [ |
| 66 "mojo/public/cpp/bindings", |
| 67 "mojo/public/cpp/environment", |
| 68 "mojo/public/cpp/system", |
| 69 ] |
| 65 } | 70 } |
| 66 | 71 |
| 67 source_set("test_support_standalone") { | 72 mojo_sdk_source_set("test_support_standalone") { |
| 68 testonly = true | 73 testonly = true |
| 69 sources = [ | 74 sources = [ |
| 70 "lib/application_test_main.cc", | 75 "lib/application_test_main.cc", |
| 71 ] | 76 ] |
| 72 | 77 |
| 73 public_deps = [ | 78 public_deps = [ |
| 74 ":test_support", | 79 ":test_support", |
| 75 ] | 80 ] |
| 81 |
| 76 deps = [ | 82 deps = [ |
| 77 ":application", | 83 ":application", |
| 78 "//mojo/public/cpp/environment:standalone", | 84 ] |
| 79 "//mojo/public/cpp/system", | 85 |
| 80 "//mojo/public/cpp/utility", | 86 mojo_sdk_deps = [ |
| 87 "mojo/public/cpp/environment:standalone", |
| 88 "mojo/public/cpp/system", |
| 89 "mojo/public/cpp/utility", |
| 81 ] | 90 ] |
| 82 } | 91 } |
| OLD | NEW |