Fixes for Android GN build input/outputs
[chromium-blink-merge.git] / mojo / mojo_shell.gyp
blobd39652c08891e073bb4eddbc11ebc3a098e5a99b
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.
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',
28       'shell/switches.cc',
29       'shell/switches.h',
30       'util/filename_util.cc',
31       'util/filename_util.h',
32     ],
33     'dependencies': [
34       '<(DEPTH)/base/base.gyp:base',
35       '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
36       '<(DEPTH)/crypto/crypto.gyp:crypto',
37       '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings_mojom',
38       '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib',
39       '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium',
40       '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters',
41       '<(DEPTH)/mojo/mojo_services.gyp:network_service_bindings_lib',
42       '<(DEPTH)/third_party/mojo/mojo_edk.gyp:mojo_system_impl',
43       '<(DEPTH)/url/url.gyp:url_lib',
44     ],
45   }, {
46     'target_name': 'mojo_shell_unittests',
47     'type': 'executable',
48     'sources': [
49       'shell/application_manager_unittest.cc',
50       'shell/query_util_unittest.cc',
51     ],
52     'dependencies': [
53       '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_lib',
54       '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_test_bindings',
55       '<(DEPTH)/base/base.gyp:base',
56       '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base',
57       '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib',
58       '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium',
59       '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters',
60       '<(DEPTH)/third_party/mojo/mojo_edk.gyp:mojo_run_all_unittests',
61       '<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_application_base',
62       '<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
63       '<(DEPTH)/testing/gtest.gyp:gtest',
64       '<(DEPTH)/url/url.gyp:url_lib',
65     ]
66   }, {
67     'target_name': 'mojo_shell_test_bindings',
68     'type': 'static_library',
69     'variables': {
70       'mojom_files': [
71         'shell/test.mojom',
72       ],
73     },
74     'includes': [
75       '../third_party/mojo/mojom_bindings_generator_explicit.gypi',
76     ],
77   }],