abarth@chromium.org | b2c3fc8 | 2013-12-02 02:27:25 +0900 | [diff] [blame] | 1 | { |
| 2 | 'targets': [ |
| 3 | { |
cmasone@chromium.org | e460a98 | 2014-04-28 20:53:16 +0900 | [diff] [blame] | 4 | 'target_name': 'mojo_echo_bindings', |
| 5 | 'type': 'static_library', |
| 6 | 'sources': [ |
| 7 | 'services/dbus_echo/echo.mojom', |
| 8 | ], |
cmasone@chromium.org | e460a98 | 2014-04-28 20:53:16 +0900 | [diff] [blame] | 9 | 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
| 10 | 'export_dependent_settings': [ |
yzshen@chromium.org | 6005692 | 2014-04-30 14:27:06 +0900 | [diff] [blame] | 11 | 'mojo_cpp_bindings', |
cmasone@chromium.org | e460a98 | 2014-04-28 20:53:16 +0900 | [diff] [blame] | 12 | ], |
| 13 | 'dependencies': [ |
yzshen@chromium.org | 6005692 | 2014-04-30 14:27:06 +0900 | [diff] [blame] | 14 | 'mojo_cpp_bindings', |
cmasone@chromium.org | e460a98 | 2014-04-28 20:53:16 +0900 | [diff] [blame] | 15 | ], |
| 16 | }, |
| 17 | { |
sky@chromium.org | 2f1dc95 | 2014-06-05 07:15:03 +0900 | [diff] [blame] | 18 | 'target_name': 'mojo_input_events_lib', |
| 19 | 'type': '<(component)', |
| 20 | 'defines': [ |
| 21 | 'MOJO_INPUT_EVENTS_IMPLEMENTATION', |
| 22 | ], |
| 23 | 'dependencies': [ |
| 24 | '../base/base.gyp:base', |
| 25 | '../ui/events/events.gyp:events', |
| 26 | '../ui/gfx/gfx.gyp:gfx_geometry', |
| 27 | 'mojo_environment_chromium', |
| 28 | 'mojo_input_events_bindings', |
| 29 | 'mojo_geometry_bindings', |
| 30 | 'mojo_geometry_lib', |
| 31 | 'mojo_system_impl', |
| 32 | ], |
| 33 | 'sources': [ |
| 34 | 'services/public/cpp/input_events/lib/input_events_type_converters.cc', |
| 35 | 'services/public/cpp/input_events/input_events_type_converters.h', |
| 36 | 'services/public/cpp/input_events/mojo_input_events_export.h', |
| 37 | ], |
| 38 | }, |
| 39 | { |
ben@chromium.org | 12dc8ce | 2014-05-29 00:46:41 +0900 | [diff] [blame] | 40 | 'target_name': 'mojo_input_events_bindings', |
| 41 | 'type': 'static_library', |
| 42 | 'sources': [ |
| 43 | 'services/public/interfaces/input_events/input_events.mojom', |
| 44 | ], |
ben@chromium.org | 12dc8ce | 2014-05-29 00:46:41 +0900 | [diff] [blame] | 45 | 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
| 46 | 'export_dependent_settings': [ |
| 47 | 'mojo_cpp_bindings', |
| 48 | ], |
| 49 | 'dependencies': [ |
| 50 | 'mojo_cpp_bindings', |
| 51 | 'mojo_geometry_bindings', |
| 52 | ], |
| 53 | }, |
| 54 | { |
| 55 | 'target_name': 'mojo_geometry_bindings', |
| 56 | 'type': 'static_library', |
| 57 | 'sources': [ |
| 58 | 'services/public/interfaces/geometry/geometry.mojom', |
| 59 | ], |
ben@chromium.org | 12dc8ce | 2014-05-29 00:46:41 +0900 | [diff] [blame] | 60 | 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
| 61 | 'dependencies': [ |
| 62 | 'mojo_cpp_bindings', |
| 63 | ], |
| 64 | 'export_dependent_settings': [ |
| 65 | 'mojo_cpp_bindings', |
| 66 | ], |
| 67 | }, |
| 68 | { |
| 69 | 'target_name': 'mojo_geometry_lib', |
| 70 | 'type': '<(component)', |
| 71 | 'defines': [ |
| 72 | 'MOJO_GEOMETRY_IMPLEMENTATION', |
| 73 | ], |
| 74 | 'dependencies': [ |
| 75 | '../ui/gfx/gfx.gyp:gfx_geometry', |
| 76 | 'mojo_environment_chromium', |
| 77 | 'mojo_geometry_bindings', |
| 78 | 'mojo_system_impl', |
| 79 | ], |
| 80 | 'sources': [ |
| 81 | 'services/public/cpp/geometry/lib/geometry_type_converters.cc', |
| 82 | 'services/public/cpp/geometry/geometry_type_converters.h', |
| 83 | ], |
| 84 | }, |
| 85 | { |
abarth@chromium.org | a6190a3 | 2013-12-04 10:15:09 +0900 | [diff] [blame] | 86 | 'target_name': 'mojo_gles2_bindings', |
abarth@chromium.org | b2c3fc8 | 2013-12-02 02:27:25 +0900 | [diff] [blame] | 87 | 'type': 'static_library', |
| 88 | 'sources': [ |
piman@chromium.org | e121985 | 2014-02-07 09:25:07 +0900 | [diff] [blame] | 89 | 'services/gles2/command_buffer.mojom', |
| 90 | 'services/gles2/command_buffer_type_conversions.cc', |
| 91 | 'services/gles2/command_buffer_type_conversions.h', |
piman@chromium.org | 95c0425 | 2014-04-04 08:44:28 +0900 | [diff] [blame] | 92 | 'services/gles2/mojo_buffer_backing.cc', |
| 93 | 'services/gles2/mojo_buffer_backing.h', |
abarth@chromium.org | b2c3fc8 | 2013-12-02 02:27:25 +0900 | [diff] [blame] | 94 | ], |
viettrungluu@chromium.org | 0e35503 | 2014-04-05 06:11:21 +0900 | [diff] [blame] | 95 | 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
abarth@chromium.org | b2c3fc8 | 2013-12-02 02:27:25 +0900 | [diff] [blame] | 96 | 'export_dependent_settings': [ |
yzshen@chromium.org | 6005692 | 2014-04-30 14:27:06 +0900 | [diff] [blame] | 97 | 'mojo_cpp_bindings', |
abarth@chromium.org | b2c3fc8 | 2013-12-02 02:27:25 +0900 | [diff] [blame] | 98 | ], |
sky@chromium.org | c1ed7c2 | 2014-03-13 01:14:21 +0900 | [diff] [blame] | 99 | 'dependencies': [ |
piman@chromium.org | 95c0425 | 2014-04-04 08:44:28 +0900 | [diff] [blame] | 100 | '../gpu/gpu.gyp:command_buffer_common', |
yzshen@chromium.org | 6005692 | 2014-04-30 14:27:06 +0900 | [diff] [blame] | 101 | 'mojo_cpp_bindings', |
sky@chromium.org | c1ed7c2 | 2014-03-13 01:14:21 +0900 | [diff] [blame] | 102 | ], |
abarth@chromium.org | b2c3fc8 | 2013-12-02 02:27:25 +0900 | [diff] [blame] | 103 | }, |
| 104 | { |
abarth@chromium.org | a6190a3 | 2013-12-04 10:15:09 +0900 | [diff] [blame] | 105 | 'target_name': 'mojo_gles2_service', |
abarth@chromium.org | b2c3fc8 | 2013-12-02 02:27:25 +0900 | [diff] [blame] | 106 | 'type': 'static_library', |
| 107 | 'dependencies': [ |
| 108 | '../base/base.gyp:base', |
| 109 | '../gpu/gpu.gyp:command_buffer_service', |
abarth@chromium.org | b2c3fc8 | 2013-12-02 02:27:25 +0900 | [diff] [blame] | 110 | '../ui/gfx/gfx.gyp:gfx', |
ben@chromium.org | 8e7c15d | 2013-12-19 06:01:15 +0900 | [diff] [blame] | 111 | '../ui/gfx/gfx.gyp:gfx_geometry', |
abarth@chromium.org | b2c3fc8 | 2013-12-02 02:27:25 +0900 | [diff] [blame] | 112 | '../ui/gl/gl.gyp:gl', |
abarth@chromium.org | a6190a3 | 2013-12-04 10:15:09 +0900 | [diff] [blame] | 113 | 'mojo_gles2_bindings', |
abarth@chromium.org | b2c3fc8 | 2013-12-02 02:27:25 +0900 | [diff] [blame] | 114 | ], |
| 115 | 'export_dependent_settings': [ |
abarth@chromium.org | a6190a3 | 2013-12-04 10:15:09 +0900 | [diff] [blame] | 116 | 'mojo_gles2_bindings', |
abarth@chromium.org | b2c3fc8 | 2013-12-02 02:27:25 +0900 | [diff] [blame] | 117 | ], |
| 118 | 'sources': [ |
piman@chromium.org | e121985 | 2014-02-07 09:25:07 +0900 | [diff] [blame] | 119 | 'services/gles2/command_buffer_impl.cc', |
| 120 | 'services/gles2/command_buffer_impl.h', |
abarth@chromium.org | b2c3fc8 | 2013-12-02 02:27:25 +0900 | [diff] [blame] | 121 | ], |
| 122 | }, |
| 123 | { |
abarth@chromium.org | a6190a3 | 2013-12-04 10:15:09 +0900 | [diff] [blame] | 124 | 'target_name': 'mojo_native_viewport_bindings', |
abarth@chromium.org | b2c3fc8 | 2013-12-02 02:27:25 +0900 | [diff] [blame] | 125 | 'type': 'static_library', |
| 126 | 'sources': [ |
| 127 | 'services/native_viewport/native_viewport.mojom', |
| 128 | ], |
viettrungluu@chromium.org | 0e35503 | 2014-04-05 06:11:21 +0900 | [diff] [blame] | 129 | 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
abarth@chromium.org | b2c3fc8 | 2013-12-02 02:27:25 +0900 | [diff] [blame] | 130 | 'export_dependent_settings': [ |
yzshen@chromium.org | 6005692 | 2014-04-30 14:27:06 +0900 | [diff] [blame] | 131 | 'mojo_cpp_bindings', |
abarth@chromium.org | b2c3fc8 | 2013-12-02 02:27:25 +0900 | [diff] [blame] | 132 | ], |
sky@chromium.org | c1ed7c2 | 2014-03-13 01:14:21 +0900 | [diff] [blame] | 133 | 'dependencies': [ |
ben@chromium.org | 2d16756 | 2014-05-22 04:07:40 +0900 | [diff] [blame] | 134 | 'mojo_geometry_bindings', |
darin@chromium.org | 19ef2f3 | 2014-05-30 14:22:26 +0900 | [diff] [blame] | 135 | 'mojo_gles2_bindings', |
ben@chromium.org | 12dc8ce | 2014-05-29 00:46:41 +0900 | [diff] [blame] | 136 | 'mojo_input_events_bindings', |
yzshen@chromium.org | 6005692 | 2014-04-30 14:27:06 +0900 | [diff] [blame] | 137 | 'mojo_cpp_bindings', |
sky@chromium.org | c1ed7c2 | 2014-03-13 01:14:21 +0900 | [diff] [blame] | 138 | ], |
abarth@chromium.org | b2c3fc8 | 2013-12-02 02:27:25 +0900 | [diff] [blame] | 139 | }, |
| 140 | { |
abarth@chromium.org | a6190a3 | 2013-12-04 10:15:09 +0900 | [diff] [blame] | 141 | 'target_name': 'mojo_native_viewport_service', |
davemoore@chromium.org | 154d7b5 | 2014-04-22 06:12:08 +0900 | [diff] [blame] | 142 | # This is linked directly into the embedder, so we make it a component. |
| 143 | 'type': '<(component)', |
abarth@chromium.org | b2c3fc8 | 2013-12-02 02:27:25 +0900 | [diff] [blame] | 144 | 'dependencies': [ |
| 145 | '../base/base.gyp:base', |
| 146 | '../ui/events/events.gyp:events', |
| 147 | '../ui/gfx/gfx.gyp:gfx', |
ben@chromium.org | 8e7c15d | 2013-12-19 06:01:15 +0900 | [diff] [blame] | 148 | '../ui/gfx/gfx.gyp:gfx_geometry', |
davemoore@chromium.org | c11e2f7 | 2014-05-30 01:58:53 +0900 | [diff] [blame] | 149 | 'mojo_application', |
davemoore@chromium.org | fa6786a | 2013-12-18 11:07:37 +0900 | [diff] [blame] | 150 | 'mojo_common_lib', |
darin@chromium.org | 5cd89c6 | 2014-01-15 01:27:51 +0900 | [diff] [blame] | 151 | 'mojo_environment_chromium', |
ben@chromium.org | 2d16756 | 2014-05-22 04:07:40 +0900 | [diff] [blame] | 152 | 'mojo_geometry_bindings', |
| 153 | 'mojo_geometry_lib', |
abarth@chromium.org | a6190a3 | 2013-12-04 10:15:09 +0900 | [diff] [blame] | 154 | 'mojo_gles2_service', |
sky@chromium.org | 2f1dc95 | 2014-06-05 07:15:03 +0900 | [diff] [blame] | 155 | 'mojo_input_events_lib', |
abarth@chromium.org | a6190a3 | 2013-12-04 10:15:09 +0900 | [diff] [blame] | 156 | 'mojo_native_viewport_bindings', |
davemoore@chromium.org | 065c012 | 2014-04-15 12:14:25 +0900 | [diff] [blame] | 157 | 'mojo_system_impl', |
abarth@chromium.org | b2c3fc8 | 2013-12-02 02:27:25 +0900 | [diff] [blame] | 158 | ], |
davemoore@chromium.org | fa6786a | 2013-12-18 11:07:37 +0900 | [diff] [blame] | 159 | 'defines': [ |
| 160 | 'MOJO_NATIVE_VIEWPORT_IMPLEMENTATION', |
abarth@chromium.org | b2c3fc8 | 2013-12-02 02:27:25 +0900 | [diff] [blame] | 161 | ], |
| 162 | 'sources': [ |
abarth@chromium.org | b2c3fc8 | 2013-12-02 02:27:25 +0900 | [diff] [blame] | 163 | 'services/native_viewport/native_viewport.h', |
| 164 | 'services/native_viewport/native_viewport_android.cc', |
abarth@chromium.org | b2c3fc8 | 2013-12-02 02:27:25 +0900 | [diff] [blame] | 165 | 'services/native_viewport/native_viewport_mac.mm', |
davemoore@chromium.org | fa6786a | 2013-12-18 11:07:37 +0900 | [diff] [blame] | 166 | 'services/native_viewport/native_viewport_service.cc', |
| 167 | 'services/native_viewport/native_viewport_service.h', |
abarth@chromium.org | b2c3fc8 | 2013-12-02 02:27:25 +0900 | [diff] [blame] | 168 | 'services/native_viewport/native_viewport_stub.cc', |
| 169 | 'services/native_viewport/native_viewport_win.cc', |
| 170 | 'services/native_viewport/native_viewport_x11.cc', |
| 171 | ], |
| 172 | 'conditions': [ |
| 173 | ['OS=="win" or OS=="android" or OS=="linux" or OS=="mac"', { |
| 174 | 'sources!': [ |
| 175 | 'services/native_viewport/native_viewport_stub.cc', |
| 176 | ], |
| 177 | }], |
| 178 | ['OS=="android"', { |
| 179 | 'dependencies': [ |
| 180 | 'mojo_jni_headers', |
| 181 | ], |
| 182 | }], |
| 183 | ], |
| 184 | }, |
ben@chromium.org | add30f5 | 2014-04-22 06:18:56 +0900 | [diff] [blame] | 185 | { |
darin@chromium.org | 358f24a | 2014-06-05 18:27:30 +0900 | [diff] [blame] | 186 | 'target_name': 'mojo_network_bindings', |
| 187 | 'type': 'static_library', |
| 188 | 'sources': [ |
| 189 | 'services/public/interfaces/network/network_error.mojom', |
| 190 | 'services/public/interfaces/network/network_service.mojom', |
| 191 | 'services/public/interfaces/network/url_loader.mojom', |
| 192 | ], |
| 193 | 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
| 194 | 'export_dependent_settings': [ |
| 195 | 'mojo_cpp_bindings', |
| 196 | ], |
| 197 | 'dependencies': [ |
| 198 | 'mojo_cpp_bindings', |
| 199 | ], |
| 200 | }, |
| 201 | { |
| 202 | 'target_name': 'mojo_network_service', |
| 203 | 'type': 'shared_library', |
| 204 | 'dependencies': [ |
| 205 | '../base/base.gyp:base', |
| 206 | '../net/net.gyp:net', |
| 207 | '../url/url.gyp:url_lib', |
| 208 | 'mojo_application', |
| 209 | 'mojo_common_lib', |
| 210 | 'mojo_environment_chromium', |
| 211 | 'mojo_network_bindings', |
| 212 | 'mojo_system_impl', |
| 213 | ], |
| 214 | 'export_dependent_settings': [ |
| 215 | 'mojo_network_bindings', |
| 216 | ], |
| 217 | 'sources': [ |
| 218 | 'services/network/main.cc', |
| 219 | 'services/network/network_context.cc', |
| 220 | 'services/network/network_context.h', |
| 221 | 'services/network/network_service_impl.cc', |
| 222 | 'services/network/network_service_impl.h', |
| 223 | 'services/network/url_loader_impl.cc', |
| 224 | 'services/network/url_loader_impl.h', |
| 225 | ], |
| 226 | }, |
| 227 | { |
sky@chromium.org | 2c8782e | 2014-05-03 01:41:49 +0900 | [diff] [blame] | 228 | 'target_name': 'mojo_view_manager_common', |
| 229 | 'type': 'static_library', |
| 230 | 'sources': [ |
| 231 | 'services/public/cpp/view_manager/view_manager_types.h', |
| 232 | ], |
| 233 | }, |
| 234 | { |
ben@chromium.org | 21776ff | 2014-05-01 13:23:47 +0900 | [diff] [blame] | 235 | 'target_name': 'mojo_view_manager_bindings', |
| 236 | 'type': 'static_library', |
| 237 | 'sources': [ |
| 238 | 'services/public/interfaces/view_manager/view_manager.mojom', |
| 239 | ], |
ben@chromium.org | 21776ff | 2014-05-01 13:23:47 +0900 | [diff] [blame] | 240 | 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
| 241 | 'export_dependent_settings': [ |
| 242 | 'mojo_cpp_bindings', |
| 243 | ], |
| 244 | 'dependencies': [ |
| 245 | 'mojo_cpp_bindings', |
ben@chromium.org | 7c57f34 | 2014-05-23 02:13:12 +0900 | [diff] [blame] | 246 | 'mojo_geometry_bindings', |
sky@chromium.org | 2f1dc95 | 2014-06-05 07:15:03 +0900 | [diff] [blame] | 247 | 'mojo_input_events_bindings', |
ben@chromium.org | 21776ff | 2014-05-01 13:23:47 +0900 | [diff] [blame] | 248 | ], |
| 249 | }, |
| 250 | { |
ben@chromium.org | add30f5 | 2014-04-22 06:18:56 +0900 | [diff] [blame] | 251 | 'target_name': 'mojo_view_manager_lib', |
| 252 | 'type': 'static_library', |
| 253 | 'dependencies': [ |
| 254 | '../base/base.gyp:base', |
ben@chromium.org | ae7beae | 2014-05-23 10:20:09 +0900 | [diff] [blame] | 255 | '../skia/skia.gyp:skia', |
| 256 | '../ui/gfx/gfx.gyp:gfx', |
ben@chromium.org | 7c57f34 | 2014-05-23 02:13:12 +0900 | [diff] [blame] | 257 | '../ui/gfx/gfx.gyp:gfx_geometry', |
ben@chromium.org | 889465c | 2014-06-03 14:39:00 +0900 | [diff] [blame] | 258 | 'mojo_application', |
ben@chromium.org | 7c57f34 | 2014-05-23 02:13:12 +0900 | [diff] [blame] | 259 | 'mojo_geometry_bindings', |
| 260 | 'mojo_geometry_lib', |
davemoore@chromium.org | ad65baa | 2014-05-28 01:50:29 +0900 | [diff] [blame] | 261 | 'mojo_service_provider_bindings', |
ben@chromium.org | 21776ff | 2014-05-01 13:23:47 +0900 | [diff] [blame] | 262 | 'mojo_view_manager_bindings', |
sky@chromium.org | 2c8782e | 2014-05-03 01:41:49 +0900 | [diff] [blame] | 263 | 'mojo_view_manager_common', |
ben@chromium.org | add30f5 | 2014-04-22 06:18:56 +0900 | [diff] [blame] | 264 | ], |
| 265 | 'sources': [ |
| 266 | 'services/public/cpp/view_manager/lib/view.cc', |
ben@chromium.org | dbc250d | 2014-05-14 04:43:09 +0900 | [diff] [blame] | 267 | 'services/public/cpp/view_manager/lib/view_private.cc', |
| 268 | 'services/public/cpp/view_manager/lib/view_private.h', |
ben@chromium.org | add30f5 | 2014-04-22 06:18:56 +0900 | [diff] [blame] | 269 | 'services/public/cpp/view_manager/lib/view_manager.cc', |
ben@chromium.org | 21776ff | 2014-05-01 13:23:47 +0900 | [diff] [blame] | 270 | 'services/public/cpp/view_manager/lib/view_manager_private.cc', |
| 271 | 'services/public/cpp/view_manager/lib/view_manager_private.h', |
| 272 | 'services/public/cpp/view_manager/lib/view_manager_synchronizer.cc', |
| 273 | 'services/public/cpp/view_manager/lib/view_manager_synchronizer.h', |
ben@chromium.org | add30f5 | 2014-04-22 06:18:56 +0900 | [diff] [blame] | 274 | 'services/public/cpp/view_manager/lib/view_tree_host.cc', |
| 275 | 'services/public/cpp/view_manager/lib/view_tree_node.cc', |
| 276 | 'services/public/cpp/view_manager/lib/view_tree_node_observer.cc', |
| 277 | 'services/public/cpp/view_manager/lib/view_tree_node_private.cc', |
| 278 | 'services/public/cpp/view_manager/lib/view_tree_node_private.h', |
| 279 | 'services/public/cpp/view_manager/view.h', |
| 280 | 'services/public/cpp/view_manager/view_manager.h', |
sky@chromium.org | 2c8782e | 2014-05-03 01:41:49 +0900 | [diff] [blame] | 281 | 'services/public/cpp/view_manager/view_manager_types.h', |
ben@chromium.org | dbc250d | 2014-05-14 04:43:09 +0900 | [diff] [blame] | 282 | 'services/public/cpp/view_manager/view_observer.h', |
ben@chromium.org | add30f5 | 2014-04-22 06:18:56 +0900 | [diff] [blame] | 283 | 'services/public/cpp/view_manager/view_tree_host.h', |
| 284 | 'services/public/cpp/view_manager/view_tree_node.h', |
| 285 | 'services/public/cpp/view_manager/view_tree_node_observer.h', |
| 286 | ], |
| 287 | }, |
| 288 | { |
| 289 | 'target_name': 'mojo_view_manager_lib_unittests', |
| 290 | 'type': 'executable', |
| 291 | 'dependencies': [ |
| 292 | '../base/base.gyp:base', |
| 293 | '../base/base.gyp:test_support_base', |
| 294 | '../testing/gtest.gyp:gtest', |
ben@chromium.org | 21776ff | 2014-05-01 13:23:47 +0900 | [diff] [blame] | 295 | 'mojo_environment_chromium', |
ben@chromium.org | 7c57f34 | 2014-05-23 02:13:12 +0900 | [diff] [blame] | 296 | 'mojo_geometry_bindings', |
| 297 | 'mojo_geometry_lib', |
ben@chromium.org | 2756bb9 | 2014-05-06 04:43:11 +0900 | [diff] [blame] | 298 | 'mojo_shell_test_support', |
| 299 | 'mojo_view_manager_bindings', |
ben@chromium.org | add30f5 | 2014-04-22 06:18:56 +0900 | [diff] [blame] | 300 | 'mojo_view_manager_lib', |
| 301 | ], |
| 302 | 'sources': [ |
| 303 | 'services/public/cpp/view_manager/tests/view_unittest.cc', |
| 304 | 'services/public/cpp/view_manager/tests/view_manager_unittest.cc', |
| 305 | 'services/public/cpp/view_manager/tests/view_tree_host_unittest.cc', |
| 306 | 'services/public/cpp/view_manager/tests/view_tree_node_unittest.cc', |
| 307 | ], |
sky@chromium.org | 4e94b14 | 2014-05-10 01:26:06 +0900 | [diff] [blame] | 308 | 'conditions': [ |
| 309 | ['use_aura==1', { |
| 310 | 'dependencies': [ |
| 311 | 'mojo_view_manager_run_unittests' |
| 312 | ], |
| 313 | }, { # use_aura==0 |
| 314 | 'dependencies': [ |
| 315 | 'mojo_run_all_unittests', |
| 316 | ], |
| 317 | }] |
| 318 | ], |
ben@chromium.org | add30f5 | 2014-04-22 06:18:56 +0900 | [diff] [blame] | 319 | }, |
abarth@chromium.org | b2c3fc8 | 2013-12-02 02:27:25 +0900 | [diff] [blame] | 320 | ], |
sky@chromium.org | 96a021b | 2014-04-23 06:58:10 +0900 | [diff] [blame] | 321 | 'conditions': [ |
| 322 | ['use_aura==1', { |
| 323 | 'targets': [ |
| 324 | { |
sky@chromium.org | 96a021b | 2014-04-23 06:58:10 +0900 | [diff] [blame] | 325 | 'target_name': 'mojo_view_manager', |
sky@chromium.org | 4510cc1 | 2014-04-24 07:36:03 +0900 | [diff] [blame] | 326 | 'type': '<(component)', |
sky@chromium.org | 96a021b | 2014-04-23 06:58:10 +0900 | [diff] [blame] | 327 | 'dependencies': [ |
| 328 | '../base/base.gyp:base', |
sky@chromium.org | b519af5 | 2014-06-07 01:07:54 +0900 | [diff] [blame] | 329 | '../cc/cc.gyp:cc', |
sky@chromium.org | 96a021b | 2014-04-23 06:58:10 +0900 | [diff] [blame] | 330 | '../skia/skia.gyp:skia', |
| 331 | '../ui/aura/aura.gyp:aura', |
sky@chromium.org | 4e94b14 | 2014-05-10 01:26:06 +0900 | [diff] [blame] | 332 | '../ui/base/ui_base.gyp:ui_base', |
sky@chromium.org | b519af5 | 2014-06-07 01:07:54 +0900 | [diff] [blame] | 333 | '../ui/compositor/compositor.gyp:compositor', |
| 334 | '../ui/events/events.gyp:events', |
| 335 | '../ui/events/events.gyp:events_base', |
sky@chromium.org | 4e94b14 | 2014-05-10 01:26:06 +0900 | [diff] [blame] | 336 | '../ui/gfx/gfx.gyp:gfx', |
sky@chromium.org | 96a021b | 2014-04-23 06:58:10 +0900 | [diff] [blame] | 337 | '../ui/gfx/gfx.gyp:gfx_geometry', |
sky@chromium.org | b519af5 | 2014-06-07 01:07:54 +0900 | [diff] [blame] | 338 | '../ui/gl/gl.gyp:gl', |
| 339 | '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', |
davemoore@chromium.org | d9d6a99 | 2014-06-06 14:13:42 +0900 | [diff] [blame] | 340 | 'mojo_application', |
sky@chromium.org | 4e94b14 | 2014-05-10 01:26:06 +0900 | [diff] [blame] | 341 | 'mojo_aura_support', |
sky@chromium.org | 96a021b | 2014-04-23 06:58:10 +0900 | [diff] [blame] | 342 | 'mojo_common_lib', |
| 343 | 'mojo_environment_chromium', |
ben@chromium.org | 2d16756 | 2014-05-22 04:07:40 +0900 | [diff] [blame] | 344 | 'mojo_geometry_bindings', |
| 345 | 'mojo_geometry_lib', |
sky@chromium.org | 4e94b14 | 2014-05-10 01:26:06 +0900 | [diff] [blame] | 346 | 'mojo_gles2', |
sky@chromium.org | 2f1dc95 | 2014-06-05 07:15:03 +0900 | [diff] [blame] | 347 | 'mojo_input_events_bindings', |
| 348 | 'mojo_input_events_lib', |
sky@chromium.org | 96a021b | 2014-04-23 06:58:10 +0900 | [diff] [blame] | 349 | 'mojo_native_viewport_bindings', |
sky@chromium.org | 96a021b | 2014-04-23 06:58:10 +0900 | [diff] [blame] | 350 | 'mojo_system_impl', |
| 351 | 'mojo_view_manager_bindings', |
sky@chromium.org | 2c8782e | 2014-05-03 01:41:49 +0900 | [diff] [blame] | 352 | 'mojo_view_manager_common', |
sky@chromium.org | 96a021b | 2014-04-23 06:58:10 +0900 | [diff] [blame] | 353 | ], |
| 354 | 'sources': [ |
davemoore@chromium.org | d9d6a99 | 2014-06-06 14:13:42 +0900 | [diff] [blame] | 355 | 'public/cpp/application/lib/mojo_main_chromium.cc', |
sky@chromium.org | 4510cc1 | 2014-04-24 07:36:03 +0900 | [diff] [blame] | 356 | 'services/view_manager/ids.h', |
sky@chromium.org | 4e94b14 | 2014-05-10 01:26:06 +0900 | [diff] [blame] | 357 | 'services/view_manager/main.cc', |
sky@chromium.org | 4510cc1 | 2014-04-24 07:36:03 +0900 | [diff] [blame] | 358 | 'services/view_manager/node.cc', |
| 359 | 'services/view_manager/node.h', |
| 360 | 'services/view_manager/node_delegate.h', |
| 361 | 'services/view_manager/root_node_manager.cc', |
| 362 | 'services/view_manager/root_node_manager.h', |
sky@chromium.org | 4e94b14 | 2014-05-10 01:26:06 +0900 | [diff] [blame] | 363 | 'services/view_manager/root_view_manager.cc', |
| 364 | 'services/view_manager/root_view_manager.h', |
sky@chromium.org | bc9d1ef | 2014-05-30 22:07:23 +0900 | [diff] [blame] | 365 | 'services/view_manager/root_view_manager_delegate.h', |
sky@chromium.org | 8af586f | 2014-04-26 00:11:07 +0900 | [diff] [blame] | 366 | 'services/view_manager/view.cc', |
| 367 | 'services/view_manager/view.h', |
sky@chromium.org | 96a021b | 2014-04-23 06:58:10 +0900 | [diff] [blame] | 368 | 'services/view_manager/view_manager_connection.cc', |
| 369 | 'services/view_manager/view_manager_connection.h', |
sky@chromium.org | bc9d1ef | 2014-05-30 22:07:23 +0900 | [diff] [blame] | 370 | 'services/view_manager/view_manager_init_connection.cc', |
| 371 | 'services/view_manager/view_manager_init_connection.h', |
sky@chromium.org | 4510cc1 | 2014-04-24 07:36:03 +0900 | [diff] [blame] | 372 | 'services/view_manager/view_manager_export.h', |
sky@chromium.org | b519af5 | 2014-06-07 01:07:54 +0900 | [diff] [blame] | 373 | 'services/view_manager/context_factory_impl.cc', |
| 374 | 'services/view_manager/context_factory_impl.h', |
| 375 | 'services/view_manager/window_tree_host_impl.cc', |
| 376 | 'services/view_manager/window_tree_host_impl.h', |
sky@chromium.org | 4510cc1 | 2014-04-24 07:36:03 +0900 | [diff] [blame] | 377 | ], |
| 378 | 'defines': [ |
| 379 | 'MOJO_VIEW_MANAGER_IMPLEMENTATION', |
| 380 | ], |
| 381 | }, |
| 382 | { |
sky@chromium.org | 4e94b14 | 2014-05-10 01:26:06 +0900 | [diff] [blame] | 383 | 'target_name': 'mojo_view_manager_run_unittests', |
| 384 | 'type': 'static_library', |
| 385 | 'dependencies': [ |
| 386 | '../base/base.gyp:base', |
| 387 | '../base/base.gyp:test_support_base', |
| 388 | '../ui/gl/gl.gyp:gl', |
| 389 | ], |
| 390 | 'sources': [ |
| 391 | 'services/public/cpp/view_manager/lib/view_manager_test_suite.cc', |
| 392 | 'services/public/cpp/view_manager/lib/view_manager_test_suite.h', |
| 393 | 'services/public/cpp/view_manager/lib/view_manager_unittests.cc', |
| 394 | ], |
| 395 | }, |
| 396 | { |
sky@chromium.org | 4510cc1 | 2014-04-24 07:36:03 +0900 | [diff] [blame] | 397 | 'target_name': 'mojo_view_manager_unittests', |
| 398 | 'type': 'executable', |
| 399 | 'dependencies': [ |
| 400 | '../base/base.gyp:base', |
sky@chromium.org | 4e94b14 | 2014-05-10 01:26:06 +0900 | [diff] [blame] | 401 | '../base/base.gyp:test_support_base', |
sky@chromium.org | 4510cc1 | 2014-04-24 07:36:03 +0900 | [diff] [blame] | 402 | '../skia/skia.gyp:skia', |
| 403 | '../testing/gtest.gyp:gtest', |
| 404 | '../ui/aura/aura.gyp:aura', |
ben@chromium.org | 7c57f34 | 2014-05-23 02:13:12 +0900 | [diff] [blame] | 405 | '../ui/gfx/gfx.gyp:gfx_geometry', |
sky@chromium.org | 4e94b14 | 2014-05-10 01:26:06 +0900 | [diff] [blame] | 406 | '../ui/gl/gl.gyp:gl', |
sky@chromium.org | 239a033 | 2014-05-29 05:16:26 +0900 | [diff] [blame] | 407 | 'mojo_application', |
sky@chromium.org | 4510cc1 | 2014-04-24 07:36:03 +0900 | [diff] [blame] | 408 | 'mojo_environment_chromium', |
ben@chromium.org | 7c57f34 | 2014-05-23 02:13:12 +0900 | [diff] [blame] | 409 | 'mojo_geometry_bindings', |
| 410 | 'mojo_geometry_lib', |
sky@chromium.org | 2f1dc95 | 2014-06-05 07:15:03 +0900 | [diff] [blame] | 411 | 'mojo_input_events_bindings', |
| 412 | 'mojo_input_events_lib', |
sky@chromium.org | 239a033 | 2014-05-29 05:16:26 +0900 | [diff] [blame] | 413 | 'mojo_service_manager', |
sky@chromium.org | 6ad2074 | 2014-04-30 04:31:23 +0900 | [diff] [blame] | 414 | 'mojo_shell_test_support', |
sky@chromium.org | 4510cc1 | 2014-04-24 07:36:03 +0900 | [diff] [blame] | 415 | 'mojo_system_impl', |
sky@chromium.org | 4510cc1 | 2014-04-24 07:36:03 +0900 | [diff] [blame] | 416 | 'mojo_view_manager_bindings', |
sky@chromium.org | 2c8782e | 2014-05-03 01:41:49 +0900 | [diff] [blame] | 417 | 'mojo_view_manager_common', |
sky@chromium.org | 4e94b14 | 2014-05-10 01:26:06 +0900 | [diff] [blame] | 418 | 'mojo_view_manager_run_unittests', |
sky@chromium.org | 4510cc1 | 2014-04-24 07:36:03 +0900 | [diff] [blame] | 419 | ], |
| 420 | 'sources': [ |
sky@chromium.org | 239a033 | 2014-05-29 05:16:26 +0900 | [diff] [blame] | 421 | 'services/view_manager/test_change_tracker.cc', |
| 422 | 'services/view_manager/test_change_tracker.h', |
sky@chromium.org | 4510cc1 | 2014-04-24 07:36:03 +0900 | [diff] [blame] | 423 | 'services/view_manager/view_manager_connection_unittest.cc', |
sky@chromium.org | 96a021b | 2014-04-23 06:58:10 +0900 | [diff] [blame] | 424 | ], |
| 425 | }, |
| 426 | { |
| 427 | 'target_name': 'package_mojo_view_manager', |
| 428 | 'variables': { |
| 429 | 'app_name': 'mojo_view_manager', |
| 430 | }, |
| 431 | 'includes': [ 'build/package_app.gypi' ], |
| 432 | }, |
| 433 | ], |
| 434 | }], |
cmasone@chromium.org | e460a98 | 2014-04-28 20:53:16 +0900 | [diff] [blame] | 435 | ['OS=="linux"', { |
| 436 | 'targets': [ |
| 437 | { |
| 438 | 'target_name': 'mojo_dbus_echo_service', |
| 439 | 'type': 'executable', |
| 440 | 'dependencies': [ |
| 441 | '../base/base.gyp:base', |
| 442 | '../build/linux/system.gyp:dbus', |
| 443 | '../dbus/dbus.gyp:dbus', |
davemoore@chromium.org | c11e2f7 | 2014-05-30 01:58:53 +0900 | [diff] [blame] | 444 | 'mojo_application', |
cmasone@chromium.org | e460a98 | 2014-04-28 20:53:16 +0900 | [diff] [blame] | 445 | 'mojo_common_lib', |
cmasone@chromium.org | b71a65f | 2014-05-02 08:30:06 +0900 | [diff] [blame] | 446 | 'mojo_dbus_service', |
cmasone@chromium.org | e460a98 | 2014-04-28 20:53:16 +0900 | [diff] [blame] | 447 | 'mojo_echo_bindings', |
cmasone@chromium.org | b71a65f | 2014-05-02 08:30:06 +0900 | [diff] [blame] | 448 | 'mojo_environment_chromium', |
cmasone@chromium.org | e460a98 | 2014-04-28 20:53:16 +0900 | [diff] [blame] | 449 | 'mojo_system_impl', |
| 450 | ], |
| 451 | 'sources': [ |
| 452 | 'services/dbus_echo/dbus_echo_service.cc', |
| 453 | ], |
| 454 | }, |
| 455 | ], |
| 456 | }], |
sky@chromium.org | 96a021b | 2014-04-23 06:58:10 +0900 | [diff] [blame] | 457 | ], |
abarth@chromium.org | b2c3fc8 | 2013-12-02 02:27:25 +0900 | [diff] [blame] | 458 | } |