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': [ |
| 10 | 'shell/application_loader.h', |
| 11 | 'shell/application_manager.cc', |
| 12 | 'shell/application_manager.h', |
| 13 | 'shell/data_pipe_peek.cc', |
| 14 | 'shell/data_pipe_peek.h', |
| 15 | 'shell/fetcher.cc', |
| 16 | 'shell/fetcher.h', |
| 17 | 'shell/identity.cc', |
| 18 | 'shell/identity.h', |
| 19 | 'shell/local_fetcher.cc', |
| 20 | 'shell/local_fetcher.h', |
| 21 | 'shell/native_runner.h', |
| 22 | 'shell/network_fetcher.cc', |
| 23 | 'shell/network_fetcher.h', |
| 24 | 'shell/query_util.cc', |
| 25 | 'shell/query_util.h', |
| 26 | 'shell/shell_impl.cc', |
| 27 | 'shell/shell_impl.h', |
rockot | b814a58 | 2015-06-05 00:30:52 | [diff] [blame] | 28 | 'shell/static_application_loader.cc', |
| 29 | 'shell/static_application_loader.h', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 30 | 'shell/switches.cc', |
scottmg | 345aa46 | 2015-06-16 19:29:40 | [diff] [blame^] | 31 | 'shell/switches.cc', |
| 32 | 'shell/update_fetcher.cc', |
| 33 | 'shell/update_fetcher.h', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 34 | 'util/filename_util.cc', |
| 35 | 'util/filename_util.h', |
| 36 | ], |
| 37 | 'dependencies': [ |
| 38 | '<(DEPTH)/base/base.gyp:base', |
| 39 | '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
| 40 | '<(DEPTH)/crypto/crypto.gyp:crypto', |
rockot | b814a58 | 2015-06-05 00:30:52 | [diff] [blame] | 41 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', |
| 42 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 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', |
jam | f5b01f7 | 2015-05-21 20:55:57 | [diff] [blame] | 46 | '<(DEPTH)/mojo/mojo_services.gyp:network_service_bindings_lib', |
scottmg | 345aa46 | 2015-06-16 19:29:40 | [diff] [blame^] | 47 | '<(DEPTH)/mojo/mojo_services.gyp:updater_bindings_lib', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 48 | '<(DEPTH)/url/url.gyp:url_lib', |
| 49 | ], |
| 50 | }, { |
| 51 | 'target_name': 'mojo_shell_unittests', |
| 52 | 'type': 'executable', |
| 53 | 'sources': [ |
| 54 | 'shell/application_manager_unittest.cc', |
| 55 | 'shell/query_util_unittest.cc', |
| 56 | ], |
| 57 | 'dependencies': [ |
| 58 | '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_lib', |
| 59 | '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_test_bindings', |
| 60 | '<(DEPTH)/base/base.gyp:base', |
jam | 0080299 | 2015-05-20 03:37:19 | [diff] [blame] | 61 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 62 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib', |
| 63 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium', |
| 64 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters', |
| 65 | '<(DEPTH)/third_party/mojo/mojo_edk.gyp:mojo_run_all_unittests', |
rockot | 7c94aa5 | 2015-05-18 20:13:57 | [diff] [blame] | 66 | '<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 67 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 68 | '<(DEPTH)/url/url.gyp:url_lib', |
| 69 | ] |
| 70 | }, { |
| 71 | 'target_name': 'mojo_shell_test_bindings', |
| 72 | 'type': 'static_library', |
| 73 | 'variables': { |
| 74 | 'mojom_files': [ |
| 75 | 'shell/test.mojom', |
| 76 | ], |
| 77 | }, |
| 78 | 'includes': [ |
| 79 | '../third_party/mojo/mojom_bindings_generator_explicit.gypi', |
| 80 | ], |
| 81 | }], |
| 82 | } |