| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//build/config/ui.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 component("compositor") { | 8 component("compositor") { |
| 9 sources = [ | 9 sources = [ |
| 10 "closure_animation_observer.cc", | 10 "closure_animation_observer.cc", |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 | 81 |
| 82 source_set("test_support") { | 82 source_set("test_support") { |
| 83 testonly = true | 83 testonly = true |
| 84 sources = [ | 84 sources = [ |
| 85 "test/context_factories_for_test.cc", | 85 "test/context_factories_for_test.cc", |
| 86 "test/context_factories_for_test.h", | 86 "test/context_factories_for_test.h", |
| 87 "test/draw_waiter_for_test.cc", | 87 "test/draw_waiter_for_test.cc", |
| 88 "test/draw_waiter_for_test.h", | 88 "test/draw_waiter_for_test.h", |
| 89 "test/in_process_context_factory.cc", | 89 "test/in_process_context_factory.cc", |
| 90 "test/in_process_context_factory.h", | 90 "test/in_process_context_factory.h", |
| 91 "test/in_process_context_provider.cc", |
| 92 "test/in_process_context_provider.h", |
| 91 "test/layer_animator_test_controller.cc", | 93 "test/layer_animator_test_controller.cc", |
| 92 "test/layer_animator_test_controller.h", | 94 "test/layer_animator_test_controller.h", |
| 93 "test/test_compositor_host.h", | 95 "test/test_compositor_host.h", |
| 94 "test/test_compositor_host_mac.mm", | 96 "test/test_compositor_host_mac.mm", |
| 95 "test/test_compositor_host_win.cc", | 97 "test/test_compositor_host_win.cc", |
| 96 "test/test_layer_animation_delegate.cc", | 98 "test/test_layer_animation_delegate.cc", |
| 97 "test/test_layer_animation_delegate.h", | 99 "test/test_layer_animation_delegate.h", |
| 98 "test/test_layer_animation_observer.cc", | 100 "test/test_layer_animation_observer.cc", |
| 99 "test/test_layer_animation_observer.h", | 101 "test/test_layer_animation_observer.h", |
| 100 "test/test_layers.cc", | 102 "test/test_layers.cc", |
| 101 "test/test_layers.h", | 103 "test/test_layers.h", |
| 102 "test/test_suite.cc", | 104 "test/test_suite.cc", |
| 103 "test/test_suite.h", | 105 "test/test_suite.h", |
| 104 "test/test_utils.cc", | 106 "test/test_utils.cc", |
| 105 "test/test_utils.h", | 107 "test/test_utils.h", |
| 106 ] | 108 ] |
| 107 | 109 |
| 108 public_deps = [ | 110 public_deps = [ |
| 109 ":compositor", | 111 ":compositor", |
| 110 ] | 112 ] |
| 111 deps = [ | 113 deps = [ |
| 112 "//base/test:test_support", | 114 "//base/test:test_support", |
| 113 "//cc", | 115 "//cc", |
| 114 "//cc/surfaces", | 116 "//cc/surfaces", |
| 115 "//cc:test_support", | 117 "//cc:test_support", |
| 116 "//gpu/blink", | |
| 117 "//skia", | 118 "//skia", |
| 118 "//testing/gtest", | 119 "//testing/gtest", |
| 119 "//third_party/WebKit/public:blink_minimal", | 120 "//third_party/WebKit/public:blink_minimal", |
| 120 "//ui/base", | 121 "//ui/base", |
| 121 "//ui/gfx", | 122 "//ui/gfx", |
| 122 "//ui/gfx/geometry", | 123 "//ui/gfx/geometry", |
| 123 "//ui/gl", | 124 "//ui/gl", |
| 124 "//webkit/common/gpu", | |
| 125 ] | 125 ] |
| 126 | 126 |
| 127 if (use_x11) { | 127 if (use_x11) { |
| 128 configs += [ "//build/config/linux:x11" ] | 128 configs += [ "//build/config/linux:x11" ] |
| 129 deps += [ "//ui/gfx/x" ] | 129 deps += [ "//ui/gfx/x" ] |
| 130 } | 130 } |
| 131 | 131 |
| 132 if (use_ozone) { | 132 if (use_ozone) { |
| 133 sources += [ "test/test_compositor_host_ozone.cc" ] | 133 sources += [ "test/test_compositor_host_ozone.cc" ] |
| 134 } else if (use_x11) { | 134 } else if (use_x11) { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 161 # "//ui/gfx", | 161 # "//ui/gfx", |
| 162 # "//ui/gfx/geometry", | 162 # "//ui/gfx/geometry", |
| 163 # "//ui/gl", | 163 # "//ui/gl", |
| 164 # "//ui/resources", | 164 # "//ui/resources", |
| 165 # ] | 165 # ] |
| 166 # | 166 # |
| 167 # if (is_linux) { | 167 # if (is_linux) { |
| 168 # deps += [ "//third_party/mesa:osmesa" ] | 168 # deps += [ "//third_party/mesa:osmesa" ] |
| 169 # } | 169 # } |
| 170 #} | 170 #} |
| OLD | NEW |