blob: 66fa2d17418a7fdf54c5c679353b0c50f9776c34 [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': [
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',
rockotb814a582015-06-05 00:30:5228 'shell/static_application_loader.cc',
29 'shell/static_application_loader.h',
rockot7c94aa52015-05-18 20:13:5730 'shell/switches.cc',
scottmg345aa462015-06-16 19:29:4031 'shell/switches.cc',
32 'shell/update_fetcher.cc',
33 'shell/update_fetcher.h',
rockot7c94aa52015-05-18 20:13:5734 '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',
rockotb814a582015-06-05 00:30:5241 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base',
42 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings',
rockot7c94aa52015-05-18 20:13:5743 '<(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',
jamf5b01f72015-05-21 20:55:5746 '<(DEPTH)/mojo/mojo_services.gyp:network_service_bindings_lib',
scottmg345aa462015-06-16 19:29:4047 '<(DEPTH)/mojo/mojo_services.gyp:updater_bindings_lib',
rockot7c94aa52015-05-18 20:13:5748 '<(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',
jam00802992015-05-20 03:37:1961 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base',
rockot7c94aa52015-05-18 20:13:5762 '<(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',
rockot7c94aa52015-05-18 20:13:5766 '<(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}