platform_build_soong/android
Spandan Das 1202729cb2 Use cp instead of install for ndk_headers
ndk_headers currently use ctx.Install to install headers in
out/soong/ndk/sysroot. The files are subsequently used to compile ndk
variants of cc libraries on host.

Since these headers are not actually installed on device, use android.Cp
to assemble the NDK sysroot. By itself, it should be a no-op, but
androd.Cp is more friendly with restricting the installation rules to
PRODUCT_PACKAGES.

To make it explicit that the sysroot is not a typical installation path,
this CL also modifies the type to OutputPath

Test: m
Bug: 332778109
Change-Id: I1131c3c764443cbaac525c6022cd09c47695d275
2024-04-04 01:58:21 +00:00
..
allowlists Remove more bp2build 2024-01-05 09:54:09 -08:00
soongconfig Allow soong config value variables to set nested properties 2024-02-21 11:38:09 -08:00
team_proto Add rule for proto file so we can write python to use it. 2024-01-25 21:10:04 -08:00
aconfig_providers.go Fix some non-determinism in aconfigMerge operation 2024-03-28 21:26:49 +00:00
all_teams.go Export teams even when module disabled. 2024-02-13 18:33:22 -08:00
all_teams_test.go Add team property to all modules. 2024-01-18 14:16:06 -08:00
Android.bp Remove starlark_import 2024-03-07 10:53:41 -08:00
android_test.go
androidmk.go Propagate AconfigFiles in ModuleBase. 2024-01-24 23:45:12 +00:00
androidmk_test.go
apex.go Generate info about the selected app variant in platform builds 2024-03-14 18:12:30 +00:00
apex_contributions.go Revert "Convert BuildIgnoreApexContritbutions variable to a boolean" 2024-03-22 06:15:51 +00:00
apex_test.go
api_domain.go Delete some api_bp2build dead code. 2023-10-05 10:23:58 +00:00
api_levels.go Add an apex_contributions_defaults module to module sdk 2024-03-20 21:41:57 +00:00
arch.go Add the ability to select on arch 2024-03-25 17:18:08 -07:00
arch_list.go Replace goldmont-without-xsaves build with goldmont-without-sha-xsaves 2024-01-24 16:27:56 +09:00
arch_module_context.go Add the ability to select on arch 2024-03-25 17:18:08 -07:00
arch_test.go
base_module_context.go Implement OtherModulePropertyErrorf proxies 2024-03-25 17:19:24 -07:00
buildinfo_prop.go Reland "Migrate buildinfo.sh script into Soong" 2024-03-27 14:18:45 +09:00
config.go Reland "Migrate buildinfo.sh script into Soong" 2024-03-27 14:18:45 +09:00
config_bp2build.go Remove more bp2build 2024-01-05 09:54:09 -08:00
config_test.go Platform mapping-based product config 2023-07-17 16:27:08 -07:00
configured_jars.go Add a Make variable that overrides configured jar locations. 2023-07-14 12:13:30 +01:00
configured_jars_test.go Platform mapping-based product config 2023-07-17 16:27:08 -07:00
csuite_config.go
csuite_config_test.go
deapexer.go Propagate profile_guided requirement of imports to top-level apex 2024-01-30 18:04:52 +00:00
defaults.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
defaults_test.go Prevent defaults modules from expanding path property dependencies 2024-01-29 21:21:30 +00:00
defs.go Remove SymlinkOutputs 2024-01-18 12:43:24 -08:00
depset_generic.go Revert "support sandboxed rust rules" 2023-09-22 22:05:54 +00:00
depset_test.go Use generics for DepSets 2023-06-22 08:18:33 -07:00
deptag.go Validate aconfig libs are built with the correct modes. 2024-03-07 18:51:16 +00:00
deptag_test.go
early_module_context.go Implement OtherModulePropertyErrorf proxies 2024-03-25 17:19:24 -07:00
expand.go
expand_test.go
filegroup.go Propagate intermediateCacheFiles in java modules and filegroup 2024-03-19 20:54:05 +00:00
filegroup_test.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
fixture.go Add unit test for parsing build files in bp2build 2023-09-14 19:19:28 +00:00
fixture_test.go
gen_notice.go
gen_notice_test.go
hooks.go
image.go
license.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
license_kind.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
license_kind_test.go
license_metadata.go Add required, host_required, and target_required as dependencies 2024-03-20 17:05:17 +09:00
license_sdk_member.go
license_test.go
licenses.go Convert SetProvider to generic providers API 2023-12-14 16:12:20 -08:00
licenses_test.go
makevars.go Install vintf fragments and init.rc files in Soong 2024-01-02 16:01:56 -08:00
metrics.go Remove infrastructure to run bp2build 2023-12-08 13:51:07 -08:00
module.go Merge "fix: required deps of phony modules are correctly tracked" into main 2024-03-30 13:48:48 +00:00
module_context.go Implement OtherModulePropertyErrorf proxies 2024-03-25 17:19:24 -07:00
module_info_json.go Support generating module_info.json in Soong 2024-01-02 16:03:43 -08:00
module_test.go Remove SymlinkOutputs 2024-01-18 12:43:24 -08:00
mutator.go Optimize mutator contexts 2024-02-02 15:56:32 -08:00
mutator_test.go Remove infrastructure to run bp2build 2023-12-08 13:51:07 -08:00
namespace.go
namespace_test.go
neverallow.go Remove more bp2build 2024-01-05 09:54:09 -08:00
neverallow_test.go java_library support for building headers-only 2023-08-22 21:29:05 +00:00
ninja_deps.go Remove starlark_import 2024-03-07 10:53:41 -08:00
ninja_deps_test.go
notices.go
onceper.go
onceper_test.go
override_module.go Remove infrastructure to run bp2build 2023-12-08 13:51:07 -08:00
package.go Add team property to all modules. 2024-01-18 14:16:06 -08:00
package_ctx.go
package_test.go
packaging.go Add GatherPackagingSpecsWithFilter 2024-02-08 11:14:43 +09:00
packaging_test.go Install sdk variants in unbundled builds and package uninstallable variants 2023-07-14 22:09:34 +00:00
path_properties.go Make select statements work on path properties 2024-03-14 15:24:09 -07:00
path_properties_test.go
paths.go Use cp instead of install for ndk_headers 2024-04-04 01:58:21 +00:00
paths_test.go Split ArchMutatorContext out of BaseMutatorContext 2024-01-24 10:17:10 -08:00
phony.go
plugin.go Remove google_clockwork list of soong plugins 2023-11-27 12:29:55 -08:00
prebuilt.go Support partial module variants with apex_contributions 2024-03-04 08:39:20 +00:00
prebuilt_build_tool.go Revert^4 "add rust_toolchain_rustc_prebuilt module type" 2023-09-25 12:13:17 +00:00
prebuilt_test.go Ignore prebuilt apex_contributions in coverage builds 2024-02-26 10:07:45 +00:00
proto.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
provider.go Reland "Remove non-generic provider APIs" 2023-12-22 00:06:05 +00:00
raw_files.go Write raw files to disk instead of the ninja file 2023-12-19 16:33:46 -08:00
register.go Write raw files to disk instead of the ninja file 2023-12-19 16:33:46 -08:00
rule_builder.go Allow specifying sub-dir in sbox output 2024-02-08 23:58:04 +00:00
rule_builder_test.go Remove SymlinkOutputs 2024-01-18 12:43:24 -08:00
sandbox.go
sdk.go Reland "Migrate buildinfo.sh script into Soong" 2024-03-27 14:18:45 +09:00
sdk_test.go
sdk_version.go Introduce make var ANDROID_PUBLIC_EXPORTABLE_STUBS 2024-02-06 18:51:19 +00:00
sdk_version_test.go Platform mapping-based product config 2023-07-17 16:27:08 -07:00
selects_test.go Add the ability to select on arch 2024-03-25 17:18:08 -07:00
singleton.go Implement OtherModulePropertyErrorf proxies 2024-03-25 17:19:24 -07:00
singleton_module.go
singleton_module_test.go Disable TestVariantSingletonModule when go test -short is used 2024-01-18 13:23:06 -08:00
soong_config_modules.go Disable prebuilt apps without an apk later 2024-01-12 17:02:58 -08:00
soong_config_modules_test.go Update TestNonExistentPropertyInSoongConfigModule 2023-10-30 14:42:44 -07:00
team.go Add team property to all modules. 2024-01-18 14:16:06 -08:00
team_test.go Add team property to all modules. 2024-01-18 14:16:06 -08:00
test_asserts.go use message in android.AssertStringMatches() 2023-10-04 20:19:54 +00:00
test_config.go Revert "Revert "Limit System SDK to 34 for Java modules in the v..." 2024-01-04 23:20:42 +00:00
test_suites.go Add android_ravenwood_test build rule 2024-02-08 09:25:35 -08:00
testing.go Propagate AconfigFiles in ModuleBase. 2024-01-24 23:45:12 +00:00
updatable_modules.go DO NOT MERGE Increasing the dev branch default module version 2023-06-27 16:29:31 +00:00
util.go Use ordered interface from cmp package 2024-01-30 14:42:12 -08:00
util_test.go Use ordered interface from cmp package 2024-01-30 14:42:12 -08:00
variable.go Reland "Migrate buildinfo.sh script into Soong" 2024-03-27 14:18:45 +09:00
variable_test.go
visibility.go Add more specific partition visibility rules 2024-03-20 10:55:05 -07:00
visibility_test.go Add more specific partition visibility rules 2024-03-20 10:55:05 -07:00