blob: d2402b0179e3f9cad4ec3fc6d4736c510fbf2a9c [file] [log] [blame]
# Copyright 2019 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/android/config.gni")
import("//build/config/compiler/compiler.gni")
import("//device/vr/buildflags/buildflags.gni")
# This variable indicates whether the native feature module system is engaged.
# Currently, this implies a build configuration that supports native modules,
# and that at least one feature is using a native module.
if (is_android && is_clang && use_lld && !is_component_build) {
use_native_modules = enable_vr && modularize_vr_native
} else {
use_native_modules = false
}