OLD | NEW |
| (Empty) |
1 # Copyright 2016 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: //components/display_compositor:display_compositor | |
9 'target_name': 'display_compositor', | |
10 'type': '<(component)', | |
11 'dependencies': [ | |
12 '../base/base.gyp:base', | |
13 '../gpu/gpu.gyp:command_buffer_client', | |
14 '../gpu/gpu.gyp:command_buffer_common', | |
15 '../skia/skia.gyp:skia', | |
16 '../third_party/khronos/khronos.gyp:khronos_headers', | |
17 '../ui/gfx/gfx.gyp:gfx', | |
18 '../ui/gfx/gfx.gyp:gfx_geometry', | |
19 '../ui/gl/gl.gyp:gl', | |
20 ], | |
21 | |
22 'defines': [ | |
23 'DISPLAY_COMPOSITOR_IMPLEMENTATION', | |
24 ], | |
25 | |
26 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
27 'msvs_disabled_warnings': [4267, ], | |
28 | |
29 'include_dirs': [ | |
30 '..', | |
31 ], | |
32 | |
33 'sources': [ | |
34 'display_compositor/buffer_queue.cc', | |
35 'display_compositor/buffer_queue.h', | |
36 'display_compositor/display_compositor_export.h', | |
37 'display_compositor/gl_helper.cc', | |
38 'display_compositor/gl_helper.h', | |
39 'display_compositor/gl_helper_readback_support.cc', | |
40 'display_compositor/gl_helper_readback_support.h', | |
41 'display_compositor/gl_helper_scaling.cc', | |
42 'display_compositor/gl_helper_scaling.h', | |
43 ] | |
44 }, | |
45 { | |
46 # GN version: //components/display_compositor:display_compositor_unittests | |
47 'target_name': 'display_compositor_unittests', | |
48 'type': '<(gtest_target_type)', | |
49 'dependencies': [ | |
50 'display_compositor', | |
51 '../base/base.gyp:base', | |
52 '../base/base.gyp:test_support_base', | |
53 '../cc/cc_tests.gyp:cc_test_support', | |
54 '../gpu/gpu.gyp:command_buffer_client', | |
55 '../media/media.gyp:media', | |
56 '../skia/skia.gyp:skia', | |
57 '../testing/gmock.gyp:gmock', | |
58 '../testing/gtest.gyp:gtest', | |
59 '../ui/gl/gl.gyp:gl_test_support', | |
60 ], | |
61 | |
62 'sources': [ | |
63 "display_compositor/buffer_queue_unittest.cc", | |
64 "display_compositor/display_compositor_test_suite.cc", | |
65 "display_compositor/display_compositor_test_suite.h", | |
66 "display_compositor/gl_helper_unittest.cc", | |
67 "display_compositor/run_all_unittests.cc", | |
68 "display_compositor/yuv_readback_unittest.cc", | |
69 ] | |
70 }, | |
71 { | |
72 # GN version: //components/display_compositor:display_compositor_benchmark | |
73 'target_name': 'display_compositor_benchmark', | |
74 'type': '<(gtest_target_type)', | |
75 'dependencies': [ | |
76 'display_compositor', | |
77 '../base/base.gyp:base', | |
78 '../base/base.gyp:test_support_base', | |
79 '../cc/cc_tests.gyp:cc_test_support', | |
80 '../gpu/gpu.gyp:command_buffer_client', | |
81 '../media/media.gyp:media', | |
82 '../skia/skia.gyp:skia', | |
83 '../testing/gmock.gyp:gmock', | |
84 '../testing/gtest.gyp:gtest', | |
85 '../ui/gl/gl.gyp:gl_test_support', | |
86 ], | |
87 | |
88 'sources': [ | |
89 "display_compositor/display_compositor_test_suite.cc", | |
90 "display_compositor/display_compositor_test_suite.h", | |
91 "display_compositor/gl_helper_benchmark.cc", | |
92 "display_compositor/run_all_unittests.cc", | |
93 ] | |
94 }, | |
95 ] | |
96 } | |
OLD | NEW |