Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(311)

Unified Diff: components/display_compositor.gypi

Issue 1902463002: Introduce components/display_compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove bot changes. Will do in a separate CL Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/components.gyp ('k') | components/display_compositor/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/display_compositor.gypi
diff --git a/components/display_compositor.gypi b/components/display_compositor.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..f0ef224662692b567ef465499dc4580d7c535304
--- /dev/null
+++ b/components/display_compositor.gypi
@@ -0,0 +1,102 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'targets': [
+ {
+ # GN version: //components/display_compositor:display_compositor
+ 'target_name': 'display_compositor',
+ 'type': '<(component)',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../gpu/gpu.gyp:command_buffer_client',
+ '../gpu/gpu.gyp:command_buffer_common',
+ '../skia/skia.gyp:skia',
+ '../third_party/khronos/khronos.gyp:khronos_headers',
+ '../ui/gfx/gfx.gyp:gfx',
+ '../ui/gfx/gfx.gyp:gfx_geometry',
+ '../ui/gl/gl.gyp:gl',
+ ],
+
+ 'defines': [
+ 'DISPLAY_COMPOSITOR_IMPLEMENTATION',
+ ],
+
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
+ 'msvs_disabled_warnings': [4267, ],
+
+ 'include_dirs': [
+ '..',
+ ],
+
+ 'sources': [
+ 'display_compositor/buffer_queue.cc',
+ 'display_compositor/buffer_queue.h',
+ 'display_compositor/display_compositor_export.h',
+ 'display_compositor/gl_helper.cc',
+ 'display_compositor/gl_helper.h',
+ 'display_compositor/gl_helper_readback_support.cc',
+ 'display_compositor/gl_helper_readback_support.h',
+ 'display_compositor/gl_helper_scaling.cc',
+ 'display_compositor/gl_helper_scaling.h',
+ ]
+ },
+ {
+ # GN version: //components/display_compositor:display_compositor_unittests
+ 'target_name': 'display_compositor_unittests',
+ 'type': '<(gtest_target_type)',
+ 'dependencies': [
+ 'display_compositor',
+ '../base/base.gyp:base',
+ '../base/base.gyp:test_support_base',
+ '../cc/cc_tests.gyp:cc_test_support',
+ '../gpu/gpu.gyp:command_buffer_client',
+ '../media/media.gyp:media',
+ '../skia/skia.gyp:skia',
+ '../testing/gmock.gyp:gmock',
+ '../testing/gtest.gyp:gtest',
+ '../ui/gl/gl.gyp:gl_test_support',
+ ],
+
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
+ 'msvs_disabled_warnings': [4267, ],
+
+ 'sources': [
+ "display_compositor/buffer_queue_unittest.cc",
+ "display_compositor/display_compositor_test_suite.cc",
+ "display_compositor/display_compositor_test_suite.h",
+ "display_compositor/gl_helper_unittest.cc",
+ "display_compositor/run_all_unittests.cc",
+ "display_compositor/yuv_readback_unittest.cc",
+ ]
+ },
+ {
+ # GN version: //components/display_compositor:display_compositor_benchmark
+ 'target_name': 'display_compositor_benchmark',
+ 'type': '<(gtest_target_type)',
+ 'dependencies': [
+ 'display_compositor',
+ '../base/base.gyp:base',
+ '../base/base.gyp:test_support_base',
+ '../cc/cc_tests.gyp:cc_test_support',
+ '../gpu/gpu.gyp:command_buffer_client',
+ '../media/media.gyp:media',
+ '../skia/skia.gyp:skia',
+ '../testing/gmock.gyp:gmock',
+ '../testing/gtest.gyp:gtest',
+ '../ui/gl/gl.gyp:gl_test_support',
+ ],
+
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
+ 'msvs_disabled_warnings': [4267, ],
+
+ 'sources': [
+ "display_compositor/display_compositor_test_suite.cc",
+ "display_compositor/display_compositor_test_suite.h",
+ "display_compositor/gl_helper_benchmark.cc",
+ "display_compositor/run_all_unittests.cc",
+ ]
+ },
+ ]
+}
« no previous file with comments | « components/components.gyp ('k') | components/display_compositor/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698