blob: 32808a5e30a443e0ca95bbca924c06eff87cb45e [file]
# 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/compiler/compiler.gni")
import("//device/vr/buildflags/buildflags.gni")
# This file aggregates data used when pulling DFM-related dependencies into
# bundle builds. As DFMs move to describe their parameters in a standard way,
# this file may evolve to an aggregation of individual DFM configurations.
# Mapping that controls package IDs assigned to modules.
resource_packages_id_mapping = [
"ar=0x7e",
"vr=0x7d",
"tab_ui=0x7c",
"autofill_assistant=0x7b",
]
# 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_clang && use_lld && !is_component_build) {
use_native_modules = enable_vr && modularize_vr_native
} else {
use_native_modules = false
}