1# Copyright (C) 2022 The Android Open Source Project 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15CAPTURED_ENV_VARS = [ 16 # clang-tidy 17 "ALLOW_LOCAL_TIDY_TRUE", 18 "DEFAULT_TIDY_HEADER_DIRS", 19 "TIDY_TIMEOUT", 20 "WITH_TIDY", 21 "WITH_TIDY_FLAGS", 22 "TIDY_EXTERNAL_VENDOR", 23 24 # Other variables 25 "SKIP_ABI_CHECKS", 26 "UNSAFE_DISABLE_APEX_ALLOWED_DEPS_CHECK", 27 "AUTO_ZERO_INITIALIZE", 28 "AUTO_PATTERN_INITIALIZE", 29 "AUTO_UNINITIALIZE", 30 "USE_CCACHE", 31 "LLVM_NEXT", 32 "LLVM_PREBUILTS_VERSION", 33 "LLVM_RELEASE_VERSION", 34 "ALLOW_UNKNOWN_WARNING_OPTION", 35 "UNBUNDLED_BUILD_TARGET_SDK_WITH_API_FINGERPRINT", 36 "CLANG_DEFAULT_DEBUG_LEVEL", 37 "RUN_ERROR_PRONE", 38 "RUST_PREBUILTS_VERSION", 39 "DEVICE_TEST_RBE_DOCKER_IMAGE_LINK", 40 41 # REMOTE_AVD is an env var knob to apply conditionals in parts of the build 42 # that can't read build settings, like macros, which defines 43 # execution-related tags. 44 "REMOTE_AVD", 45 46 # Overrides the version in the apex_manifest.json. The version is unique for 47 # each branch (internal, aosp, mainline releases, dessert releases). This 48 # enables modules built on an older branch to be installed against a newer 49 # device for development purposes. 50 "OVERRIDE_APEX_MANIFEST_DEFAULT_VERSION", 51] 52