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.
5 # GYP version: mojo/mojo_base.gyp:mojo_application_base
13 # Like the target above, but without special commandline initialization that
15 source_set("cpp_for_chromium") {
21 source_set("sources") {
23 "app_lifetime_helper.h",
24 "application_connection.h",
25 "application_delegate.h",
27 "application_runner.h",
29 "interface_factory.h",
30 "interface_factory_impl.h",
31 "lib/app_lifetime_helper.cc",
32 "lib/application_connection.cc",
33 "lib/application_delegate.cc",
34 "lib/application_impl.cc",
35 "lib/application_runner.cc",
36 "lib/interface_factory_connector.h",
37 "lib/service_connector_registry.cc",
38 "lib/service_connector_registry.h",
39 "lib/service_provider_impl.cc",
40 "lib/service_registry.cc",
41 "lib/service_registry.h",
42 "service_connector.h",
43 "service_provider_impl.h",
48 "//mojo/application/public/interfaces",
50 "//mojo/environment:chromium",
51 "//third_party/mojo/src/mojo/public/cpp/bindings",
52 "//third_party/mojo/src/mojo/public/cpp/system",
56 source_set("init_commandline") {
58 "lib/init_commandline.cc",
62 source_set("content_handler") {
64 "content_handler_factory.h",
65 "lib/content_handler_factory.cc",
70 # TODO: this code should not depend on base.
72 "//mojo/application/public/interfaces:interfaces_cpp_sources",
74 # TODO: this code should not depend on mojo/common.
75 "//mojo/common:common_base",
76 "//mojo/services/network/public/interfaces",
80 source_set("test_support") {
83 "application_test_base.h",
84 "lib/application_test_base.cc",
85 "lib/application_test_main.cc",
91 "//base/test:test_support",
92 "//mojo/application/public/interfaces:interfaces_cpp_sources",
93 "//third_party/mojo/src/mojo/public/cpp/bindings",
94 "//third_party/mojo/src/mojo/public/cpp/environment",
95 "//third_party/mojo/src/mojo/public/cpp/system",
101 data_deps += [ "//mojo/android" ]
103 if (!is_component_build) {
104 data_deps += [ "//mojo/runner" ]