| OLD | NEW |
| 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("//testing/test.gni") | 5 import("//testing/test.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 if (is_mac) { | 7 if (is_mac) { |
| 8 import("//build/config/mac/mac_sdk.gni") | 8 import("//build/config/mac/mac_sdk.gni") |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 target(link_target_type, "ipc_service_sources") { | 28 target(link_target_type, "ipc_service_sources") { |
| 29 visibility = [ "//gpu/*" ] | 29 visibility = [ "//gpu/*" ] |
| 30 sources = [ | 30 sources = [ |
| 31 "gpu_channel.cc", | 31 "gpu_channel.cc", |
| 32 "gpu_channel.h", | 32 "gpu_channel.h", |
| 33 "gpu_channel_manager.cc", | 33 "gpu_channel_manager.cc", |
| 34 "gpu_channel_manager.h", | 34 "gpu_channel_manager.h", |
| 35 "gpu_channel_manager_delegate.h", | 35 "gpu_channel_manager_delegate.h", |
| 36 "gpu_command_buffer_stub.cc", | 36 "gpu_command_buffer_stub.cc", |
| 37 "gpu_command_buffer_stub.h", | 37 "gpu_command_buffer_stub.h", |
| 38 "gpu_command_stream.h", |
| 38 "gpu_config.h", | 39 "gpu_config.h", |
| 39 "gpu_init.cc", | 40 "gpu_init.cc", |
| 40 "gpu_init.h", | 41 "gpu_init.h", |
| 41 "gpu_memory_buffer_factory.cc", | 42 "gpu_memory_buffer_factory.cc", |
| 42 "gpu_memory_buffer_factory.h", | 43 "gpu_memory_buffer_factory.h", |
| 43 "gpu_memory_manager.cc", | 44 "gpu_memory_manager.cc", |
| 44 "gpu_memory_manager.h", | 45 "gpu_memory_manager.h", |
| 45 "gpu_memory_tracking.cc", | 46 "gpu_memory_tracking.cc", |
| 46 "gpu_memory_tracking.h", | 47 "gpu_memory_tracking.h", |
| 48 "gpu_scheduler.cc", |
| 49 "gpu_scheduler.h", |
| 47 "gpu_watchdog_thread.cc", | 50 "gpu_watchdog_thread.cc", |
| 48 "gpu_watchdog_thread.h", | 51 "gpu_watchdog_thread.h", |
| 49 "image_transport_surface.h", | 52 "image_transport_surface.h", |
| 50 "image_transport_surface_delegate.cc", | 53 "image_transport_surface_delegate.cc", |
| 51 "image_transport_surface_delegate.h", | 54 "image_transport_surface_delegate.h", |
| 52 "pass_through_image_transport_surface.cc", | 55 "pass_through_image_transport_surface.cc", |
| 53 "pass_through_image_transport_surface.h", | 56 "pass_through_image_transport_surface.h", |
| 54 "switches.cc", | 57 "switches.cc", |
| 55 "switches.h", | 58 "switches.h", |
| 56 ] | 59 ] |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 ] | 139 ] |
| 137 } | 140 } |
| 138 | 141 |
| 139 test("gpu_ipc_service_unittests") { | 142 test("gpu_ipc_service_unittests") { |
| 140 configs += [ "//build/config:precompiled_headers" ] | 143 configs += [ "//build/config:precompiled_headers" ] |
| 141 sources = [ | 144 sources = [ |
| 142 "gpu_channel_manager_unittest.cc", | 145 "gpu_channel_manager_unittest.cc", |
| 143 "gpu_channel_test_common.cc", | 146 "gpu_channel_test_common.cc", |
| 144 "gpu_channel_test_common.h", | 147 "gpu_channel_test_common.h", |
| 145 "gpu_channel_unittest.cc", | 148 "gpu_channel_unittest.cc", |
| 149 "gpu_scheduler_unittest.cc", |
| 146 ] | 150 ] |
| 147 deps = [ | 151 deps = [ |
| 148 ":service", | 152 ":service", |
| 149 ":test_support", | 153 ":test_support", |
| 150 "//base", | 154 "//base", |
| 151 "//base/test:test_support", | 155 "//base/test:test_support", |
| 152 "//gpu/command_buffer/common", | 156 "//gpu/command_buffer/common", |
| 153 "//gpu/command_buffer/common:gles2_utils", | 157 "//gpu/command_buffer/common:gles2_utils", |
| 154 "//gpu/command_buffer/service", | 158 "//gpu/command_buffer/service", |
| 155 "//gpu/config", | 159 "//gpu/config", |
| (...skipping 14 matching lines...) Expand all Loading... |
| 170 deps += [ "//ui/android:ui_java" ] | 174 deps += [ "//ui/android:ui_java" ] |
| 171 } | 175 } |
| 172 if (is_mac) { | 176 if (is_mac) { |
| 173 sources += [ "gpu_memory_buffer_factory_io_surface_unittest.cc" ] | 177 sources += [ "gpu_memory_buffer_factory_io_surface_unittest.cc" ] |
| 174 } | 178 } |
| 175 if (use_ozone) { | 179 if (use_ozone) { |
| 176 sources += [ "gpu_memory_buffer_factory_ozone_native_pixmap_unittest.cc" ] | 180 sources += [ "gpu_memory_buffer_factory_ozone_native_pixmap_unittest.cc" ] |
| 177 deps += [ "//ui/ozone" ] | 181 deps += [ "//ui/ozone" ] |
| 178 } | 182 } |
| 179 } | 183 } |
| OLD | NEW |