OLD | NEW |
| (Empty) |
1 # Copyright 2014 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 'includes': [ | |
7 '../mojo_variables.gypi', | |
8 ], | |
9 'targets': [ | |
10 { | |
11 # GN version: //mojo/edk/system | |
12 'target_name': 'mojo_system_impl', | |
13 'type': '<(component)', | |
14 'dependencies': [ | |
15 '../../base/base.gyp:base', | |
16 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', | |
17 ], | |
18 'includes': [ | |
19 'mojo_edk_system_impl.gypi', | |
20 ], | |
21 }, | |
22 { | |
23 # GN version: //mojo/edk/js | |
24 'target_name': 'mojo_js_lib', | |
25 'type': 'static_library', | |
26 'dependencies': [ | |
27 '../../base/base.gyp:base', | |
28 '../../gin/gin.gyp:gin', | |
29 '../../v8/tools/gyp/v8.gyp:v8', | |
30 ], | |
31 'export_dependent_settings': [ | |
32 '../../base/base.gyp:base', | |
33 '../../gin/gin.gyp:gin', | |
34 ], | |
35 'sources': [ | |
36 # Sources list duplicated in GN build. | |
37 'js/core.cc', | |
38 'js/core.h', | |
39 'js/drain_data.cc', | |
40 'js/drain_data.h', | |
41 'js/handle.cc', | |
42 'js/handle.h', | |
43 'js/handle_close_observer.h', | |
44 'js/mojo_runner_delegate.cc', | |
45 'js/mojo_runner_delegate.h', | |
46 'js/support.cc', | |
47 'js/support.h', | |
48 'js/threading.cc', | |
49 'js/threading.h', | |
50 'js/waiting_callback.cc', | |
51 'js/waiting_callback.h', | |
52 ], | |
53 }, | |
54 { | |
55 # GN version: //mojo/edk/test:test_support_impl | |
56 'target_name': 'mojo_test_support_impl', | |
57 'type': 'static_library', | |
58 'dependencies': [ | |
59 '../../base/base.gyp:base', | |
60 ], | |
61 'sources': [ | |
62 'test/test_support_impl.cc', | |
63 'test/test_support_impl.h', | |
64 ], | |
65 }, | |
66 { | |
67 # GN version: //mojo/edk/test:test_support | |
68 'target_name': 'mojo_common_test_support', | |
69 'type': 'static_library', | |
70 'dependencies': [ | |
71 '../../base/base.gyp:base', | |
72 '../../base/base.gyp:test_support_base', | |
73 '../../testing/gtest.gyp:gtest', | |
74 'mojo_system_impl', | |
75 ], | |
76 'sources': [ | |
77 'test/multiprocess_test_helper.cc', | |
78 'test/multiprocess_test_helper.h', | |
79 'test/test_utils.h', | |
80 'test/test_utils_posix.cc', | |
81 'test/test_utils_win.cc', | |
82 ], | |
83 'conditions': [ | |
84 ['OS=="ios"', { | |
85 'sources!': [ | |
86 'test/multiprocess_test_helper.cc', | |
87 ], | |
88 }], | |
89 ], | |
90 }, | |
91 { | |
92 # GN version: //mojo/edk/test:run_all_unittests | |
93 'target_name': 'mojo_run_all_unittests', | |
94 'type': 'static_library', | |
95 'dependencies': [ | |
96 '../../base/base.gyp:base', | |
97 '../../base/base.gyp:test_support_base', | |
98 '../../testing/gtest.gyp:gtest', | |
99 'mojo_system_impl', | |
100 'mojo_test_support_impl', | |
101 '../public/mojo_public.gyp:mojo_test_support', | |
102 ], | |
103 'sources': [ | |
104 'test/run_all_unittests.cc', | |
105 ], | |
106 }, | |
107 { | |
108 # GN version: //mojo/edk/test:run_all_perftests | |
109 'target_name': 'mojo_run_all_perftests', | |
110 'type': 'static_library', | |
111 'dependencies': [ | |
112 '../../base/base.gyp:test_support_base', | |
113 'mojo_edk.gyp:mojo_system_impl', | |
114 'mojo_test_support_impl', | |
115 '../public/mojo_public.gyp:mojo_test_support', | |
116 ], | |
117 'sources': [ | |
118 'test/run_all_perftests.cc', | |
119 ], | |
120 }, | |
121 ], | |
122 'conditions': [ | |
123 ['OS=="win" and target_arch=="ia32"', { | |
124 'targets': [ | |
125 { | |
126 'target_name': 'mojo_system_impl_win64', | |
127 'type': '<(component)', | |
128 'dependencies': [ | |
129 '../../base/base.gyp:base_win64', | |
130 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:
dynamic_annotations_win64', | |
131 ], | |
132 'includes': [ | |
133 'mojo_edk_system_impl.gypi', | |
134 ], | |
135 'configurations': { | |
136 'Common_Base': { | |
137 'msvs_target_platform': 'x64', | |
138 }, | |
139 }, | |
140 }, | |
141 ], | |
142 }], | |
143 ], | |
144 } | |
OLD | NEW |