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.
11 # GN version: //mojo/converters/surfaces
12 'target_name': 'mojo_surfaces_lib',
13 'type': '<(component)',
15 'MOJO_SURFACES_IMPLEMENTATION',
18 '../base/base.gyp:base',
20 '../cc/cc.gyp:cc_surfaces',
21 '../skia/skia.gyp:skia',
23 '../ui/gfx/gfx.gyp:gfx',
24 '../ui/gfx/gfx.gyp:gfx_geometry',
25 'mojo_geometry_converters.gyp:mojo_geometry_lib',
26 'services/public/mojo_services_public.gyp:mojo_gpu_bindings',
27 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings',
28 '<(mojo_system_for_component)',
30 'export_dependent_settings': [
31 'mojo_geometry_converters.gyp:mojo_geometry_lib',
32 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings',
35 'converters/surfaces/surfaces_type_converters.cc',
36 'converters/surfaces/surfaces_type_converters.h',
37 'converters/surfaces/surfaces_utils.cc',
38 'converters/surfaces/surfaces_utils.h',
39 'converters/surfaces/mojo_surfaces_export.h',
42 ['component=="shared_library"', {
44 'mojo_base.gyp:mojo_environment_chromium',
50 # GN version: //mojo/converters/surfaces/tests
51 'target_name': 'mojo_surfaces_lib_unittests',
54 '../base/base.gyp:base',
55 '../base/base.gyp:test_support_base',
57 '../cc/cc.gyp:cc_surfaces',
59 '../skia/skia.gyp:skia',
60 '../testing/gtest.gyp:gtest',
61 '../ui/gfx/gfx.gyp:gfx',
62 '../ui/gfx/gfx.gyp:gfx_geometry',
63 '../ui/gfx/gfx.gyp:gfx_test_support',
64 'edk/mojo_edk.gyp:mojo_run_all_unittests',
65 'mojo_base.gyp:mojo_environment_chromium',
66 'mojo_geometry_converters.gyp:mojo_geometry_lib',
68 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings',
71 'converters/surfaces/tests/surface_unittest.cc',
74 ['component=="shared_library"', {
76 'mojo_base.gyp:mojo_environment_chromium',