blob: 846ca82253f715c5a7b2ed8e121f796bdd5a472e [file] [log] [blame]
rockot7c94aa52015-05-18 20:13:571# Copyright 2015 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{
6 'targets': [{
7 'target_name': 'mojo_shell_lib',
8 'type': 'static_library',
9 'sources': [
benb8f4a802015-07-16 23:20:5110 'shell/application_instance.cc',
11 'shell/application_instance.h',
rockot7c94aa52015-05-18 20:13:5712 'shell/application_loader.h',
13 'shell/application_manager.cc',
14 'shell/application_manager.h',
fsamuel09c726e2015-07-09 22:39:4215 'shell/content_handler_connection.cc',
16 'shell/content_handler_connection.h',
rockot7c94aa52015-05-18 20:13:5717 'shell/data_pipe_peek.cc',
18 'shell/data_pipe_peek.h',
19 'shell/fetcher.cc',
20 'shell/fetcher.h',
21 'shell/identity.cc',
22 'shell/identity.h',
23 'shell/local_fetcher.cc',
24 'shell/local_fetcher.h',
25 'shell/native_runner.h',
26 'shell/network_fetcher.cc',
27 'shell/network_fetcher.h',
28 'shell/query_util.cc',
29 'shell/query_util.h',
rockotb814a582015-06-05 00:30:5230 'shell/static_application_loader.cc',
31 'shell/static_application_loader.h',
rockot7c94aa52015-05-18 20:13:5732 'shell/switches.cc',
scottmg345aa462015-06-16 19:29:4033 'shell/switches.cc',
34 'shell/update_fetcher.cc',
35 'shell/update_fetcher.h',
rockot7c94aa52015-05-18 20:13:5736 'util/filename_util.cc',
37 'util/filename_util.h',
38 ],
39 'dependencies': [
40 '<(DEPTH)/base/base.gyp:base',
41 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
42 '<(DEPTH)/crypto/crypto.gyp:crypto',
rockotb814a582015-06-05 00:30:5243 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base',
44 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings',
rockot7c94aa52015-05-18 20:13:5745 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib',
46 '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium',
47 '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters',
jamf5b01f72015-05-21 20:55:5748 '<(DEPTH)/mojo/mojo_services.gyp:network_service_bindings_lib',
scottmg345aa462015-06-16 19:29:4049 '<(DEPTH)/mojo/mojo_services.gyp:updater_bindings_lib',
rockot7c94aa52015-05-18 20:13:5750 '<(DEPTH)/url/url.gyp:url_lib',
51 ],
52 }, {
53 'target_name': 'mojo_shell_unittests',
54 'type': 'executable',
55 'sources': [
56 'shell/application_manager_unittest.cc',
57 'shell/query_util_unittest.cc',
58 ],
59 'dependencies': [
60 '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_lib',
61 '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_test_bindings',
62 '<(DEPTH)/base/base.gyp:base',
jam00802992015-05-20 03:37:1963 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base',
rockot7c94aa52015-05-18 20:13:5764 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib',
65 '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium',
66 '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters',
67 '<(DEPTH)/third_party/mojo/mojo_edk.gyp:mojo_run_all_unittests',
rockot7c94aa52015-05-18 20:13:5768 '<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
69 '<(DEPTH)/testing/gtest.gyp:gtest',
70 '<(DEPTH)/url/url.gyp:url_lib',
71 ]
72 }, {
73 'target_name': 'mojo_shell_test_bindings',
74 'type': 'static_library',
75 'variables': {
76 'mojom_files': [
77 'shell/test.mojom',
78 ],
79 },
80 'includes': [
81 '../third_party/mojo/mojom_bindings_generator_explicit.gypi',
82 ],
83 }],
84}