Use target 'vndk' instead of 'vndk_package' while creating abi references.

Using 'vndk_package' will miss out on vndk libraries not being used by the
lunch target

Bug: 64267858

Test: utils/create_reference_dumps.py

Change-Id: Ifaa61aae715af7f2010aadbfa9864da7c74ca14f
This commit is contained in:
Jayant Chowdhary
2018-03-27 15:49:10 -07:00
parent cd0e8aff22
commit 1ebd366d52

View File

@@ -125,7 +125,7 @@ def run_header_abi_linker(output_path, inputs, version_script, api, arch):
def make_tree(product): def make_tree(product):
# To aid creation of reference dumps. # To aid creation of reference dumps.
make_cmd = ['build/soong/soong_ui.bash', '--make-mode', '-j', make_cmd = ['build/soong/soong_ui.bash', '--make-mode', '-j',
'vndk_package', 'TARGET_PRODUCT=' + product] 'vndk', 'TARGET_PRODUCT=' + product]
subprocess.check_call(make_cmd, cwd=AOSP_DIR) subprocess.check_call(make_cmd, cwd=AOSP_DIR)
def make_targets(targets, product): def make_targets(targets, product):