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 | 6 |
7 source_set("gles2") { | 7 source_set("gles2") { |
8 visibility = [ | 8 visibility = [ |
9 "//components/mus:*", | 9 "//components/mus:*", |
10 "//components/mus/ws:*", | 10 "//components/mus/ws:*", |
(...skipping 29 matching lines...) Expand all Loading... |
40 deps = [ | 40 deps = [ |
41 "//base", | 41 "//base", |
42 "//components/mus/public/interfaces", | 42 "//components/mus/public/interfaces", |
43 "//gpu/command_buffer/client", | 43 "//gpu/command_buffer/client", |
44 "//gpu/command_buffer/client:gles2_interface", | 44 "//gpu/command_buffer/client:gles2_interface", |
45 "//gpu/command_buffer/common:gles2_utils", | 45 "//gpu/command_buffer/common:gles2_utils", |
46 "//gpu/command_buffer/service", | 46 "//gpu/command_buffer/service", |
47 "//gpu/config:config", | 47 "//gpu/config:config", |
48 "//mojo/converters/geometry", | 48 "//mojo/converters/geometry", |
49 "//mojo/public/cpp/bindings", | 49 "//mojo/public/cpp/bindings", |
| 50 "//mojo/public/cpp/system", |
50 "//ui/gfx", | 51 "//ui/gfx", |
51 "//ui/gfx/geometry", | 52 "//ui/gfx/geometry", |
52 "//ui/gl", | 53 "//ui/gl", |
53 "//ui/gl/init", | 54 "//ui/gl/init", |
54 "//ui/mojo/geometry:interfaces", | 55 "//ui/mojo/geometry:interfaces", |
55 ] | 56 ] |
56 | 57 |
57 if (is_android) { | |
58 deps += [ "//mojo/platform_handle:platform_handle_impl" ] | |
59 } else { | |
60 deps += [ "//mojo/platform_handle" ] | |
61 } | |
62 | |
63 if (use_ozone) { | 58 if (use_ozone) { |
64 deps += [ "//ui/ozone:ozone" ] | 59 deps += [ "//ui/ozone:ozone" ] |
65 sources += [ | 60 sources += [ |
66 "ozone_gpu_memory_buffer.cc", | 61 "ozone_gpu_memory_buffer.cc", |
67 "ozone_gpu_memory_buffer.h", | 62 "ozone_gpu_memory_buffer.h", |
68 ] | 63 ] |
69 } | 64 } |
70 | 65 |
71 include_dirs = [ "../.." ] | 66 include_dirs = [ "../.." ] |
72 } | 67 } |
(...skipping 22 matching lines...) Expand all Loading... |
95 "//gpu/command_buffer/common", | 90 "//gpu/command_buffer/common", |
96 "//gpu/config:config", | 91 "//gpu/config:config", |
97 "//mojo/public/cpp/bindings", | 92 "//mojo/public/cpp/bindings", |
98 "//mojo/public/cpp/system", | 93 "//mojo/public/cpp/system", |
99 "//ui/gfx", | 94 "//ui/gfx", |
100 "//ui/gfx/geometry", | 95 "//ui/gfx/geometry", |
101 ] | 96 ] |
102 | 97 |
103 include_dirs = [ "../.." ] | 98 include_dirs = [ "../.." ] |
104 } | 99 } |
OLD | NEW |