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 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 63 'msvs_disabled_warnings': [4267, ], |
| 64 |
| 65 'sources': [ |
| 66 "display_compositor/buffer_queue_unittest.cc", |
| 67 "display_compositor/display_compositor_test_suite.cc", |
| 68 "display_compositor/display_compositor_test_suite.h", |
| 69 "display_compositor/gl_helper_unittest.cc", |
| 70 "display_compositor/run_all_unittests.cc", |
| 71 "display_compositor/yuv_readback_unittest.cc", |
| 72 ] |
| 73 }, |
| 74 { |
| 75 # GN version: //components/display_compositor:display_compositor_benchmark |
| 76 'target_name': 'display_compositor_benchmark', |
| 77 'type': '<(gtest_target_type)', |
| 78 'dependencies': [ |
| 79 'display_compositor', |
| 80 '../base/base.gyp:base', |
| 81 '../base/base.gyp:test_support_base', |
| 82 '../cc/cc_tests.gyp:cc_test_support', |
| 83 '../gpu/gpu.gyp:command_buffer_client', |
| 84 '../media/media.gyp:media', |
| 85 '../skia/skia.gyp:skia', |
| 86 '../testing/gmock.gyp:gmock', |
| 87 '../testing/gtest.gyp:gtest', |
| 88 '../ui/gl/gl.gyp:gl_test_support', |
| 89 ], |
| 90 |
| 91 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 92 'msvs_disabled_warnings': [4267, ], |
| 93 |
| 94 'sources': [ |
| 95 "display_compositor/display_compositor_test_suite.cc", |
| 96 "display_compositor/display_compositor_test_suite.h", |
| 97 "display_compositor/gl_helper_benchmark.cc", |
| 98 "display_compositor/run_all_unittests.cc", |
| 99 ] |
| 100 }, |
| 101 ] |
| 102 } |
OLD | NEW |