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

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

Issue 1071273002: NotForReview: Implement zero/one-copy texture for ozone freon using Intel DRM Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//content/common/common.gni") 7 import("//content/common/common.gni")
8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") 8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
9 9
10 if (is_chromeos && current_cpu != "arm") { 10 if (is_chromeos && current_cpu != "arm") {
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 ] 231 ]
232 232
233 deps += [ 233 deps += [
234 "//content/public/android:jni", 234 "//content/public/android:jni",
235 "//content/public/android:common_aidl", 235 "//content/public/android:common_aidl",
236 ] 236 ]
237 237
238 libs += [ "android" ] 238 libs += [ "android" ]
239 } 239 }
240 240
241 if (ozone_platform_gbm == 1 &&
242 (current_cpu == "x86" || current_cpu == "x64")) {
243 defines += [ "USE_OZONE_GBM_INTEL" ]
244 sources += [
245 "gpu/client/gpu_memory_buffer_impl_ozone_gbm_intel.cc",
246 "gpu/client/gpu_memory_buffer_impl_ozone_gbm_intel.h",
247 ]
248 pkg_config("libdrm_intel") {
249 packages = [ "libdrm_intel" ]
250 }
251 }
252
241 if (is_ios) { 253 if (is_ios) {
242 sources -= [ "user_agent.cc" ] 254 sources -= [ "user_agent.cc" ]
243 assert(false, "Need to add lots of conditions here") 255 assert(false, "Need to add lots of conditions here")
244 } 256 }
245 257
246 if (use_ozone) { 258 if (use_ozone) {
247 deps += [ 259 deps += [
248 "//ui/ozone:ozone", 260 "//ui/ozone:ozone",
249 "//ui/ozone:ozone_base", 261 "//ui/ozone:ozone_base",
250 "//ui/ozone/gpu", 262 "//ui/ozone/gpu",
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 "permission_service.mojom", 484 "permission_service.mojom",
473 "presentation/presentation_service.mojom", 485 "presentation/presentation_service.mojom",
474 "render_frame_setup.mojom", 486 "render_frame_setup.mojom",
475 ] 487 ]
476 488
477 deps = [ 489 deps = [
478 "//content/public/common:mojo_bindings", 490 "//content/public/common:mojo_bindings",
479 "//third_party/mojo/src/mojo/public/interfaces/application:application", 491 "//third_party/mojo/src/mojo/public/interfaces/application:application",
480 ] 492 ]
481 } 493 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698