Rename .map.txt used by tests

The suffix ".map.txt" triggers NDK-API-Review.
example.map.txt has been replaced with map.txt in the same directory.

Test: ANDROID_BUILD_TOP=`realpath .` \
      PATH=$PATH:`realpath out/soong/dist/bin` \
      development/vndk/tools/header-checker/tests/test.py
Bug: 298626434
Change-Id: Ie2e21fe87e5bfce7f081fe32eb55547d8aa611ad
This commit is contained in:
Hsin-Yi Chen
2023-09-26 17:51:09 +08:00
parent d82a1cfd3e
commit ff1fe58b8a
4 changed files with 2 additions and 19 deletions

View File

@@ -1,17 +0,0 @@
LIBVERSION_SCRIPT_EXAMPLE_1.0 {
global:
test1; # mytag
extern "C++" {
Test3::*; # mytag
};
local:
*;
};
LIBVERSION_SCRIPT_EXAMPLE_PRIVATE {
global:
test2;
extern "C++" {
Test4::*;
};
} LIBVERSION_SCRIPT_EXAMPLE_1.0;

View File

@@ -594,7 +594,7 @@ TEST_MODULES = [
srcs=[
'integration/weak_symbols/example.c',
],
version_script='integration/weak_symbols/libexample_old.map.txt',
version_script='integration/weak_symbols/old_map.txt',
export_include_dirs=[],
dumper_flags=['-output-format', 'Json'],
linker_flags=[
@@ -609,7 +609,7 @@ TEST_MODULES = [
srcs=[
'integration/weak_symbols/example.c',
],
version_script='integration/weak_symbols/libexample_new.map.txt',
version_script='integration/weak_symbols/new_map.txt',
export_include_dirs=[],
dumper_flags=['-output-format', 'Json'],
linker_flags=[