summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
3 daysMerge "Make sqlite 3.44.3 the default" into mainHEADmastermainLee Shombert
3 daysMerge "Update sqlite upgrade documentation" into mainLee Shombert
4 daysMake sqlite 3.44.3 the defaultLee Shombert
This makes sqlite 3.44.3 the default sqlite release for all build targets that do not honor trunk-stable build flags. (The only known example is the set of kernel targets). Test: presubmit Flag: build.RELEASE_PACKAGE_LIBSQLITE3 Bug: 322547687 Change-Id: I007fd08d9bd7becdd754f227b3572ca6ac1595e2
4 daysUpdate sqlite upgrade documentationLee Shombert
This makes small changes to the sqlite upgrade documentation. As a bonus change, this also deletes an unused file that should have been removed when the sqlite build process began using trunk-stable flags. Test: documentation only Flag: DOCS_ONLY Bug: 337329990 Change-Id: Ife1b486ea46e68ab7b9e9d1f9a71c8892da4955d
2024-04-11Merge "Remove VNDK definition(s)" into mainTreehugger Robot
2024-04-01Merge "Disable LTO for libsqlite" into mainYi Kong
2024-03-29Disable LTO for libsqliteYi Kong
libsqlite is a single gigantic C file, no need to run LTO. Test: presubmit Change-Id: I6d9b7ab20ffb509806b479038e7be11aecc6f1c8
2024-03-26Merge changes I38e6c37b,I674f9079 into mainLee Shombert
* changes: Install sqlite 3.44.3 Update the sqlite build scripts
2024-03-25Install sqlite 3.44.3Lee Shombert
This installs sqlite 3.44.3 as a candidate sqlite source release. This is not the official release - it is 3.44.2 plus two extra commits that resolve issues found during Android testing. However, sqlite.org has named the release "3.44.3". This change does not change the sqlite release used in the code. The trunk-stable build flag RELEASE_PACKAGE_LIBSQLITE3 must be updated to 3440300. Tested with a temporary CL that advanced the build flag to use the new source. Verified that a phone running the build was reporting "3.44.3" as the sqlite version. Bug: 322547687 Change-Id: I38e6c37b54ac20fe264b1760f30efae268fc945b
2024-03-25Update the sqlite build scriptsLee Shombert
UPDATE-SOURCE now accepts a url on the command line. This is important when the canonical url does not work (as is the case when using an unreleased sqlite tarball). The version number can now be specified as four integers, which is useful when using an unreleased sqlite tarball. Some common functions used by UPDATE-SOURCE and REBUILD-PATCH have been moved into shared file. Test: The updated scripts were used to install an unreleased sqlite tarball from the 3.44.2 train. Bug: 323176655 Change-Id: I674f9079407df1e9e00541cbed92041f0ded2f3e
2024-03-25Merge changes Iba1dd754,I85038560,Ia61ba689 into mainLee Shombert
* changes: Consume build flag in sqlite Android.bp Install sqlite 3.42.0 Allow multiple releases of sqlite
2024-03-24Consume build flag in sqlite Android.bpLee Shombert
The two Android.bp files for sqlite now use the build flag RELEASE_PACKAGE_LIBSQLITE3. The value of the build flag must be a seven-digit sqlite release number. For example, release 3.44.2 is coded as 3440200. This is the same number that sqlite.org uses for the release URLs. The default source files (also 3.42.0) have been copied into the directory external/sqlite/dist/sqlite-default. These files are used for every target that is not aware of trunk-stable build flags. Bug: 323176655 Change-Id: Iba1dd75408f42b35eb52b680c11a9947aad04f3f
2024-03-24Install sqlite 3.42.0Lee Shombert
This reinstalls sqlite 3.42.0 using strategy for supporting multiple versions of sqlite. The source code is placed in the directory dist/sqlite-autoconf-3420000. This is the same source code that had been in dist. There is no funcctional change because of this commit. The version of sqlite was 3.42.0 and still is 3.42.0. Bug: 323176655 Change-Id: I85038560641aeabc334b2ca0fbd39bf6ea4d58f5
2024-03-24Allow multiple releases of sqliteLee Shombert
This change allows the build system to hold multiple versions of the sqlite library. This change only allows the multiple versions to be stored concurrently. It does not change the build process. A sqlite version is stored in the directory dist/<year>/<tarball-name> under external/sqlite. This naming corresponds to how tarballs are saved on sqlite.org. Note that the year of the release is important. To create a new sqlite version for 3.42.0 (created in 2023): cd external/sqlite ./UPDATE-SOURCE.bash 2023 3.42.0 The update process downloads the sqlite source and applies the Android.patch file. If the patch is not clean, fix the sqlite files by hand, regenerate the patch file, and rerun the update-source command: ./REBUILD-ANDROID-PATCH.bash 2023 3.44.2 ./UPDATE-SOURCE.bash 2023 3.42.0 The patch should apply cleanly. Test: manual inspection Bug: 323176655 Change-Id: Ia61ba6890dec1ea1a8c450b70d85b964d679d21a
2024-03-18Merge changes from topic "revert-3004403-VVMMIOBWAB" into mainTreehugger Robot
* changes: Revert "Allow multiple releases of sqlite" Revert "Install sqlite 3.42.0" Revert "Consume build flag in sqlite Android.bp"
2024-03-18Revert "Allow multiple releases of sqlite"Lee Shombert
Revert submission 3004403 Reason for revert: build breakage on mainline modules Reverted changes: /q/submissionid:3004403 Change-Id: I5eb768aa7c03f7159c400dc28faf8ea006e3e56f
2024-03-18Revert "Install sqlite 3.42.0"Lee Shombert
Revert submission 3004403 Reason for revert: build breakage on mainline modules Reverted changes: /q/submissionid:3004403 Change-Id: Iab67d4e713b91210cac2e9304e74a21f7c73ebea
2024-03-18Revert "Consume build flag in sqlite Android.bp"Lee Shombert
Revert submission 3004403 Reason for revert: build breakage on mainline modules Reverted changes: /q/submissionid:3004403 Change-Id: Iab8a62fc648d304cabd297c7f8ad46dbfe7f35e7
2024-03-18Merge changes Ib75fcbd7,Ica623180,If3274df1 into mainLee Shombert
* changes: Consume build flag in sqlite Android.bp Install sqlite 3.42.0 Allow multiple releases of sqlite
2024-03-15Consume build flag in sqlite Android.bpLee Shombert
The two Android.bp files for sqlite now use the build flag RELEASE_PACKAGE_LIBSQLITE3. The value of the build flag must be a seven-digit sqlite release number. For example, release 3.44.2 is coded as 3440200. This is the same number that sqlite.org uses for the release URLs. The legacy source files are removed. Bug: 323176655 Change-Id: Ib75fcbd7f9eac64335be48fd6a49cf67765b8c1b
2024-03-15Install sqlite 3.42.0Lee Shombert
This reinstalls sqlite 3.42.0 using strategy for supporting multiple versions of sqlite. The source code is placed in the directory dist/sqlite-autoconf-3420000. This is the same source code that had been in dist. There is no funcctional change because of this commit. The version of sqlite was 3.42.0 and still is 3.42.0. Bug: 323176655 Change-Id: Ica623180609765f3dca010cbc1bb606fde1b1ec5
2024-03-15Allow multiple releases of sqliteLee Shombert
This change allows the build system to hold multiple versions of the sqlite library. This change only allows the multiple versions to be stored concurrently. It does not change the build process. A sqlite version is stored in the directory dist/<year>/<tarball-name> under external/sqlite. This naming corresponds to how tarballs are saved on sqlite.org. Note that the year of the release is important. To create a new sqlite version for 3.42.0 (created in 2023): cd external/sqlite ./UPDATE-SOURCE.bash 2023 3.42.0 The update process downloads the sqlite source and applies the Android.patch file. If the patch is not clean, fix the sqlite files by hand, regenerate the patch file, and rerun the update-source command: ./REBUILD-ANDROID-PATCH.bash 2023 3.44.2 ./UPDATE-SOURCE.bash 2023 3.42.0 The patch should apply cleanly. Test: manual inspection Bug: 323176655 Change-Id: If3274df1039413b4aca7e78fe50b6dfe6c7a9481
2024-03-13Merge "Revert "Upgrade sqlite to release 3.44.2"" into mainTreehugger Robot
2024-03-13Revert "Upgrade sqlite to release 3.44.2"Bart Sears
This reverts commit 4095ac39e023d6b823a7c447b39f28d1609f1ebe. Reason for revert: b/329018076 Bug: 329018076 Change-Id: Ia75c73ff7dde1268ff10b92b5495bb349542037d
2024-03-11Remove VNDK definition(s)Kiyoung Kim
As of VNDK deprecation, any libraries that defines vndk is no longer valid anymore. This change removes all VNDK definition(s) from modules which was VNDK. Bug: 328994089 Test: AOSP CF build succeeded Change-Id: I13fbb970f46187950aeaffdeb661698f8d652bd0
2024-03-08Merge "Upgrade sqlite to release 3.44.2" into mainLee Shombert
2024-03-07Upgrade sqlite to release 3.44.2Lee Shombert
3.44.2 fixes a performance regression that was found in 3.42.0. The 3.44.2 release has had no performances regressions reported to sqlite.org in the three months is has been active. Test: atest * FrameworksCoreTests:android.database * CtsDatabaseTestCases Bug: 307790408 Bug: 322547687 Change-Id: Ie5e704ce8e92ebad35c33ee332b96da148f3db7b
2024-03-07Merge "Merge Android 14 QPR2 to AOSP main" into mainXin Li
2024-03-06Merge Android 14 QPR2 to AOSP mainXin Li
Bug: 319669529 Merged-In: I0eafb87cfb795d7fa2d164df72117a6cd5b68c36 Change-Id: I498382df27b9d78f02ce37eaf1c4ae4962c1e9b7
2024-02-21Merge "Make SQLite apex-available" into main am: 67fc34f804temp_319669529David Drysdale
Original change: https://android-review.googlesource.com/c/platform/external/sqlite/+/2968594 Change-Id: I0eafb87cfb795d7fa2d164df72117a6cd5b68c36 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-21Merge "Make SQLite apex-available" into mainDavid Drysdale
2024-02-19Make SQLite apex-availableDavid Drysdale
Also bpfmt so presubmit passes. Bug: 294177871 Test: build virtualizationservice using rusqlite Change-Id: I54b1a263c264dbf93be58a3710c37126f280ce50
2024-02-13Merge "Revert "[sqlite] Add SQLite 3.42.0"" into main am: 6a6e6ad94cLee Shombert
Original change: https://android-review.googlesource.com/c/platform/external/sqlite/+/2959682 Change-Id: If5dcda55c351d88b3bb1f37c15e277dc846c3701 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-13Merge "Revert "[sqlite] Add SQLite 3.42.0"" into mainLee Shombert
2024-02-12Revert "[sqlite] Add SQLite 3.42.0"Lee Shombert
This reverts commit bd34590a4e68af766377b3c6dfc8f3cf92b43f9e. Reason for revert: Choosing a different strategy for multiple releases. Change-Id: Ie05f557e07c68289d6250fc6d65947e90603978c
2024-02-08Merge "[sqlite] Add SQLite 3.42.0" into main am: 3ebea241ebTreehugger Robot
Original change: https://android-review.googlesource.com/c/platform/external/sqlite/+/2933171 Change-Id: I565b2a19fba55db3bd73fdb878dc67e6bc0d2bb6 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-08Merge "[sqlite] Add SQLite 3.42.0" into mainTreehugger Robot
2024-02-08Merge "[sqlite] Allow multiple source versions" into main am: e52d4d5743Lee Shombert
Original change: https://android-review.googlesource.com/c/platform/external/sqlite/+/2933170 Change-Id: Ibec359c7796a103055c87d0a4dde8f2d154e44e6 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-08Merge "[sqlite] Allow multiple source versions" into mainLee Shombert
2024-02-08Merge "Revert "[sqlite] Allow multiple versions"" into main am: c752a40cc6Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/external/sqlite/+/2953298 Change-Id: I7c131643740c722773701b0f6001ca0e24b345aa Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-08Merge "Revert "[sqlite] Allow multiple versions"" into mainTreehugger Robot
2024-02-07Revert "[sqlite] Allow multiple versions"Lee Shombert
This reverts commit 989ee92442716ea6eb798be19ff9d4e10b220771. Reason for revert: b/324032237 Change-Id: Icab1cfbcc4e33692469b56a737a611195c5407ee
2024-02-06Merge "[sqlite] Allow multiple versions" into main am: ac0fd5c32aTreehugger Robot
Original change: https://android-review.googlesource.com/c/platform/external/sqlite/+/2931270 Change-Id: Id3756c5940ccde5c8b47d7b05db8dd7b81afc341 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-06Merge "[sqlite] Allow multiple versions" into mainTreehugger Robot
2024-01-29[sqlite] Add SQLite 3.42.0Shai Barack
Now dist-3.42.0/ is same as dist/ basically. In the future this could change. Also moved some top-level version-specific metadata files into dist/ to reflect that dist/ is currently snapped to 3.42.0. Test: presubmit Bug: 322547687 Change-Id: Ifad0207b6f6e521f6e13d491a7d9d5f8b54b89c5
2024-01-29[sqlite] Allow multiple source versionsShai Barack
Bug: 322547687 Test: ran and generated new 3.42.0 dir Change-Id: Ie5de16330418dc538eb5fd0fdc80052409607e5e
2024-01-29[sqlite] Allow multiple versionsShai Barack
Make external/sqlite/dist a symlink. Move current sqlite to a versioned path. Change update scripts to support multiple versions. Update instructions accordingly. Test: build & presubmit Change-Id: I33d55a95be6bee294f866c55fc04288fc28cf357
2024-01-17Merge Android 24Q1 Release (ab/11220357)Xin Li
Bug: 319669529 Merged-In: I99ab5d3bef6e5aab2043400cade818b0789b8f44 Change-Id: Ieb3b8ed7ad2621ad6a52a6f048d6978a4127c781
2024-01-08Merge "Enable the sqlite Tables_Used() function." into main am: fd5a58211dLee Shombert
Original change: https://android-review.googlesource.com/c/platform/external/sqlite/+/2899851 Change-Id: I41d1eea5125a50a38856fc3b2507803a2609d3cd Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-08Merge "Enable the sqlite Tables_Used() function." into mainLee Shombert