Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Side by Side Diff: ui/ozone/BUILD.gn

Issue 957253005: [Ozone] Update GYP and GN to include a DRM platform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@split-host-gpu
Patch Set: fix media Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/ozone/media_ozone_platform.cc ('k') | ui/ozone/ozone.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « media/ozone/media_ozone_platform.cc ('k') | ui/ozone/ozone.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698