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_delegate.cc",
33 "lib/application_impl.cc",
34 "lib/application_runner.cc",
35 "lib/interface_factory_connector.h",
36 "lib/service_connector_registry.cc",
37 "lib/service_connector_registry.h",
38 "lib/service_provider_impl.cc",
39 "lib/service_registry.cc",
40 "lib/service_registry.h",
41 "service_connector.h",
42 "service_provider_impl.h",
47 "//mojo/application/public/interfaces",
49 "//mojo/environment:chromium",
50 "//mojo/message_pump",
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",
73 "//mojo/message_pump",
74 "//mojo/services/network/public/interfaces",
78 source_set("test_support") {
81 "application_test_base.h",
82 "lib/application_test_base.cc",
83 "lib/application_test_main.cc",
89 "//base/test:test_support",
90 "//mojo/application/public/interfaces:interfaces_cpp_sources",
91 "//third_party/mojo/src/mojo/public/cpp/bindings",
92 "//third_party/mojo/src/mojo/public/cpp/environment",
93 "//third_party/mojo/src/mojo/public/cpp/system",
99 data_deps += [ "//mojo/android" ]
101 if (!is_component_build) {
102 data_deps += [ "//mojo/runner" ]