Add include.
[chromium-blink-merge.git] / mojo / mojo.gyp
blob8102d1a11f20341965f7ea679e0d539fb5ba9f06
1 # Copyright 2013 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   'includes': [
7     'mojo_converters.gypi',
8     'mojo_variables.gypi',
9   ],
10   'targets': [
11     {
12       # GN version: //mojo
13       'target_name': 'mojo',
14       'type': 'none',
15       'dependencies': [
16         'edk/mojo_edk.gyp:mojo_edk',
17         'mojo_application_manager',
18         'mojo_application_manager_unittests',
19         'mojo_base.gyp:mojo_base',
20         'mojo_geometry_lib',
21         'mojo_input_events_lib',
22         'mojo_js_unittests',
23         'mojo_surfaces_lib',
24         'mojo_surfaces_lib_unittests',
25         'services/public/mojo_services_public.gyp:mojo_services_public',
26         'public/mojo_public.gyp:mojo_public',
27       ],
28     },
29     {
30       # GN version: //mojo/application_manager
31       'target_name': 'mojo_application_manager',
32       'type': '<(component)',
33       'defines': [
34         'MOJO_APPLICATION_MANAGER_IMPLEMENTATION',
35       ],
36       'dependencies': [
37         '../base/base.gyp:base',
38         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
39         '../url/url.gyp:url_lib',
40         'services/public/mojo_services_public.gyp:mojo_content_handler_bindings',
41         'services/public/mojo_services_public.gyp:mojo_network_bindings',
42         'mojo_base.gyp:mojo_common_lib',
43         'mojo_base.gyp:mojo_environment_chromium',
44         'public/mojo_public.gyp:mojo_application_bindings',
45         '<(mojo_system_for_component)',
46       ],
47       'sources': [
48         'application_manager/application_loader.cc',
49         'application_manager/application_loader.h',
50         'application_manager/application_manager.cc',
51         'application_manager/application_manager.h',
52         'application_manager/application_manager_export.h',
53         'application_manager/background_shell_application_loader.cc',
54         'application_manager/background_shell_application_loader.h',
55       ],
56       'export_dependent_settings': [
57         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
58         'public/mojo_public.gyp:mojo_application_bindings',
59         'services/public/mojo_services_public.gyp:mojo_network_bindings',
60       ],
61     },
62     {
63       # GN version: //mojo/application_manager:mojo_application_manager_unittests
64       'target_name': 'mojo_application_manager_unittests',
65       'type': 'executable',
66       'dependencies': [
67         '../base/base.gyp:base',
68         '../testing/gtest.gyp:gtest',
69         '../url/url.gyp:url_lib',
70         'edk/mojo_edk.gyp:mojo_run_all_unittests',
71         'mojo_application_manager',
72         'mojo_base.gyp:mojo_application_chromium',
73         'mojo_base.gyp:mojo_common_lib',
74         'mojo_base.gyp:mojo_environment_chromium',
75         'public/mojo_public.gyp:mojo_cpp_bindings',
76       ],
77       'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
78       'sources': [
79         'application_manager/application_manager_unittest.cc',
80         'application_manager/background_shell_application_loader_unittest.cc',
81         'application_manager/test.mojom',
82       ],
83     },
84     {
85       # GN version: //mojo/bindings/js/tests:mojo_js_unittests
86       'target_name': 'mojo_js_unittests',
87       'type': 'executable',
88       'dependencies': [
89         '../gin/gin.gyp:gin_test',
90         'edk/mojo_edk.gyp:mojo_common_test_support',
91         'edk/mojo_edk.gyp:mojo_run_all_unittests',
92         'mojo_base.gyp:mojo_js_bindings_lib',
93         'public/mojo_public.gyp:mojo_environment_standalone',
94         'public/mojo_public.gyp:mojo_public_test_interfaces',
95         'public/mojo_public.gyp:mojo_utility',
96       ],
97       'sources': [
98         'bindings/js/tests/run_js_tests.cc',
99       ],
100     },
101   ],