Log major user interactions with the WebsiteSettings (origin info) bubble.
[chromium-blink-merge.git] / mojo / mojo_surface_converters.gyp
blobf533ed5a507a494e3cb18ffa57a7018e496c6948
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.
6   'includes': [
7     'mojo_variables.gypi',
8   ],
9   'targets': [
10     {
11       # GN version: //mojo/converters/surfaces
12       'target_name': 'mojo_surfaces_lib',
13       'type': '<(component)',
14       'defines': [
15         'MOJO_SURFACES_IMPLEMENTATION',
16       ],
17       'dependencies': [
18         '../base/base.gyp:base',
19         '../cc/cc.gyp:cc',
20         '../cc/cc.gyp:cc_surfaces',
21         '../skia/skia.gyp:skia',
22         '../gpu/gpu.gyp:gpu',
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)',
29       ],
30       'export_dependent_settings': [
31         'mojo_geometry_converters.gyp:mojo_geometry_lib',
32         'services/public/mojo_services_public.gyp:mojo_surfaces_bindings',
33       ],
34       'sources': [
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',
40       ],
41       'conditions': [
42         ['component=="shared_library"', {
43           'dependencies': [
44             'mojo_base.gyp:mojo_environment_chromium',
45           ],
46         }],
47       ],
48     },
49     {
50       # GN version: //mojo/converters/surfaces/tests
51       'target_name': 'mojo_surfaces_lib_unittests',
52       'type': 'executable',
53       'dependencies': [
54         '../base/base.gyp:base',
55         '../base/base.gyp:test_support_base',
56         '../cc/cc.gyp:cc',
57         '../cc/cc.gyp:cc_surfaces',
58         '../gpu/gpu.gyp:gpu',
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',
67         'mojo_surfaces_lib',
68         'services/public/mojo_services_public.gyp:mojo_surfaces_bindings',
69       ],
70       'sources': [
71         'converters/surfaces/tests/surface_unittest.cc',
72       ],
73       'conditions': [
74         ['component=="shared_library"', {
75           'dependencies': [
76             'mojo_base.gyp:mojo_environment_chromium',
77           ],
78         }],
79       ],
80     },
81   ],