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

Unified Diff: components/display_compositor/BUILD.gn

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/display_compositor.gypi ('k') | components/display_compositor/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/display_compositor/BUILD.gn
diff --git a/components/display_compositor/BUILD.gn b/components/display_compositor/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..d9964b7ce5379f8cfc87b7722e114da946bd7005
--- /dev/null
+++ b/components/display_compositor/BUILD.gn
@@ -0,0 +1,101 @@
+# 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.
+
+import("//testing/test.gni")
+
+component("display_compositor") {
+ sources = [
+ "buffer_queue.cc",
+ "buffer_queue.h",
+ "display_compositor_export.h",
+ "gl_helper.cc",
+ "gl_helper.h",
+ "gl_helper_readback_support.cc",
+ "gl_helper_readback_support.h",
+ "gl_helper_scaling.cc",
+ "gl_helper_scaling.h",
+ ]
+
+ configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
+
+ defines = [ "DISPLAY_COMPOSITOR_IMPLEMENTATION" ]
+
+ deps = [
+ "//base",
+ "//cc",
+ "//gpu/command_buffer/client",
+ "//gpu/command_buffer/client:gles2_interface",
+ "//gpu/command_buffer/common",
+ "//skia",
+ "//ui/gfx",
+ ]
+}
+
+test("display_compositor_unittests") {
+ sources = [
+ "buffer_queue_unittest.cc",
+ "display_compositor_test_suite.cc",
+ "display_compositor_test_suite.h",
+ "gl_helper_unittest.cc",
+ "run_all_unittests.cc",
+ "yuv_readback_unittest.cc",
+ ]
+
+ configs += [
+ "//build/config/compiler:no_size_t_to_int_warning",
+ "//third_party/khronos:khronos_headers",
+ ]
+
+ deps = [
+ ":display_compositor",
+ "//base",
+ "//base/test:test_support",
+ "//cc:test_support",
+ "//gpu/command_buffer/client",
+ "//gpu/command_buffer/client:gl_in_process_context",
+ "//gpu/command_buffer/client:gles2_implementation",
+ "//media",
+ "//skia",
+ "//testing/gmock",
+ "//testing/gtest",
+ "//ui/gl:test_support",
+ ]
+
+ data_deps = [
+ "//third_party/mesa:osmesa",
+ ]
+}
+
+test("display_compositor_benchmark") {
+ sources = [
+ "display_compositor_test_suite.cc",
+ "display_compositor_test_suite.h",
+ "gl_helper_benchmark.cc",
+ "run_all_unittests.cc",
+ ]
+
+ configs += [
+ "//build/config/compiler:no_size_t_to_int_warning",
+ "//third_party/khronos:khronos_headers",
+ ]
+
+ deps = [
+ ":display_compositor",
+ "//base",
+ "//base/test:test_support",
+ "//cc:test_support",
+ "//gpu/command_buffer/client",
+ "//gpu/command_buffer/client:gl_in_process_context",
+ "//gpu/command_buffer/client:gles2_implementation",
+ "//media",
+ "//skia",
+ "//testing/gmock",
+ "//testing/gtest",
+ "//ui/gl:test_support",
+ ]
+
+ data_deps = [
+ "//third_party/mesa:osmesa",
+ ]
+}
« no previous file with comments | « components/display_compositor.gypi ('k') | components/display_compositor/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698