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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 "common/gpu/ozone_gpu_message_params.h", | 93 "common/gpu/ozone_gpu_message_params.h", |
94 "common/gpu/ozone_gpu_messages.h", | 94 "common/gpu/ozone_gpu_messages.h", |
95 "common/native_display_delegate_ozone.cc", | 95 "common/native_display_delegate_ozone.cc", |
96 "common/native_display_delegate_ozone.h", | 96 "common/native_display_delegate_ozone.h", |
97 "common/stub_overlay_manager.cc", | 97 "common/stub_overlay_manager.cc", |
98 "common/stub_overlay_manager.h", | 98 "common/stub_overlay_manager.h", |
99 "platform_selection.cc", | 99 "platform_selection.cc", |
100 "platform_selection.h", | 100 "platform_selection.h", |
101 "public/input_controller.cc", | 101 "public/input_controller.cc", |
102 "public/input_controller.h", | 102 "public/input_controller.h", |
| 103 "public/native_pixmap_manager.cc", |
| 104 "public/native_pixmap_manager.h", |
103 "public/ozone_gpu_test_helper.cc", | 105 "public/ozone_gpu_test_helper.cc", |
104 "public/ozone_gpu_test_helper.h", | 106 "public/ozone_gpu_test_helper.h", |
105 "public/ozone_platform.cc", | 107 "public/ozone_platform.cc", |
106 "public/ozone_platform.h", | 108 "public/ozone_platform.h", |
107 "public/ozone_switches.cc", | 109 "public/ozone_switches.cc", |
108 "public/ozone_switches.h", | 110 "public/ozone_switches.h", |
109 constructor_list_cc_file, | 111 constructor_list_cc_file, |
110 platform_list_cc_file, | 112 platform_list_cc_file, |
111 platform_list_h_file, | 113 platform_list_h_file, |
112 ] | 114 ] |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 ] | 163 ] |
162 outputs = [ | 164 outputs = [ |
163 constructor_list_cc_file, | 165 constructor_list_cc_file, |
164 ] | 166 ] |
165 | 167 |
166 args = [ | 168 args = [ |
167 "--platform_list=" + rebase_path(platform_list_txt_file, root_build_dir), | 169 "--platform_list=" + rebase_path(platform_list_txt_file, root_build_dir), |
168 "--output_cc=" + rebase_path(constructor_list_cc_file, root_build_dir), | 170 "--output_cc=" + rebase_path(constructor_list_cc_file, root_build_dir), |
169 "--namespace=ui", | 171 "--namespace=ui", |
170 "--typename=OzonePlatform", | 172 "--typename=OzonePlatform", |
| 173 "--typename=NativePixmapManager", |
171 "--include=\"ui/ozone/public/ozone_platform.h\"", | 174 "--include=\"ui/ozone/public/ozone_platform.h\"", |
| 175 "--include=\"ui/ozone/public/native_pixmap_manager.h\"", |
172 ] | 176 ] |
173 | 177 |
174 deps = [ | 178 deps = [ |
175 ":generate_ozone_platform_list", | 179 ":generate_ozone_platform_list", |
176 ] | 180 ] |
177 } | 181 } |
178 | 182 |
179 test("ozone_unittests") { | 183 test("ozone_unittests") { |
180 sources = [ | 184 sources = [ |
181 "run_all_unittests.cc", | 185 "run_all_unittests.cc", |
182 ] | 186 ] |
183 | 187 |
184 deps = [ | 188 deps = [ |
185 "//base/test:test_support", | 189 "//base/test:test_support", |
186 "//testing/gtest", | 190 "//testing/gtest", |
187 "//ui/gfx/geometry", | 191 "//ui/gfx/geometry", |
188 ] + ozone_platform_test_deps | 192 ] + ozone_platform_test_deps |
189 } | 193 } |
OLD | NEW |