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("//ui/ozone/ozone.gni") | 5 import("//ui/ozone/ozone.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 # The list of platforms that will be built. | 8 # The list of platforms that will be built. |
9 ozone_platforms = [] | 9 ozone_platforms = [] |
10 | 10 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 "common/gpu/ozone_gpu_message_generator.h", | 88 "common/gpu/ozone_gpu_message_generator.h", |
89 "common/gpu/ozone_gpu_message_params.cc", | 89 "common/gpu/ozone_gpu_message_params.cc", |
90 "common/gpu/ozone_gpu_message_params.h", | 90 "common/gpu/ozone_gpu_message_params.h", |
91 "common/gpu/ozone_gpu_messages.h", | 91 "common/gpu/ozone_gpu_messages.h", |
92 "common/native_display_delegate_ozone.cc", | 92 "common/native_display_delegate_ozone.cc", |
93 "common/native_display_delegate_ozone.h", | 93 "common/native_display_delegate_ozone.h", |
94 "common/stub_overlay_manager.cc", | 94 "common/stub_overlay_manager.cc", |
95 "common/stub_overlay_manager.h", | 95 "common/stub_overlay_manager.h", |
96 "platform_selection.cc", | 96 "platform_selection.cc", |
97 "platform_selection.h", | 97 "platform_selection.h", |
| 98 "public/client_pixmap_manager.cc", |
| 99 "public/client_pixmap_manager.h", |
98 "public/input_controller.cc", | 100 "public/input_controller.cc", |
99 "public/input_controller.h", | 101 "public/input_controller.h", |
100 "public/ozone_gpu_test_helper.cc", | 102 "public/ozone_gpu_test_helper.cc", |
101 "public/ozone_gpu_test_helper.h", | 103 "public/ozone_gpu_test_helper.h", |
102 "public/ozone_platform.cc", | 104 "public/ozone_platform.cc", |
103 "public/ozone_platform.h", | 105 "public/ozone_platform.h", |
104 "public/ozone_switches.cc", | 106 "public/ozone_switches.cc", |
105 "public/ozone_switches.h", | 107 "public/ozone_switches.h", |
106 constructor_list_cc_file, | 108 constructor_list_cc_file, |
107 platform_list_cc_file, | 109 platform_list_cc_file, |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 ] | 160 ] |
159 outputs = [ | 161 outputs = [ |
160 constructor_list_cc_file, | 162 constructor_list_cc_file, |
161 ] | 163 ] |
162 | 164 |
163 args = [ | 165 args = [ |
164 "--platform_list=" + rebase_path(platform_list_txt_file, root_build_dir), | 166 "--platform_list=" + rebase_path(platform_list_txt_file, root_build_dir), |
165 "--output_cc=" + rebase_path(constructor_list_cc_file, root_build_dir), | 167 "--output_cc=" + rebase_path(constructor_list_cc_file, root_build_dir), |
166 "--namespace=ui", | 168 "--namespace=ui", |
167 "--typename=OzonePlatform", | 169 "--typename=OzonePlatform", |
| 170 "--typename=ClientPixmapManager", |
168 "--include=\"ui/ozone/public/ozone_platform.h\"", | 171 "--include=\"ui/ozone/public/ozone_platform.h\"", |
| 172 "--include=\"ui/ozone/public/client_pixmap_manager.h\"", |
169 ] | 173 ] |
170 | 174 |
171 deps = [ | 175 deps = [ |
172 ":generate_ozone_platform_list", | 176 ":generate_ozone_platform_list", |
173 ] | 177 ] |
174 } | 178 } |
175 | 179 |
176 test("ozone_unittests") { | 180 test("ozone_unittests") { |
177 sources = [ | 181 sources = [ |
178 "run_all_unittests.cc", | 182 "run_all_unittests.cc", |
179 ] | 183 ] |
180 | 184 |
181 deps = [ | 185 deps = [ |
182 "//base/test:test_support", | 186 "//base/test:test_support", |
183 "//testing/gtest", | 187 "//testing/gtest", |
184 "//ui/gfx/geometry", | 188 "//ui/gfx/geometry", |
185 ] + ozone_platform_test_deps | 189 ] + ozone_platform_test_deps |
186 } | 190 } |
OLD | NEW |