am skip reason: Change-Id If74eea675b7ab4aeaa821294f2a137c95f794d4f with SHA-1 bbb546b2da is in history
Change-Id: Ib10cf88addb369538445a87f09f96bc88ec9f4b2
am skip reason: Change-Id I9d8089b2555038e3f10ad5939a6a7b01839c67ea with SHA-1 dd46f71493 is in history
Change-Id: Iecb6a59986590f767ee3461025e919caefbc7f28
am skip reason: Change-Id Iec77a858d2c851d99e56568b89cb30aa3ff2a244 with SHA-1 46a26a8871 is in history
Change-Id: I7b5ea3ba6a220cf2305028a6370e65c4eeb4118c
am skip reason: Change-Id Ib8025019f8a7a8cf5fa8765d76b5ad470af20006 with SHA-1 3ae2951296 is in history
Change-Id: Ie8fa0e9234163c9d63d7eb565d279e88d6f8670a
am skip reason: Change-Id I96f0eb033d44c6a74787ba7f1523799b05a58092 with SHA-1 1fb487df17 is in history
Change-Id: Ie328ba64b17b932e38809997d1416eac75ec4c91
am skip reason: Change-Id Ie883eb4590f9c091d4149d7b17d7d3d91b1b5c6a with SHA-1 6d0886e279 is in history
Change-Id: Ia0b81becd50642a57934489d58c6419ea7e4fd58
am skip reason: Change-Id Idd50ed38bc90d1d93551f78e6310f167941487d9 with SHA-1 f5ea9e1f76 is in history
Change-Id: I38c266fb70b748fd65e2bbeb8cca24cd36c1af3e
* changes:
Allow droidstubs to not generate any stubs
Remove conscrypt.module.intra.core.api.stubs from apex white list
Ignore PrebuiltDepTag when processing APEX contents
Stop requiring apex_available on java_library members of sdks
Add dependency tags to apex available errors
Extract DepIsInSameApex and RequiredSdks interfaces
* changes:
Replace references to droiddoc with droidstubs
Allow walkPayloadDeps visitor to control walk flow
Add apex_available to sysprop_library
Improve missing apex_available message
Split TestApexAvailable into separate tests
Use reflect.Zero(type) to get value to clear field
Sdk snapshot set compile_multilib per OsType
Remove old SdkMemberType API for creating snapshot modules
Improve consistency of handling java snapshot properties
Make new module creation API more flexible
Add abstraction for tracking compile multilib usages
Add support for using cc_library in sdk/module_exports
Extract the osTypeSpecificInfo code from module creation loop
Extract archTypeSpecificInfo code from module creation loop
Clean up the main module creation loop
Add support for cc_prebuilt_library
Refactor prebuilt to use srcs supplier function
Output properties before sets in snapshot module
Remove SdkMemberType.FinalizeModule
Follow up a review comment that was missed
Copy shared_libs and system_shared_libs to module snapshot
Support extracting common values from embedded structures
Refactor common value extraction
Copy white listed apex available settings into snapshot
Disable installation for sdk snapshot versioned prebuilts
Remove special handling of test_ apexes
Remove special handling of com.android.art.debug/release
Allow sdk members to vary by os type
Add support for multiple os types
Copy sdk_version to cc library snapshots
Refactor java_library/java_test snapshot processing
Refactor snapshot module creation
Enable androidmk processing in sdk testing
Add a nice install paths for module SDKs and exports.
Copy apex_available properties to snapshot modules
Improve documentation of CompileMultiTargets and related properties
Only check copy rules into the snapshot directory
Simplify java library sdk member code
Add CommonOS variant for sdk
Fix bug in error reporting when adding duplicate properties
Avoid invoking sdk member to add empty list of dependencies
Add windows to the list of available OS's in sdk tests
Add support for cc_library_headers in sdk/module_exports
Prune any empty property sets from the modules before transforming
Simplify cc library sdk snapshot handling of include dirs/headers
Add support for transforming a property set after its contents
Fix issues with bp transformation
* changes:
Add cc_prebuilt_library_headers
Separate cc_library_headers to its own file and add tests
Allow compile_multilib to be specified on module exports
am skip reason: Change-Id Ib2630d4d49f21003b17e2331b0900e8df0a27e66 with SHA-1 0ee713aa0e is in history
Change-Id: Ic39b6258c3b94e9d902df516630141e2984a2120
am skip reason: Change-Id Id576c4318d9d69246a4a7e2fb4145d5fd2ab9416 with SHA-1 c40b5193fe is in history
Change-Id: I8835a604b0f103b22546b1047aafc7ab6b102fca
"version" mutator creates stubs variants for "cc" libraries with
"stubs.versions". These stubs are for APEX-APEX or APEX-Platform
boundaries.
For host/ramdisk/recovery variants, stubs are not necessary.
Exempt-From-Owner-Approval: cp from internal
Bug: 153698496
Test: m
Merged-In: Id576c4318d9d69246a4a7e2fb4145d5fd2ab9416
Change-Id: Id576c4318d9d69246a4a7e2fb4145d5fd2ab9416
(cherry picked from commit c40b5193fe)
am skip reason: Change-Id I309482b6ad439a7602127f68f2f7ffa856b9e192 with SHA-1 b9b1327c2d is in history
Change-Id: I505028d2484d5899d653a121d3036aa0e727a1b3
am skip reason: Change-Id I81598bcab8db105de6692156c001fc961409ce63 with SHA-1 6f641c1cac is in history
Change-Id: I6ffab5fc1bab633147ca420ee19ac3a9ee944fbd
Nothing passes these arguments, so it's dead code.
There is a lot of other cruft in this file that is effectively
dead code, but required further cleanup.
Bug: 152479829
Test: m
Change-Id: Ib2630d4d49f21003b17e2331b0900e8df0a27e66
Merged-In: Ib2630d4d49f21003b17e2331b0900e8df0a27e66
(cherry picked from commit 0ee713aa0e)
Nothing passes these arguments, so it's dead code.
There is a lot of other cruft in this file that is effectively
dead code, but required further cleanup.
Bug: 152479829
Test: m
Change-Id: Ib2630d4d49f21003b17e2331b0900e8df0a27e66
am skip reason: Change-Id I850d91fea298ef1a0c16c6a7a9ec1aca5cf37e69 with SHA-1 89db15dcab is in history
Change-Id: I57d61c6925539a69858972b11bbdf62abe101359
Makes it easier to add new api scopes by generating a struct with a
field for each scope.
Bug: 153443117
Bug: 153306490
Test: m nothing
Merged-In: Iec77a858d2c851d99e56568b89cb30aa3ff2a244
Change-Id: Iec77a858d2c851d99e56568b89cb30aa3ff2a244
Needed to optimize the handling of the module_lib API surface which
currently has to be generated with two separate droidstubs instances,
one to generate the stubs and another to generate the .txt file. This
allows the module generating the .txt file to avoid also wasting time
generating stubs that are not used.
This change:
* Adds a generate_stubs property that defaults to true to allow the
behavior to be customized on a per module basis.
* Uses either the stubs srcjar or the api .txt file as the OutputFile
for the AndroidMkEntries to ensure that they get written out properly.
* Rearranges the code for generating stubs to make it easier to
turn it off.
Bug: 146727827
Bug: 153306490
Test: m droid
Check output dir of framework-sdkextensions-api-module_libs_api
to make sure it does not contain any sources or srcjars.
Merged-In: Ib8025019f8a7a8cf5fa8765d76b5ad470af20006
Change-Id: Ib8025019f8a7a8cf5fa8765d76b5ad470af20006