summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-03-04Merge "Snap for 11526323 from adb147cf125ad95aa2f47433a50242a6e8bbec5c to ↵simpleperf-releaseAndroid Build Coastguard Worker
simpleperf-release" into simpleperf-release
2024-03-04Snap for 11526323 from adb147cf125ad95aa2f47433a50242a6e8bbec5c to ↵Android Build Coastguard Worker
simpleperf-release Change-Id: I11c9f140e76c8a65d4ff3c14530726c89241f5ce
2024-03-04Merge "Report DiffStatus for access specifiers" into mainTreehugger Robot
2024-02-29Merge "Omit self_type and referenced_type" into mainHsin-Yi Chen
2024-02-28Merge "Snap for 11510257 from fa99eb2943107d3d6444392b744a285c41ded792 to ↵Android Build Coastguard Worker
simpleperf-release" into simpleperf-release
2024-02-28Snap for 11510257 from fa99eb2943107d3d6444392b744a285c41ded792 to ↵Android Build Coastguard Worker
simpleperf-release Change-Id: Ic24b714bb5fd566ade28363b02405d53e53026ce
2024-02-28Merge "Introduce new prebuilt target ide_query_cc_analyzer" into mainKadir Çetinkaya
2024-02-28Introduce new prebuilt target ide_query_cc_analyzerKadir Çetinkaya
Change-Id: I3ff6fc52ff2e0fd2e192e3e928c888393339da43
2024-02-27Report DiffStatus for access specifiersHsin-Yi Chen
If a class member's access specifier is less restricted than the old declaration, header-abi-diff reports it as an extension rather than no difference. Bug: 323447559 Test: ANDROID_BUILD_TOP=`realpath .` \ PATH=$PATH:`realpath out/soong/dist/bin` \ development/vndk/tools/header-checker/tests/test.py Change-Id: I91b5e47d3d118db2c7bf07579cc60189f4e6c139
2024-02-27Omit self_type and referenced_typeHsin-Yi Chen
For TypeIR and GlobalVarIR, the JSON dumper omits self_type if it's equal to linker_set_key; omits referenced_type if it's equal to self_type. Bug: 323447559 Test: ANDROID_BUILD_TOP=`realpath .` \ PATH=$PATH:`realpath out/soong/dist/bin` \ development/vndk/tools/header-checker/tests/test.py Change-Id: Id1e46046fa60fe6c3bb054461fa78f8beda500bb
2024-02-26Merge "Upgrade the default clang version" into mainAditya Kumar
2024-02-24Upgrade the default clang versionAdityaK
Change-Id: If126984d782ee4a2125baf3fe17a8487d8176c6c
2024-02-21Merge "Add create_reference_dumps.py --lib-variant" into mainHsin-Yi Chen
2024-02-19Add create_reference_dumps.py --lib-variantHsin-Yi Chen
The new parameter lets the caller finalize LLNDK separately from NDK and PLATFORM. create_reference_dumps.py filters lsdump_paths.txt by -libs --lib-variant. It builds and copies only the needed .lsdump. Test: ./create_reference_dumps.py -libs libnativewindow \ --lib-variant LLNDK -products aosp_arm64 -release next Bug: 314010764 Change-Id: I95fb382b90d4ebd12e1a587cd1b6bc2cb1035900
2024-02-19Merge "Remove VNDK version string from intermediate dump paths" into mainHsin-Yi Chen
2024-02-19Remove VNDK version string from intermediate dump pathsHsin-Yi Chen
Soong does not append VNDK version to vendor variant directories. This commit updates create_reference_dumps.py accordingly. Bug: 314010764 Test: development/vndk/tools/header-checker/utils/create_reference_dumps.py \ -ref-dump-dir system/core/libutils/abi-dumps \ -libs libutils -release trunk_staging -products aosp_arm64 Change-Id: I8737ba2e85b17d2388650213754b78c7d83dd4e6
2024-02-17Merge "Generate LLNDK ABI dumps in prebuilts/abi-dumps/vndk" into mainHsin-Yi Chen
2024-02-15Merge "header-checker: replace llvm::Optional with std::optional" into mainRyan Prichard
2024-02-14header-checker: replace llvm::Optional with std::optionalRyan Prichard
In clang-r498229, llvm::Optional is an alias for std::optional. In clang-r510928, llvm::Optional is removed. Bug: b/175635923 Test: m MODULES-IN-development-vndk-tools-header-checker Change-Id: If9d30633b84f06f111c50980f984f53f14fb1ff3
2024-02-08Merge "Snap for 11421525 from 2487e59982b3ce524ca43d14d8ba92403e656d47 to ↵Android Build Coastguard Worker
simpleperf-release" into simpleperf-release
2024-02-08Snap for 11421525 from 2487e59982b3ce524ca43d14d8ba92403e656d47 to ↵Android Build Coastguard Worker
simpleperf-release Change-Id: I85fe890cb1026785592587e21fbbd6c0f617c514
2024-02-06Merge "Generate full_target from the exportable stubs" into mainJihoon Kang
2024-02-06Merge "Update API 35 release config and emulator files for 24Q3 DP 1" into mainTreehugger Robot
2024-02-06Update API 35 release config and emulator files for 24Q3 DP 1Neha Jain
Bug: 323051015 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7098475d691b82a269d48f934b38d1e7b16a9d9c) Merged-In: Ic57370af58cd0c5d2e674d09b84ed7ed9ca4acc7 Change-Id: Ic57370af58cd0c5d2e674d09b84ed7ed9ca4acc7
2024-02-06Merge "Set the container field of aconfig flags" into mainOriol Prieto Gascó
2024-02-06Generate full_target from the exportable stubsJihoon Kang
full_target is the SDK jar file of the stubs. Instead of setting its value as the classes.jar file of the everything stubs, this change set its value as the classes.jar file of the exportable stubs. Test: patch in git_main, lunch aosp_arm-ap31-eng && m sdk dist and inspect that the disabled apis are not included Bug: 323261972 Change-Id: Ib82e1f0a88adbb699d93014487779f7f2da24a5a
2024-02-05Merge "Check whether cargo run can be omitted." into mainTreehugger Robot
2024-02-05Check whether cargo run can be omitted.Andrew Walbran
Bug: 323320448 Test: Ran on zip crate with run_cargo changed to true Change-Id: I1d781398ac14d287141b2b65b4ef0149fcd899c4
2024-02-03Set the container field of aconfig flagsOriol Prieto Gasco
Test: m Bug: 312769710 Change-Id: Ib1a18d41ad51ccc50eead4bfa979912995454c11
2024-02-03Merge "Snap for 11400057 from f148c99aed82a0ff0e92a9b6dc057b3fd547979b to ↵Android Build Coastguard Worker
simpleperf-release" into simpleperf-release
2024-02-02Snap for 11400057 from f148c99aed82a0ff0e92a9b6dc057b3fd547979b to ↵Android Build Coastguard Worker
simpleperf-release Change-Id: Iaa10690a02a5fa054e866f2c7506643b197e1801
2024-02-02Merge "Create dumps for a library with multiple tags" into mainHsin-Yi Chen
2024-02-02Generate LLNDK ABI dumps in prebuilts/abi-dumps/vndkHsin-Yi Chen
create_reference_dumps.py generates LLNDK dumps in prebuilts/abi-dumps/vndk/<RELEASE_BOARD_API_LEVEL>. Test: ./create_reference_dumps.py -products aosp_x86_64 -release next Bug: 314010764 Change-Id: I96be20c09fd63d2a5bf4a21483c812f32415d56a
2024-02-02Create dumps for a library with multiple tagsHsin-Yi Chen
create_reference_dumps.py loads tags and paths from lsdump_paths.txt. It used to create a dump for each (lib, arch) tuple. Now a dump may have multiple tags. The script creates a dump for each (lib, arch, tag). Test: ./create_reference_dumps.py -products aosp_x86_64 \ -release next Bug: 314010764 Change-Id: I105b53bf4519e37493b94d0d938df398f259354f
2024-01-25Merge "Add missing rlib target kind." into mainAndrew Walbran
2024-01-25Merge "Ignore long forms of flags the same as short." into mainTreehugger Robot
2024-01-25Add missing rlib target kind.Andrew Walbran
Bug: 317913182 Test: Ran on axum 0.6.20. Change-Id: I500d8813d402866364ca578394d6782da4681229
2024-01-25Ignore long forms of flags the same as short.Andrew Walbran
Bug: 317913182 Test: Ran on axum 0.6.20. Change-Id: I521c54bc3da83085c565ed23f26c3d79c327f406
2024-01-24Merge "add3prf.py: Update value for crates.io identifier" into mainTreehugger Robot
2024-01-23add3prf.py: Update value for crates.io identifierMatt Schulte
According to go/thirdparty/metadata#identifier > The identifier field is used to enable this functionality. The type > field should correspond to one of OSV's defined ecosystems or one of the > google internal types. Select the identifier type which matches where > the package was obtained before importing to Piper. The value should be > the name of the package as defined within that ecosystem - see the > examples below. The OSV's defined ecosystem is here: https://ossf.github.io/osv-schema/#affectedpackage-field For "crates.io" the table says the name field should be the crate name. Bug: 322046255 Test: N/A Change-Id: I3647614f4e9a5157743bf907366cbeaf0c4ed74a
2024-01-23Merge "add3prf.py: Add detection of LICENSE-BSD file" into mainTreehugger Robot
2024-01-23add3prf.py: Add detection of LICENSE-BSD fileMatt Schulte
Add the ability to detect a BSD_LIKE license based on the existance of LICENSE-BSD file (just like LICENSE-MIT). Bug: 321983331 Test: Added unit test and tested against the zerocopy crate Change-Id: I694a858e33d0c2e6865e4fae77a0287d215076fe
2024-01-22Merge changes Ie37e173e,I824f93a0,I0c385e82,I39cb4ad8 into mainMatt Schulte
* changes: add3prf.py: Add support for Boost license add3prf.py: Add support for zlib license detection add3prf.py: Support license files with extensions Set `primary_source` for idenfitier in add3prf.py
2024-01-18add3prf.py: Add support for Boost licenseMatt Schulte
Bug: 321067451 Test: Run against `ryu-1.0.15` crate and add unit test Change-Id: Ie37e173e73bc0b3c75dd6d83f8c0ef48e428a395
2024-01-18add3prf.py: Add support for zlib license detectionMatt Schulte
Bug: 321066417 Test: Run add3prf.py against tinyvec-1.6.0 and added unit tests Change-Id: I824f93a0335c8d8de13b11df9efe6775a02870f2
2024-01-18add3prf.py: Support license files with extensionsMatt Schulte
Some crates place there license files in files with extensions, such as LICENSE.txt or LICENSE-MIT.md. We should account for extensions by removing them. Bug: 321064939 Test: Ran script against `minimal-lexical-0.2.1` crate and added unit tests Change-Id: I0c385e8209969c0900909e764460fc551f07c20c
2024-01-18Set `primary_source` for idenfitier in add3prf.pyMatt Schulte
In METADATA (go/thirdparty/metadata) there is an identifier required for each package. Our script currently contains 2 identifier and therefore it's unclear where we actually downloaded the package from. Therefore, we need to set a `primary_source` marker. To quote the docs: > The identifier that is the source of truth for the package should be marked with primary_source: true. Bug: 321065092 Test: N/A Change-Id: I39cb4ad842f0930d964d1f2b814d0f60d23d00bb
2024-01-16Merge "Add FAQ about header ABI checker" into mainHsin-Yi Chen
2024-01-16Add FAQ about header ABI checkerHsin-Yi Chen
Test: None Bug: 319323819 Change-Id: I7bb6a4225ec74023125d2c51c088ebca364966b6
2024-01-12Merge "cargo2rulesmk.py: ignore target-specific dependencies" into mainTreehugger Robot