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

Side by Side Diff: content/gpu/BUILD.gn

Issue 2629983002: Fix the MessageLoop type in case more than one ozone platform is built (Closed)
Patch Set: added a comment explain the static method Created 3 years, 11 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 | « no previous file | content/gpu/gpu_main.cc » ('j') | content/gpu/gpu_main.cc » ('J')
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("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//media/media_options.gni") 6 import("//media/media_options.gni")
7 import("//ui/ozone/ozone.gni") 7 import("//ui/ozone/ozone.gni")
8 8
9 # See //content/BUILD.gn for how this works. 9 # See //content/BUILD.gn for how this works.
10 group("gpu") { 10 group("gpu") {
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 if (is_chromeos && current_cpu != "arm") { 94 if (is_chromeos && current_cpu != "arm") {
95 configs += [ "//third_party/libva:libva_config" ] 95 configs += [ "//third_party/libva:libva_config" ]
96 } 96 }
97 97
98 if (use_x11) { 98 if (use_x11) {
99 deps += [ "//ui/events/platform/x11" ] 99 deps += [ "//ui/events/platform/x11" ]
100 } 100 }
101 101
102 if (use_ozone) { 102 if (use_ozone) {
103 deps += [ "//ui/ozone" ] 103 deps += [ "//ui/ozone" ]
104
105 if (ozone_platform_x11) {
106 defines = [ "OZONE_X11" ]
107 }
108 } 104 }
109 105
110 if (enable_vulkan) { 106 if (enable_vulkan) {
111 deps += [ "//gpu/vulkan" ] 107 deps += [ "//gpu/vulkan" ]
112 } 108 }
113 } 109 }
OLDNEW
« no previous file with comments | « no previous file | content/gpu/gpu_main.cc » ('j') | content/gpu/gpu_main.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698