mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-03 02:36:09 +03:00
19 lines
608 B
Plaintext
19 lines
608 B
Plaintext
# Copyright 2017 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import("//build/config/ui.gni")
|
|
|
|
# Features used by targets inside and outside of |gpu/vulkan|.
|
|
# For details see declare_args() in build/config/BUILDCONFIG.gn.
|
|
declare_args() {
|
|
# Enable experimental vulkan backend.
|
|
enable_vulkan = (is_linux && use_x11) || is_android
|
|
|
|
# We want to temporarily disable Vulkan on Android to give us time to
|
|
# investigate ways to reduce its binary size.
|
|
if (is_android) {
|
|
enable_vulkan = false
|
|
}
|
|
}
|