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 17 matching lines...) Expand all Loading... |
28 ozone_platforms += [ "caca" ] | 28 ozone_platforms += [ "caca" ] |
29 ozone_platform_deps += [ "platform/caca" ] | 29 ozone_platform_deps += [ "platform/caca" ] |
30 } | 30 } |
31 | 31 |
32 if (ozone_platform_gbm) { | 32 if (ozone_platform_gbm) { |
33 ozone_platforms += [ "gbm" ] | 33 ozone_platforms += [ "gbm" ] |
34 ozone_platform_deps += [ "platform/drm:gbm" ] | 34 ozone_platform_deps += [ "platform/drm:gbm" ] |
35 ozone_platform_test_deps += [ "platform/drm:gbm_unittests" ] | 35 ozone_platform_test_deps += [ "platform/drm:gbm_unittests" ] |
36 } | 36 } |
37 | 37 |
| 38 if (ozone_platform_cast) { |
| 39 ozone_platforms += [ "cast" ] |
| 40 ozone_platform_deps += [ "platform/cast" ] |
| 41 } |
| 42 |
38 platform_list_cc_file = "$target_gen_dir/platform_list.cc" | 43 platform_list_cc_file = "$target_gen_dir/platform_list.cc" |
39 platform_list_h_file = "$target_gen_dir/platform_list.h" | 44 platform_list_h_file = "$target_gen_dir/platform_list.h" |
40 platform_list_txt_file = "$target_gen_dir/platform_list.txt" | 45 platform_list_txt_file = "$target_gen_dir/platform_list.txt" |
41 constructor_list_cc_file = "$target_gen_dir/constructor_list.cc" | 46 constructor_list_cc_file = "$target_gen_dir/constructor_list.cc" |
42 | 47 |
43 # GYP version: ui/ozone/ozone.gyp:ozone_base | 48 # GYP version: ui/ozone/ozone.gyp:ozone_base |
44 component("ozone_base") { | 49 component("ozone_base") { |
45 sources = [ | 50 sources = [ |
46 "public/cursor_factory_ozone.cc", | 51 "public/cursor_factory_ozone.cc", |
47 "public/cursor_factory_ozone.h", | 52 "public/cursor_factory_ozone.h", |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 sources = [ | 183 sources = [ |
179 "run_all_unittests.cc", | 184 "run_all_unittests.cc", |
180 ] | 185 ] |
181 | 186 |
182 deps = [ | 187 deps = [ |
183 "//base/test:test_support", | 188 "//base/test:test_support", |
184 "//testing/gtest", | 189 "//testing/gtest", |
185 "//ui/gfx/geometry", | 190 "//ui/gfx/geometry", |
186 ] + ozone_platform_test_deps | 191 ] + ozone_platform_test_deps |
187 } | 192 } |
OLD | NEW |