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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 if (enable_vulkan) { | 8 if (enable_vulkan) { |
9 component("vulkan") { | 9 component("vulkan") { |
10 output_name = "vulkan_wrapper" | 10 output_name = "vulkan_wrapper" |
11 | 11 |
12 if (is_linux) { | 12 if (is_linux) { |
13 assert(use_x11, "Vulkan only support x11 at this point.") | 13 assert(use_x11, "Vulkan only support x11 at this point.") |
14 sources = [ | 14 sources = [ |
15 "vulkan_command_buffer.cc", | 15 "vulkan_command_buffer.cc", |
16 "vulkan_command_buffer.h", | 16 "vulkan_command_buffer.h", |
17 "vulkan_command_pool.cc", | 17 "vulkan_command_pool.cc", |
18 "vulkan_command_pool.h", | 18 "vulkan_command_pool.h", |
| 19 "vulkan_device_queue.cc", |
| 20 "vulkan_device_queue.h", |
19 "vulkan_export.h", | 21 "vulkan_export.h", |
20 "vulkan_image_view.cc", | 22 "vulkan_image_view.cc", |
21 "vulkan_image_view.h", | 23 "vulkan_image_view.h", |
22 "vulkan_implementation.cc", | 24 "vulkan_implementation.cc", |
23 "vulkan_implementation.h", | 25 "vulkan_implementation.h", |
24 "vulkan_platform.h", | 26 "vulkan_platform.h", |
25 "vulkan_render_pass.cc", | 27 "vulkan_render_pass.cc", |
26 "vulkan_render_pass.h", | 28 "vulkan_render_pass.h", |
27 "vulkan_surface.cc", | 29 "vulkan_surface.cc", |
28 "vulkan_surface.h", | 30 "vulkan_surface.h", |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 "//testing/gtest", | 78 "//testing/gtest", |
77 ] | 79 ] |
78 | 80 |
79 if (use_x11) { | 81 if (use_x11) { |
80 sources += [ "tests/native_window_x11.cc" ] | 82 sources += [ "tests/native_window_x11.cc" ] |
81 deps += [ "//ui/gfx/x" ] | 83 deps += [ "//ui/gfx/x" ] |
82 configs += [ "//build/config/linux:x11" ] | 84 configs += [ "//build/config/linux:x11" ] |
83 } | 85 } |
84 } | 86 } |
85 } | 87 } |
OLD | NEW |