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', |
fsamuel | 09c726e | 2015-07-09 22:39:42 | [diff] [blame] | 15 | 'shell/content_handler_connection.cc', |
| 16 | 'shell/content_handler_connection.h', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 17 | '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', |
rockot | b814a58 | 2015-06-05 00:30:52 | [diff] [blame] | 30 | 'shell/static_application_loader.cc', |
| 31 | 'shell/static_application_loader.h', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 32 | 'shell/switches.cc', |
scottmg | 345aa46 | 2015-06-16 19:29:40 | [diff] [blame] | 33 | 'shell/switches.cc', |
| 34 | 'shell/update_fetcher.cc', |
| 35 | 'shell/update_fetcher.h', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 36 | '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', |
rockot | b814a58 | 2015-06-05 00:30:52 | [diff] [blame] | 43 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', |
| 44 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 45 | '<(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', |
jam | f5b01f7 | 2015-05-21 20:55:57 | [diff] [blame] | 48 | '<(DEPTH)/mojo/mojo_services.gyp:network_service_bindings_lib', |
scottmg | 345aa46 | 2015-06-16 19:29:40 | [diff] [blame] | 49 | '<(DEPTH)/mojo/mojo_services.gyp:updater_bindings_lib', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 50 | '<(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', |
jam | 0080299 | 2015-05-20 03:37:19 | [diff] [blame] | 63 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 64 | '<(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', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 68 | '<(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 | } |