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

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

Issue 2345783003: Set enable_swiftshader arg on Chrome-branded windows builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fixswiftshaderflag
Patch Set: Created 4 years, 3 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 | 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 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/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 import("//build/config/linux/pkg_config.gni") 7 import("//build/config/linux/pkg_config.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 10
11 declare_args() { 11 declare_args() {
12 enable_swiftshader = false 12 enable_swiftshader = is_chrome_branded && is_win
13 } 13 }
14 14
15 use_egl = is_win || is_android || is_linux 15 use_egl = is_win || is_android || is_linux
16 use_glx = use_x11 16 use_glx = use_x11
17 17
18 if (is_android) { 18 if (is_android) {
19 import("//build/config/android/config.gni") 19 import("//build/config/android/config.gni")
20 import("//build/config/android/rules.gni") 20 import("//build/config/android/rules.gni")
21 } 21 }
22 22
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 sources = [ 407 sources = [
408 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", 408 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java",
409 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ", 409 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ",
410 ] 410 ]
411 public_deps = [ 411 public_deps = [
412 ":surface_jni_headers", 412 ":surface_jni_headers",
413 ] 413 ]
414 jni_package = "ui/gl" 414 jni_package = "ui/gl"
415 } 415 }
416 } 416 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698