rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 1 | # 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': [ |
ben | b8f4a80 | 2015-07-16 23:20:51 | [diff] [blame] | 10 | 'shell/application_instance.cc', |
| 11 | 'shell/application_instance.h', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 12 | 'shell/application_loader.h', |
| 13 | 'shell/application_manager.cc', |
| 14 | 'shell/application_manager.h', |
ben | 79b0408c7 | 2015-07-28 23:50:12 | [diff] [blame] | 15 | 'shell/capability_filter.cc', |
| 16 | 'shell/capability_filter.h', |
yzshen | be2a383 | 2015-09-03 19:25:45 | [diff] [blame] | 17 | 'shell/connect_to_application_params.cc', |
| 18 | 'shell/connect_to_application_params.h', |
ben | 29dec84 | 2015-09-18 02:46:40 | [diff] [blame] | 19 | 'shell/connect_util.cc', |
| 20 | 'shell/connect_util.h', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 21 | 'shell/data_pipe_peek.cc', |
| 22 | 'shell/data_pipe_peek.h', |
| 23 | 'shell/fetcher.cc', |
| 24 | 'shell/fetcher.h', |
| 25 | 'shell/identity.cc', |
| 26 | 'shell/identity.h', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 27 | 'shell/native_runner.h', |
ben | 59e4ed2d | 2015-09-17 05:06:46 | [diff] [blame] | 28 | 'shell/package_manager.h', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 29 | 'shell/query_util.cc', |
| 30 | 'shell/query_util.h', |
rockot | b814a58 | 2015-06-05 00:30:52 | [diff] [blame] | 31 | 'shell/static_application_loader.cc', |
| 32 | 'shell/static_application_loader.h', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 33 | 'shell/switches.cc', |
scottmg | 345aa46 | 2015-06-16 19:29:40 | [diff] [blame] | 34 | 'shell/switches.cc', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 35 | 'util/filename_util.cc', |
| 36 | 'util/filename_util.h', |
| 37 | ], |
| 38 | 'dependencies': [ |
| 39 | '<(DEPTH)/base/base.gyp:base', |
| 40 | '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
ben | f4e3b26 | 2015-09-16 00:10:15 | [diff] [blame] | 41 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', |
| 42 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', |
| 43 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib', |
| 44 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium', |
| 45 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters', |
| 46 | '<(DEPTH)/url/url.gyp:url_lib', |
| 47 | ], |
| 48 | }, { |
| 49 | 'target_name': 'mojo_fetcher_lib', |
| 50 | 'type': 'static_library', |
| 51 | 'sources': [ |
| 52 | 'fetcher/about_fetcher.cc', |
| 53 | 'fetcher/about_fetcher.h', |
sadrul | 14b2f13 | 2015-09-17 17:26:02 | [diff] [blame] | 54 | 'fetcher/data_fetcher.cc', |
| 55 | 'fetcher/data_fetcher.h', |
ben | f4e3b26 | 2015-09-16 00:10:15 | [diff] [blame] | 56 | 'fetcher/local_fetcher.cc', |
| 57 | 'fetcher/local_fetcher.h', |
| 58 | 'fetcher/network_fetcher.cc', |
| 59 | 'fetcher/network_fetcher.h', |
| 60 | 'fetcher/switches.cc', |
| 61 | 'fetcher/switches.h', |
| 62 | 'fetcher/update_fetcher.cc', |
| 63 | 'fetcher/update_fetcher.h', |
| 64 | 'fetcher/url_resolver.cc', |
| 65 | 'fetcher/url_resolver.h', |
ben | 885517fd | 2015-09-24 16:39:14 | [diff] [blame] | 66 | 'package_manager/content_handler_connection.cc', |
| 67 | 'package_manager/content_handler_connection.h', |
ben | 59e4ed2d | 2015-09-17 05:06:46 | [diff] [blame] | 68 | 'package_manager/package_manager_impl.cc', |
| 69 | 'package_manager/package_manager_impl.h', |
ben | f4e3b26 | 2015-09-16 00:10:15 | [diff] [blame] | 70 | ], |
| 71 | 'dependencies': [ |
| 72 | '<(DEPTH)/base/base.gyp:base', |
| 73 | '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 74 | '<(DEPTH)/crypto/crypto.gyp:crypto', |
rockot | b814a58 | 2015-06-05 00:30:52 | [diff] [blame] | 75 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', |
| 76 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 77 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib', |
| 78 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium', |
| 79 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters', |
jam | f5b01f7 | 2015-05-21 20:55:57 | [diff] [blame] | 80 | '<(DEPTH)/mojo/mojo_services.gyp:network_service_bindings_lib', |
scottmg | 345aa46 | 2015-06-16 19:29:40 | [diff] [blame] | 81 | '<(DEPTH)/mojo/mojo_services.gyp:updater_bindings_lib', |
ben | f4e3b26 | 2015-09-16 00:10:15 | [diff] [blame] | 82 | '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_lib', |
sadrul | 14b2f13 | 2015-09-17 17:26:02 | [diff] [blame] | 83 | '<(DEPTH)/net/net.gyp:net', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 84 | '<(DEPTH)/url/url.gyp:url_lib', |
ben | f4e3b26 | 2015-09-16 00:10:15 | [diff] [blame] | 85 | ] |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 86 | }, { |
| 87 | 'target_name': 'mojo_shell_unittests', |
| 88 | 'type': 'executable', |
| 89 | 'sources': [ |
| 90 | 'shell/application_manager_unittest.cc', |
ben | 2dd70fcf | 2015-07-24 22:22:09 | [diff] [blame] | 91 | 'shell/capability_filter_unittest.cc', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 92 | 'shell/query_util_unittest.cc', |
ben | 59e4ed2d | 2015-09-17 05:06:46 | [diff] [blame] | 93 | 'shell/test_package_manager.cc', |
| 94 | 'shell/test_package_manager.h', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 95 | ], |
| 96 | 'dependencies': [ |
| 97 | '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_lib', |
| 98 | '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_test_bindings', |
| 99 | '<(DEPTH)/base/base.gyp:base', |
jam | 0080299 | 2015-05-20 03:37:19 | [diff] [blame] | 100 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 101 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib', |
| 102 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium', |
| 103 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters', |
| 104 | '<(DEPTH)/third_party/mojo/mojo_edk.gyp:mojo_run_all_unittests', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 105 | '<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 106 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 107 | '<(DEPTH)/url/url.gyp:url_lib', |
| 108 | ] |
| 109 | }, { |
| 110 | 'target_name': 'mojo_shell_test_bindings', |
| 111 | 'type': 'static_library', |
| 112 | 'variables': { |
| 113 | 'mojom_files': [ |
ben | 2dd70fcf | 2015-07-24 22:22:09 | [diff] [blame] | 114 | 'shell/capability_filter_unittest.mojom', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 115 | 'shell/test.mojom', |
| 116 | ], |
| 117 | }, |
| 118 | 'includes': [ |
| 119 | '../third_party/mojo/mojom_bindings_generator_explicit.gypi', |
| 120 | ], |
| 121 | }], |
| 122 | } |