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 18 matching lines...) Expand all Loading... |
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_config.h", | 38 "gpu_config.h", |
| 39 "gpu_init.cc", |
| 40 "gpu_init.h", |
| 41 "gpu_init_delegate.h", |
39 "gpu_memory_buffer_factory.cc", | 42 "gpu_memory_buffer_factory.cc", |
40 "gpu_memory_buffer_factory.h", | 43 "gpu_memory_buffer_factory.h", |
41 "gpu_memory_manager.cc", | 44 "gpu_memory_manager.cc", |
42 "gpu_memory_manager.h", | 45 "gpu_memory_manager.h", |
43 "gpu_memory_tracking.cc", | 46 "gpu_memory_tracking.cc", |
44 "gpu_memory_tracking.h", | 47 "gpu_memory_tracking.h", |
45 "gpu_watchdog_thread.cc", | 48 "gpu_watchdog_thread.cc", |
46 "gpu_watchdog_thread.h", | 49 "gpu_watchdog_thread.h", |
47 "image_transport_surface.h", | 50 "image_transport_surface.h", |
48 "pass_through_image_transport_surface.cc", | 51 "pass_through_image_transport_surface.cc", |
49 "pass_through_image_transport_surface.h", | 52 "pass_through_image_transport_surface.h", |
50 ] | 53 ] |
51 configs += [ "//gpu:gpu_implementation" ] | 54 configs += [ "//gpu:gpu_implementation" ] |
52 public_deps = [ | 55 public_deps = [ |
53 "//base", | 56 "//base", |
54 "//ipc", | 57 "//ipc", |
55 "//ui/base", | 58 "//ui/base", |
56 "//ui/events:events_base", | 59 "//ui/events:events_base", |
57 "//ui/gfx", | 60 "//ui/gfx", |
58 "//ui/gfx/geometry", | 61 "//ui/gfx/geometry", |
59 "//ui/gl", | 62 "//ui/gl", |
60 "//ui/gl/init", | 63 "//ui/gl/init", |
61 "//url", | 64 "//url", |
62 ] | 65 ] |
63 deps = [ | 66 deps = [ |
| 67 "//base/third_party/dynamic_annotations", |
64 "//gpu/command_buffer/common:common_sources", | 68 "//gpu/command_buffer/common:common_sources", |
65 "//gpu/command_buffer/service:service_sources", | 69 "//gpu/command_buffer/service:service_sources", |
66 "//gpu/config:config_sources", | 70 "//gpu/config:config_sources", |
67 "//gpu/ipc/common:ipc_common_sources", | 71 "//gpu/ipc/common:ipc_common_sources", |
68 ] | 72 ] |
69 libs = [] | 73 libs = [] |
70 if (is_win) { | 74 if (is_win) { |
71 sources += [ | 75 sources += [ |
72 "child_window_surface_win.cc", | 76 "child_window_surface_win.cc", |
73 "child_window_surface_win.h", | 77 "child_window_surface_win.h", |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 deps += [ "//ui/android:ui_java" ] | 170 deps += [ "//ui/android:ui_java" ] |
167 } | 171 } |
168 if (is_mac) { | 172 if (is_mac) { |
169 sources += [ "gpu_memory_buffer_factory_io_surface_unittest.cc" ] | 173 sources += [ "gpu_memory_buffer_factory_io_surface_unittest.cc" ] |
170 } | 174 } |
171 if (use_ozone) { | 175 if (use_ozone) { |
172 sources += [ "gpu_memory_buffer_factory_ozone_native_pixmap_unittest.cc" ] | 176 sources += [ "gpu_memory_buffer_factory_ozone_native_pixmap_unittest.cc" ] |
173 deps += [ "//ui/ozone" ] | 177 deps += [ "//ui/ozone" ] |
174 } | 178 } |
175 } | 179 } |
OLD | NEW |