Chromium Code Reviews| 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 11 matching lines...) Expand all Loading... | |
| 22 if (ozone_platform_test) { | 22 if (ozone_platform_test) { |
| 23 ozone_platforms += [ "test" ] | 23 ozone_platforms += [ "test" ] |
| 24 ozone_platform_deps += [ "platform/test" ] | 24 ozone_platform_deps += [ "platform/test" ] |
| 25 } | 25 } |
| 26 | 26 |
| 27 if (ozone_platform_caca) { | 27 if (ozone_platform_caca) { |
| 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_dri) { | 32 if (ozone_platform_dri || ozone_platform_drm) { |
|
brettw
2015/03/13 23:14:48
Can you explain here why dri and drm imply each ot
| |
| 33 ozone_platforms += [ "dri" ] | 33 ozone_platforms += [ |
| 34 "dri", | |
| 35 "drm", | |
| 36 ] | |
| 34 ozone_platform_deps += [ "platform/drm" ] | 37 ozone_platform_deps += [ "platform/drm" ] |
| 35 ozone_platform_test_deps += [ "platform/drm:drm_unittests" ] | 38 ozone_platform_test_deps += [ "platform/drm:drm_unittests" ] |
| 36 } | 39 } |
| 37 | 40 |
| 38 if (ozone_platform_gbm) { | 41 if (ozone_platform_gbm) { |
| 39 ozone_platforms += [ "gbm" ] | 42 ozone_platforms += [ "gbm" ] |
| 40 ozone_platform_deps += [ "platform/drm:gbm" ] | 43 ozone_platform_deps += [ "platform/drm:gbm" ] |
| 41 } | 44 } |
| 42 | 45 |
| 43 platform_list_cc_file = "$target_gen_dir/platform_list.cc" | 46 platform_list_cc_file = "$target_gen_dir/platform_list.cc" |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 175 "common/display_util_unittest.cc", | 178 "common/display_util_unittest.cc", |
| 176 "run_all_unittests.cc", | 179 "run_all_unittests.cc", |
| 177 ] | 180 ] |
| 178 | 181 |
| 179 deps = [ | 182 deps = [ |
| 180 "//base/test:test_support", | 183 "//base/test:test_support", |
| 181 "//testing/gtest", | 184 "//testing/gtest", |
| 182 "//ui/gfx/geometry", | 185 "//ui/gfx/geometry", |
| 183 ] + ozone_platform_test_deps | 186 ] + ozone_platform_test_deps |
| 184 } | 187 } |
| OLD | NEW |