Clear some aapt2.mk inputs after use
my_generated_res_dirs wasn't being reset in some cases in between different modules. To be safe, clear every input variable that I was sure was not being used by the caller after aapt2.mk. Test: m Test: m ANDROID_BUILDSPEC=vendor/google/build/app_build_spec.mk Change-Id: I37c861d99637cad77a2a378a119bf66cee373b3a
This commit is contained in:
parent
4dbdb60698
commit
d927abe8a8
1 changed files with 10 additions and 0 deletions
|
@ -108,3 +108,13 @@ ifdef LOCAL_EXPORT_PACKAGE_RESOURCES
|
|||
|
||||
cp $@ $(PRIVATE_RESOURCE_EXPORT_PACKAGE)
|
||||
endif
|
||||
|
||||
# Clear inputs only used in this file, so that they're not re-used during the next build
|
||||
my_res_resources :=
|
||||
my_overlay_resources :=
|
||||
my_compiled_res_base_dir :=
|
||||
my_asset_dirs :=
|
||||
my_full_asset_paths :=
|
||||
my_apk_split_configs :=
|
||||
my_generated_res_dirs :=
|
||||
my_generated_res_dirs_deps :=
|
||||
|
|
Loading…
Reference in a new issue