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

Side by Side Diff: skia/BUILD.gn

Issue 2861343002: Enable gpu rasterization in the vr shell
Patch Set: additional trace instrumentation Created 3 years, 7 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 | « chrome/browser/android/vr_shell/vr_shell_gl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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("//build/config/sanitizers/sanitizers.gni") 7 import("//build/config/sanitizers/sanitizers.gni")
8 import("//device/vr/features/features.gni")
8 import("//printing/features/features.gni") 9 import("//printing/features/features.gni")
9 import("//testing/test.gni") 10 import("//testing/test.gni")
10 import("//third_party/skia/gn/shared_sources.gni") 11 import("//third_party/skia/gn/shared_sources.gni")
11 12
12 if (current_cpu == "arm") { 13 if (current_cpu == "arm") {
13 import("//build/config/arm.gni") 14 import("//build/config/arm.gni")
14 } 15 }
15 if (current_cpu == "mipsel" || current_cpu == "mips64el") { 16 if (current_cpu == "mipsel" || current_cpu == "mips64el") {
16 import("//build/config/mips.gni") 17 import("//build/config/mips.gni")
17 } 18 }
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 deps += [ 424 deps += [
424 "//third_party/android_tools:cpu_features", 425 "//third_party/android_tools:cpu_features",
425 "//third_party/expat", 426 "//third_party/expat",
426 ] 427 ]
427 } 428 }
428 429
429 if (is_win || is_android) { 430 if (is_win || is_android) {
430 deps += [ "//build/config/freetype" ] 431 deps += [ "//build/config/freetype" ]
431 } 432 }
432 433
434 if (is_android && enable_vr) {
435 sources -= [
436 "//third_party/skia/src/gpu/gl/GrGLCreateNativeInterface_none.cpp",
437 "//third_party/skia/src/gpu/gl/GrGLDefaultInterface_none.cpp",
438 ]
439 sources += [
440 "//third_party/skia/src/gpu/gl/GrGLDefaultInterface_native.cpp",
441 "//third_party/skia/src/gpu/gl/android/GrGLCreateNativeInterface_android.c pp",
442 ]
443 libs = [
444 "EGL",
445 "GLESv2",
446 ]
447 }
448
433 if (skia_support_pdf) { 449 if (skia_support_pdf) {
434 deps += [ 450 deps += [
435 "//third_party/sfntly", 451 "//third_party/sfntly",
436 "//third_party/zlib", 452 "//third_party/zlib",
437 ] 453 ]
438 sources += skia_pdf_sources 454 sources += skia_pdf_sources
439 } else { 455 } else {
440 sources += [ "//third_party/skia/src/pdf/SkDocument_PDF_None.cpp" ] 456 sources += [ "//third_party/skia/src/pdf/SkDocument_PDF_None.cpp" ]
441 } 457 }
442 458
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 725
710 deps = [ 726 deps = [
711 ":skia", 727 ":skia",
712 "//base", 728 "//base",
713 "//base/test:test_support", 729 "//base/test:test_support",
714 "//build/config/sanitizers:deps", 730 "//build/config/sanitizers:deps",
715 "//build/win:default_exe_manifest", 731 "//build/win:default_exe_manifest",
716 ] 732 ]
717 } 733 }
718 } 734 }
OLDNEW
« no previous file with comments | « chrome/browser/android/vr_shell/vr_shell_gl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698