OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 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 'targets': [ |
| 7 { |
| 8 # GN version: //mojo/converters/input_events |
| 9 'target_name': 'mojo_input_events_lib', |
| 10 'type': '<(component)', |
| 11 'defines': [ |
| 12 'MOJO_INPUT_EVENTS_IMPLEMENTATION', |
| 13 ], |
| 14 'dependencies': [ |
| 15 '../base/base.gyp:base', |
| 16 '../ui/events/events.gyp:events', |
| 17 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 18 'mojo_geometry_lib', |
| 19 'services/public/mojo_services_public.gyp:mojo_geometry_bindings', |
| 20 'services/public/mojo_services_public.gyp:mojo_input_events_bindings', |
| 21 '<(mojo_system_for_component)', |
| 22 ], |
| 23 'sources': [ |
| 24 'converters/input_events/input_events_type_converters.cc', |
| 25 'converters/input_events/input_events_type_converters.h', |
| 26 'converters/input_events/mojo_extended_key_event_data.cc', |
| 27 'converters/input_events/mojo_extended_key_event_data.h', |
| 28 'converters/input_events/mojo_input_events_export.h', |
| 29 ], |
| 30 'conditions': [ |
| 31 ['component=="shared_library"', { |
| 32 'dependencies': [ |
| 33 'mojo_base.gyp:mojo_environment_chromium', |
| 34 ], |
| 35 }], |
| 36 ], |
| 37 }, |
| 38 { |
| 39 # GN version: //mojo/converters/geometry |
| 40 'target_name': 'mojo_geometry_lib', |
| 41 'type': '<(component)', |
| 42 'defines': [ |
| 43 'MOJO_GEOMETRY_IMPLEMENTATION', |
| 44 ], |
| 45 'dependencies': [ |
| 46 '../skia/skia.gyp:skia', |
| 47 '../ui/gfx/gfx.gyp:gfx', |
| 48 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 49 'services/public/mojo_services_public.gyp:mojo_geometry_bindings', |
| 50 '<(mojo_system_for_component)', |
| 51 ], |
| 52 'export_dependent_settings': [ |
| 53 '../ui/gfx/gfx.gyp:gfx', |
| 54 ], |
| 55 'sources': [ |
| 56 'converters/geometry/geometry_type_converters.cc', |
| 57 'converters/geometry/geometry_type_converters.h', |
| 58 'converters/geometry/mojo_geometry_export.h', |
| 59 ], |
| 60 'conditions': [ |
| 61 ['component=="shared_library"', { |
| 62 'dependencies': [ |
| 63 'mojo_base.gyp:mojo_environment_chromium', |
| 64 ], |
| 65 }], |
| 66 ], |
| 67 }, |
| 68 { |
| 69 # GN version: //mojo/converters/surfaces |
| 70 'target_name': 'mojo_surfaces_lib', |
| 71 'type': '<(component)', |
| 72 'defines': [ |
| 73 'MOJO_SURFACES_IMPLEMENTATION', |
| 74 ], |
| 75 'dependencies': [ |
| 76 '../base/base.gyp:base', |
| 77 '../cc/cc.gyp:cc', |
| 78 '../cc/cc.gyp:cc_surfaces', |
| 79 '../skia/skia.gyp:skia', |
| 80 '../gpu/gpu.gyp:gpu', |
| 81 '../ui/gfx/gfx.gyp:gfx', |
| 82 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 83 'mojo_geometry_lib', |
| 84 'services/public/mojo_services_public.gyp:mojo_gpu_bindings', |
| 85 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings', |
| 86 '<(mojo_system_for_component)', |
| 87 ], |
| 88 'export_dependent_settings': [ |
| 89 'mojo_geometry_lib', |
| 90 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings', |
| 91 ], |
| 92 'sources': [ |
| 93 'converters/surfaces/surfaces_type_converters.cc', |
| 94 'converters/surfaces/surfaces_type_converters.h', |
| 95 'converters/surfaces/surfaces_utils.cc', |
| 96 'converters/surfaces/surfaces_utils.h', |
| 97 'converters/surfaces/mojo_surfaces_export.h', |
| 98 ], |
| 99 'conditions': [ |
| 100 ['component=="shared_library"', { |
| 101 'dependencies': [ |
| 102 'mojo_base.gyp:mojo_environment_chromium', |
| 103 ], |
| 104 }], |
| 105 ], |
| 106 }, |
| 107 { |
| 108 # GN version: //mojo/converters/surfaces/tests |
| 109 'target_name': 'mojo_surfaces_lib_unittests', |
| 110 'type': 'executable', |
| 111 'dependencies': [ |
| 112 '../base/base.gyp:base', |
| 113 '../base/base.gyp:test_support_base', |
| 114 '../cc/cc.gyp:cc', |
| 115 '../cc/cc.gyp:cc_surfaces', |
| 116 '../gpu/gpu.gyp:gpu', |
| 117 '../skia/skia.gyp:skia', |
| 118 '../testing/gtest.gyp:gtest', |
| 119 '../ui/gfx/gfx.gyp:gfx', |
| 120 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 121 '../ui/gfx/gfx.gyp:gfx_test_support', |
| 122 'edk/mojo_edk.gyp:mojo_run_all_unittests', |
| 123 'mojo_base.gyp:mojo_environment_chromium', |
| 124 'mojo_geometry_lib', |
| 125 'mojo_surfaces_lib', |
| 126 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings', |
| 127 ], |
| 128 'sources': [ |
| 129 'converters/surfaces/tests/surface_unittest.cc', |
| 130 ], |
| 131 'conditions': [ |
| 132 ['component=="shared_library"', { |
| 133 'dependencies': [ |
| 134 'mojo_base.gyp:mojo_environment_chromium', |
| 135 ], |
| 136 }], |
| 137 ], |
| 138 }, |
| 139 ], |
| 140 } |
OLD | NEW |