diff options
| author | 2024-09-02 15:24:15 +0900 | |
|---|---|---|
| committer | 2024-09-03 21:52:12 +0000 | |
| commit | f8fab9b8c66ed4ae56d8b257ebe65c3508d9a914 (patch) | |
| tree | b0406ba704b794dde56688350f3ec0dd4c1c1d80 /java/java_test.go | |
| parent | 24bf5a76e38c2b7cacee3f087c69ed860779cafc (diff) | |
ndk_library depends on the correct arch variant of cc_library_headers
Previously before aosp/3249712, ndk_library was assumed to depend only
on ndk_headers, which do not have any variants.
As ndk_library can now depend on cc_library_headers which has many
variants for arch, sdk, and more, the previous assumption no longer
holds.
Therefore, when ndk_library makes a dependency to its
export_lib_headers, it now uses either AddFarVariationDependency with
(for ndk_headers) or AddVariationDependency (for others) depending on
which module type it depends on.
Bug: 357711733
Test: build with https://r.android.com/q/topic:%22no-cpp-in-ndk-2%22
Change-Id: Id0957e82736bd458e15674ffc45ca32b1e3a7250
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions