Skip to content

Commit

Permalink
Propogate configs for android toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
niranjanyardi committed Oct 26, 2024
1 parent 1a9aa5e commit 7f0294d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build/toolchain/android/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ template("android_clang_toolchain") {
# work. This flag does not otherwise affect our build, but if applied to
# non-android toolchains, it causes unwanted configs from perfetto to
# propagate from host_toolchain deps.
propagates_configs = true
forward_variables_from(invoker,
[
"propagates_configs",
])
}
}

Expand Down Expand Up @@ -98,6 +101,8 @@ android_clang_toolchain("android_clang_arm") {
toolchain_args = {
current_cpu = "arm"
}
propagates_configs = true

}

android_clang_toolchain("android_clang_mipsel") {
Expand Down Expand Up @@ -134,6 +139,7 @@ android_clang_toolchain("android_clang_arm64") {
toolchain_args = {
current_cpu = "arm64"
}
propagates_configs = true
}

android_clang_toolchain("android_clang_arm64_hwasan") {
Expand Down

0 comments on commit 7f0294d

Please sign in to comment.