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 |
| 9 'target_name': 'mojo_converters', |
| 10 'type': '<(component)', |
| 11 'defines': [ |
| 12 'MOJO_CONVERTERS_IMPLEMENTATION', |
| 13 ], |
| 14 'dependencies': [ |
| 15 '../base/base.gyp:base', |
| 16 '../cc/cc.gyp:cc', |
| 17 '../cc/cc.gyp:cc_surfaces', |
| 18 '../gpu/gpu.gyp:gpu', |
| 19 '../skia/skia.gyp:skia', |
| 20 '../ui/events/events.gyp:events', |
| 21 '../ui/gfx/gfx.gyp:gfx', |
| 22 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 23 'services/public/mojo_services_public.gyp:mojo_geometry_bindings', |
| 24 'services/public/mojo_services_public.gyp:mojo_gpu_bindings', |
| 25 'services/public/mojo_services_public.gyp:mojo_input_events_bindings', |
| 26 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings', |
| 27 '<(mojo_system_for_component)', |
| 28 ], |
| 29 'export_dependent_settings': [ |
| 30 '../ui/gfx/gfx.gyp:gfx', |
| 31 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings', |
| 32 ], |
| 33 'sources': [ |
| 34 'converters/geometry_type_converters.cc', |
| 35 'converters/geometry_type_converters.h', |
| 36 'converters/input_events_type_converters.cc', |
| 37 'converters/input_events_type_converters.h', |
| 38 'converters/mojo_extended_key_event_data.cc', |
| 39 'converters/mojo_extended_key_event_data.h', |
| 40 'converters/mojo_converters_export.h', |
| 41 'converters/surfaces_type_converters.cc', |
| 42 'converters/surfaces_type_converters.h', |
| 43 'converters/surfaces_utils.cc', |
| 44 'converters/surfaces_utils.h', |
| 45 ], |
| 46 'conditions': [ |
| 47 ['component=="shared_library"', { |
| 48 'dependencies': [ |
| 49 'mojo_base.gyp:mojo_environment_chromium', |
| 50 ], |
| 51 }], |
| 52 ], |
| 53 }, |
| 54 { |
| 55 # GN version: //mojo/converters |
| 56 'target_name': 'mojo_converters_unittests', |
| 57 'type': 'executable', |
| 58 'dependencies': [ |
| 59 '../base/base.gyp:base', |
| 60 '../base/base.gyp:test_support_base', |
| 61 '../cc/cc.gyp:cc', |
| 62 '../cc/cc.gyp:cc_surfaces', |
| 63 '../gpu/gpu.gyp:gpu', |
| 64 '../skia/skia.gyp:skia', |
| 65 '../testing/gtest.gyp:gtest', |
| 66 '../ui/gfx/gfx.gyp:gfx', |
| 67 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 68 '../ui/gfx/gfx.gyp:gfx_test_support', |
| 69 'edk/mojo_edk.gyp:mojo_run_all_unittests', |
| 70 'mojo_base.gyp:mojo_environment_chromium', |
| 71 'mojo_converters', |
| 72 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings', |
| 73 ], |
| 74 'sources': [ |
| 75 'converters/surface_unittest.cc', |
| 76 ], |
| 77 'conditions': [ |
| 78 ['component=="shared_library"', { |
| 79 'dependencies': [ |
| 80 'mojo_base.gyp:mojo_environment_chromium', |
| 81 ], |
| 82 }], |
| 83 ], |
| 84 }, |
| 85 ], |
| 86 } |
OLD | NEW |