summaryrefslogtreecommitdiffstats
path: root/vndk
Commit message (Collapse)AuthorAgeFilesLines
* Add boot.img substitution to the build_mixed script.Hyunwoo Ko2019-05-221-2/+18
| | | | | | | | Bug: 131879395 Test: ./build_mixed -b boot-debug.img <system> <device> <out> Change-Id: I2877e79522b5836e876c87f38221ca6890c41ce6 Merged-In: I2877e79522b5836e876c87f38221ca6890c41ce6 (cherry picked from commit 22da1576b115eab873519f5f31a531aec836ccd6)
* Merge changes from topic "header-checker-weak-symbols" into qt-devLogan Chien2019-05-1519-30/+653
|\ | | | | | | | | | | * changes: header-checker: Add config file support header-checker: Add -allow-adding-removing-weak-symbols
| * header-checker: Add config file supportLogan Chien2019-05-148-4/+464
| | | | | | | | | | | | | | | | | | | | | | | | This commit add config file support to header-abi-diff so that we can have per-branch configuration. Bug: 112760591 Test: ./tests/test.py Test: ${ANDROID_HOST_OUT}/nativetest64/header-checker-unittests/\ header-checker-unittests Change-Id: I1fbd76c93991a2b36121a5f4397c62eb72d486ec Merged-In: I1fbd76c93991a2b36121a5f4397c62eb72d486ec
| * header-checker: Add -allow-adding-removing-weak-symbolsLogan Chien2019-05-1412-26/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds `-allow-adding-removing-weak-symbols` option to `header-abi-diff`. This allows vendor-specific branch to add or remove weak symbols from their VNDK shared libs. This is sometimes necessary when venders have their compiler toolchain or use different compiler flags (e.g. inline heuristics). Bug: 112760591 Test: ./tests/test.py Change-Id: I94bceacc90cab093e8aa602bb7d866d6f433c5c7 Merged-In: I94bceacc90cab093e8aa602bb7d866d6f433c5c7
* | Merge "Create vndk-lib-extra-list-29.txt" into qt-devIan Pedowitz2019-05-151-0/+45
|\ \ | |/ |/|
| * Create vndk-lib-extra-list-29.txtHsin-Yi Chen2019-05-031-0/+45
| | | | | | | | | | | | | | | | VNDK 29 is finalized. Test: make vts Bug: 130270919 Change-Id: I4715804dc356d74c6732269fec334f9f6c24a767
* | def-tool: Update eligible list 29Logan Chien2019-05-072-67/+50
|/ | | | | | | | | | | | | | This commit updates eligible-list-29.csv. Since last update in March, some libraries are added (e.g. libc_scudo) and some libraries are removed from VNDK libraries (e.g. libstagefright_*). Bug: 130270919 Test: ./vndk_definition_tool.py deps-insight \ --tag-file datasets/eligible-list-29.csv \ --system ${ANDROID_PRODUCT_OUT}/system \ --system ${ANDROID_PRODUCT_OUT}/vendor Change-Id: Ia9745fd6852ebdfd4ecd9b908184a6b6d66aabec
* Merge "Add vndk-lib-extra-list-28.txt" into qt-devTreeHugger Robot2019-04-241-0/+39
|\
| * Add vndk-lib-extra-list-28.txtHsin-Yi Chen2019-04-051-0/+39
| | | | | | | | | | | | | | | | Bug: 129492862 Test: vts-tradefed run vts-vndk Change-Id: I37ba2a7f3498dfd6cc8228d523b7be8a79161bc6 Merged-In: I37ba2a7f3498dfd6cc8228d523b7be8a79161bc6 (cherry picked from commit 13959ea821c101e9afc9d02c6e9bbf3e08fc122f)
* | Label libdl_android.so as LLNDK-privateHsin-Yi Chen2019-04-091-0/+1
|/ | | | | | | | libvndksupport.so depends on libdl_android.so. Test: vts-tradefed run vts -m VtsVndkOpenLibraries Bug: 130196353 Change-Id: I98b8ba2fbadabf552b82bae11013711fd5a22f01
* Merge "def-tool: Add APEX module support" am: a9c00011f3 am: 60996049e3Logan Chien2019-04-028-50/+370
|\ | | | | | | | | | | am: a2bc4e261a Change-Id: I8bce4fd1d58ac72d813d07763c588df69fdd45c6
| * def-tool: Add APEX module supportLogan Chien2019-03-298-50/+370
| | | | | | | | | | | | | | | | | | | | | | This commit adds APEX module support to VNDK definition tool. Test: ./tests/run.sh Test: Run vndk_definition_tool.py on latest walleye Test: Run vndk_definition_tool.py on latest aosp_arm64 Bug: 126126189 Change-Id: Ib92e7b058a3fee3520b612e053751d380cf448cd
* | def-tool: Update eligible-list-29.csvLogan Chien2019-03-302-0/+4
| | | | | | | | | | | | | | | | | | | | Test: ./vndk_definition_tool.py check-dep \ --system ${ANDROID_PRODUCT_OUT}/system \ --vendor ${ANDROID_PRODUCT_OUT}/vendor \ --tag-file ./datasets/eligible-list-29.csv Bug: 126126189 Change-Id: Ie212d71708ea7b849dee990922088200fa9ba932
* | def-tool: Add apex bionic libs to eligible-list-29.csvLogan Chien2019-03-302-0/+13
| | | | | | | | | | | | | | | | | | | | Test: ./vndk_definition_tool.py check-dep \ --system ${ANDROID_PRODUCT_OUT}/system \ --vendor ${ANDROID_PRODUCT_OUT}/vendor \ --tag-file datasets/eligible-list-29.csv Bug: 126126189 Change-Id: Ib3c9b2a0a8cf262b1c64e530be9c126d7e5fc2c6
* | Merge changes Ibc7a9a94,I4e8a0683,I4f741262,Ib19c9666,Ib55dc8bd, ... am: ↵Logan Chien2019-03-2094-6151/+7448
|\| | | | | | | | | | | | | | | fd08ad980e am: 4881a4af11 am: 8984268c22 Change-Id: Ibeb24838055d5ea474f2f3cce9829dcb34408472
| * header-checker: header-abi-dumper should use ModuleIR insteadLogan Chien2019-03-2029-1795/+1944
| | | | | | | | | | | | | | | | | | | | | | | | This commit redirects header-abi-dumper output to ModuleIR and then write ModuleIR with `IRDumper::Dump(module)`. This decouples ABI information extraction from IRDumper and allows post-processing ModuleIR before writing to files. This commit also sorts the reference test data. Test: ./tests/test.py Change-Id: Ibc7a9a94c08df496ff76351f951170bddc1a66a9
| * header-checker: Extract common code to ModuleIRLogan Chien2019-03-207-161/+220
| | | | | | | | | | | | | | This commit extracts common IRReader code to ModuleIR. Test: tests/test.py Change-Id: I4e8a06833fae8d44718bd52628b3d7351882a3d8
| * header-checker: Remove getters from IRReaderLogan Chien2019-03-204-104/+49
| | | | | | | | | | | | | | | | This commit removes getter functions from IRReader. Most users should interact with ModuleIR instead. Test: ./tests/test.py Change-Id: I4f74126214de2230d0445a02ab1129619efa7757
| * header-checker: Fix minor style problemLogan Chien2019-03-202-5/+5
| | | | | | | | | | | | | | Test: ./tests/test.py Test: ${ANDROID_HOST_OUT}/nativetest64/\ header-checker-unittests/header-checker-unittests Change-Id: Ib19c96664ec1708478cd0de22a80a8d4e711c4ea
| * header-checker: Do not expose format-specific detailsLogan Chien2019-03-2010-12/+128
| | | | | | | | | | | | | | Test: ./tests/test.py Test: ${ANDROID_HOST_OUT}/nativetest64/\ header-checker-unittests/header-checker-unittests Change-Id: Ib55dc8bdd195d4072d875d0cbd495c7c9c550fec
| * header-checker: Rename to IRReaderLogan Chien2019-03-2010-200/+175
| | | | | | | | | | | | | | | | | | | | | | This commit renames `TextFormatToIRReader` to `IRReader`, `ProtobufTextFormatToIRReader` to `ProtobufIRReader`, and `JsonToIRReader` to `JsonIRReader`. Test: ./tests/test.py Test: ${ANDROID_HOST_OUT}/nativetest64/\ header-checker-unittests/header-checker-unittests Change-Id: I42e51eca31f6949f9e74b2e1c711075de22220fe
| * header-checker: Split IRDumper and IRReaderLogan Chien2019-03-2033-3003/+3681
| | | | | | | | | | | | | | Test: ./tests/test.py Test: ${ANDROID_HOST_OUT}/nativetest64/\ header-checker-unittests/header-checker-unittests Change-Id: I975ec98924901f2ab059d2b7a96065d419742dfb
| * header-checker: Extract ModuleIRLogan Chien2019-03-204-128/+226
| | | | | | | | | | | | | | Test: ./tests/test.py Test: ${ANDROID_HOST_OUT}/nativetest64/\ header-checker-unittests/header-checker-unittests Change-Id: I3ae005ddee723213f524881c30ecf5a4a8d45cd9
| * header-checker: Cleanup namespacesLogan Chien2019-03-2049-727/+979
| | | | | | | | | | | | | | Test: ./tests/test.py Test: ${ANDROID_HOST_OUT}/nativetest64/\ header-checker-unittests/header-checker-unittests Change-Id: I65347228e31e63678c2642eaf19a60303cf33683
| * header-checker: Restructure the source treeLogan Chien2019-03-2053-119/+144
| | | | | | | | | | | | | | Test: ./tests/test.py Test: ${ANDROID_HOST_OUT}/nativetest64/\ header-checker-unittests/header-checker-unittests Change-Id: I6dd907b6fd233ea1f529d263a603c56f9a5034cc
* | Merge "Adapt to clang-r353983 changes." am: 47eb248855 am: 106a093e03Yi Kong2019-03-191-1/+1
|\| | | | | | | | | | | am: 15d859a39f Change-Id: I0c0b26844fe5791f17e8246913540a68d64def30
| * Adapt to clang-r353983 changes.Stephen Hines2019-03-191-1/+1
| | | | | | | | | | | | | | | | | | https://reviews.llvm.org/rC350914 altered this API by removing the ASTContext parameter, so this is needed to update the tools to build cleanly with clang-r353983. Test: prebuilts/clang-tools/build.sh Change-Id: I394b0a75bfa073ede0f2ef83d699a3a21f12c6a5
* | vndk-def: Update eligible list 29Logan Chien2019-03-082-35/+78
| | | | | | | | | | | | | | | | Test: ./vndk_definition_tool.py check-deps \ --tag-file datasets/eligible-list-29.csv \ --system ... --vendor ... Change-Id: I1a94a97b3059483dc96fa148fc1f3f45a877ea9c
* | Merge changes I56d4f852,I8c81dc1f am: ce79190156 am: 8194a7ec21Logan Chien2019-03-052-55/+93
|\| | | | | | | | | | | am: 1690b91abf Change-Id: Ib99d06025291345b309691629fd3190cc70de3d0
| * Find make goals from lsdump_paths.txtLogan Chien2019-03-052-41/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commmit finds the make goals by reading lsdump_paths.txt. This fixes following problems: 1. Cannot build libraries that has been replaced by APEX stubs (e.g. "libc" has been renamed to "libc.bootstrap") 2. Cannot lsdump with sanitizer variation suffixes (e.g. "_cfi") Bug: 124829578 Test: create_reference_dumps.py --llndk -l libc Test: create_reference_dumps.py --llndk -l libmediandk Change-Id: I56d4f852f2e0dfe490e55f572bf3878f50464681
| * Always collect lsdump paths from lsdump_paths.txtLogan Chien2019-03-052-17/+3
| | | | | | | | | | | | | | | | | | | | | | This commit removes the code path that searches lsdump files by traversing the directory. Instead, always read the lsdump paths from lsdump_paths.txt so that `create_reference_dumps.py` won't copy stale lsdump files. Bug: 121986692 Test: create_reference_dumps.py --llndk -lib libvulkan Change-Id: I8c81dc1fd51d146da19a894c32e0df35907ba604
* | Merge "Remove workaround to find the latest lsdump files" am: e74a73a610 am: ↵Logan Chien2019-03-031-39/+2
|\| | | | | | | | | | | | | | | 67598b1947 am: be584bf764 Change-Id: I1227665b6b7fd7b68c3fc54098c1dd4e78c87e4a
| * Merge "Remove workaround to find the latest lsdump files"Logan Chien2019-03-041-39/+2
| |\
| | * Remove workaround to find the latest lsdump filesLogan Chien2019-02-271-39/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit removes the workaround to find the latest lsdump files since aosp/858259 has been merged for a while. Bug: 121986692 Test: n/a Change-Id: I1508aefd178e014291cc8f409fdccf527588335a
* | | Merge "Remove TEST_MAPPING for header-abi-checker" am: 4ea092ebee am: 834931a14eLogan Chien2019-03-011-8/+0
|\| | | | | | | | | | | | | | | | | am: e69a9d68cd Change-Id: I130d465131449d914227903a41387dadb9153417
| * | Remove TEST_MAPPING for header-abi-checkerLogan Chien2019-03-011-8/+0
| |/ | | | | | | | | | | | | | | | | This commit removes TEST_MAPPING for header-abi-checker because the unit test rely on several environment variables that are not set by defualt. Bug: 126722515 Test: n/a Change-Id: I10f2d4886c5be00f2cf8ac5b2bf349c0811a633c
* | Merge "header-abi-linker: Support solib and version script" am: 8b3da0e8b8 ↵Logan Chien2019-01-2928-262/+2069
|\| | | | | | | | | | | | | | | am: 1775699432 am: c5aacc545d Change-Id: I1f5ab0089e19646deab6f5b7021445b51e0633bc
| * header-abi-linker: Support solib and version scriptLogan Chien2019-01-3028-262/+2069
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit allows user to specify both `-so` (for a shared object file) and `-v` (for a version script). If both of them are specified, the generated output will only include the symbols that are marked as exported in both cases. This commit also rewritten the version script parser so that it can work with real version script cases. This includes how the parser skips a comment line. Furthermore, the version script parser accepts a list of excluded symbol versions and symbol tags that should not be included in the generated output. To customize the behavior, pass `--exclude-symbol-version` and/or `--exclude-symbol-tag` to `header-abi-linker`. Bug: 122845490 Test: ./tests/test.py Test: atest # under development/vndk/tools/header-checker Change-Id: Ibf048bba6ccd5ac44f265d1fe767c2ded3d13a8d
* | Merge "vndk-snapshot: add version suffix for v27 files" am: 1e287fa6d5 am: ↵Justin Yun2019-01-232-7/+21
|\| | | | | | | | | | | | | | | 1e96a1ef6c am: 907a204618 Change-Id: I6cfbc8e32fc5068cc476cae701ba82667092f1da
| * vndk-snapshot: add version suffix for v27 filesJustin Yun2019-01-232-7/+21
| | | | | | | | | | | | | | | | | | | | To use ld.config.txt template, change the file names of v27 config files to include version suffix. Bug: 74658756 Bug: 123209911 Test: PRODUCT_EXTRA_VNDK_VERSIONS=27 m -j vndk_snapshot_package Change-Id: Icc9f9970cf95fb4e888555ec0b080c44c81a0622
* | Merge "vndk-snapshot: Make the remote name settable" am: 06c57d0ecf am: ↵Justin Yun2019-01-212-6/+26
|\| | | | | | | | | | | | | | | 4ef90e79b8 am: 29260adb13 Change-Id: Ie3121158753e1ba6e6bdf1aba9ce45c046ee54b2
| * vndk-snapshot: Make the remote name settableJustin Yun2019-01-222-6/+26
| | | | | | | | | | | | | | | | | | To check license, we need to fetch revision from parent git repository. Using '--remote' option we may manually set the remote name. Default value is 'aosp'. Test: run update.py to fetch vndk snapshot files. Change-Id: I1456eb4306950da3d25ec2b4d9fc4efc4b5bcd81
* | Merge "Change OWNER for vndk snapshot tools." am: d4193fefd4 am: fe018dbacdJustin Yun2019-01-181-1/+1
|\| | | | | | | | | | | am: d65c23ad3f Change-Id: Ifce6c7b74ca1a3e38518d5ddcb54af1a00216bba
| * Change OWNER for vndk snapshot tools.Justin Yun2019-01-181-1/+1
| | | | | | | | | | Test: n/a Change-Id: I802e32e79f318b82a9cc543513ab4cd3a6e84795
* | Merge "Use Soong to build to etc modules." am: 91a331e07f am: 640eb216caJaewoong Jung2019-01-173-31/+32
|\| | | | | | | | | | | am: 78abe67789 Change-Id: I6a11933023b4a3ed467b98cc998fa858a7b89fa2
| * Use Soong to build to etc modules.Jaewoong Jung2019-01-173-31/+32
| | | | | | | | | | | | | | | | This is the final piece of mk to bp conversion effort for vndk. Bug: 122332178 Test: Locally ran the test script and built the phony targets. Change-Id: I9988cc840c0660cc4fb47129ea16cfacb4c0a7ba
* | Merge "header-abi-linker: Code cleanup" am: 9ed4f798d1 am: bd324bee47Logan Chien2019-01-171-7/+12
|\| | | | | | | | | | | am: 2aa33a82ec Change-Id: I43401f9a7c38543009300f87986d042659baaa04
| * header-abi-linker: Code cleanupLogan Chien2019-01-161-7/+12
| | | | | | | | | | Test: n/a Change-Id: I207ea35e8afbd83688c3bdf2bbf442ff0cf48d21
* | Merge "Update android-info.txt in dist directory." am: f2aae3b46d am: 3e73ca3207Justin Yun2019-01-061-0/+2
|\| | | | | | | | | | | am: 5ffb92d0e2 Change-Id: Idbf0404b388d9d4edafac00f93ef8a59c045293b
| * Update android-info.txt in dist directory.Justin Yun2019-01-071-0/+2
| | | | | | | | | | | | | | | | | | | | We update android-info.txt if we don't need product.img to flash. In that case the updated one must be provided to dist directory for flashstation to flash correctly. Bug: 120578242 Test: Use flashstation to flash the mixed build target Change-Id: I43b9d5cb3352a8c56221a325197c189c22a3d6f6