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

Side by Side Diff: components/display_compositor/BUILD.gn

Issue 1931213002: display_compositor: Move CompositorOverlayCandidateValidator from content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@DONE_2016.04.28_dc-overlay-candidate-validator
Patch Set: . Created 4 years, 7 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 unified diff | Download patch
« no previous file with comments | « components/display_compositor.gypi ('k') | components/display_compositor/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/ui.gni")
5 import("//testing/test.gni") 6 import("//testing/test.gni")
6 7
7 component("display_compositor") { 8 component("display_compositor") {
8 sources = [ 9 sources = [
9 "buffer_queue.cc", 10 "buffer_queue.cc",
10 "buffer_queue.h", 11 "buffer_queue.h",
12 "compositor_overlay_candidate_validator.h",
11 "display_compositor_export.h", 13 "display_compositor_export.h",
12 "gl_helper.cc", 14 "gl_helper.cc",
13 "gl_helper.h", 15 "gl_helper.h",
14 "gl_helper_readback_support.cc", 16 "gl_helper_readback_support.cc",
15 "gl_helper_readback_support.h", 17 "gl_helper_readback_support.h",
16 "gl_helper_scaling.cc", 18 "gl_helper_scaling.cc",
17 "gl_helper_scaling.h", 19 "gl_helper_scaling.h",
18 ] 20 ]
19 21
20 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 22 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
21 23
22 defines = [ "DISPLAY_COMPOSITOR_IMPLEMENTATION" ] 24 defines = [ "DISPLAY_COMPOSITOR_IMPLEMENTATION" ]
23 25
24 deps = [ 26 deps = [
25 "//base", 27 "//base",
26 "//cc", 28 "//cc",
27 "//gpu/command_buffer/client", 29 "//gpu/command_buffer/client",
28 "//gpu/command_buffer/client:gles2_interface", 30 "//gpu/command_buffer/client:gles2_interface",
29 "//gpu/command_buffer/common", 31 "//gpu/command_buffer/common",
30 "//skia", 32 "//skia",
31 "//ui/gfx", 33 "//ui/gfx",
32 ] 34 ]
35
36 if (is_mac) {
37 sources += [
38 "compositor_overlay_candidate_validator_mac.h",
39 "compositor_overlay_candidate_validator_mac.mm",
40 ]
41 }
42
43 if (is_android) {
44 sources += [
45 "compositor_overlay_candidate_validator_android.cc",
46 "compositor_overlay_candidate_validator_android.h",
47 ]
48 }
49
50 if (use_ozone) {
51 sources += [
52 "compositor_overlay_candidate_validator_ozone.cc",
53 "compositor_overlay_candidate_validator_ozone.h",
54 ]
55
56 deps += [ "//ui/ozone" ]
57 }
33 } 58 }
34 59
35 test("display_compositor_unittests") { 60 test("display_compositor_unittests") {
36 sources = [ 61 sources = [
37 "buffer_queue_unittest.cc", 62 "buffer_queue_unittest.cc",
38 "display_compositor_test_suite.cc", 63 "display_compositor_test_suite.cc",
39 "display_compositor_test_suite.h", 64 "display_compositor_test_suite.h",
40 "gl_helper_unittest.cc", 65 "gl_helper_unittest.cc",
41 "run_all_unittests.cc", 66 "run_all_unittests.cc",
42 "yuv_readback_unittest.cc", 67 "yuv_readback_unittest.cc",
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 "//skia", 117 "//skia",
93 "//testing/gmock", 118 "//testing/gmock",
94 "//testing/gtest", 119 "//testing/gtest",
95 "//ui/gl:test_support", 120 "//ui/gl:test_support",
96 ] 121 ]
97 122
98 data_deps = [ 123 data_deps = [
99 "//third_party/mesa:osmesa", 124 "//third_party/mesa:osmesa",
100 ] 125 ]
101 } 126 }
OLDNEW
« 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