Commit Graph

22013 Commits

Author SHA1 Message Date
Artur Satayev 480e25b74f Introduce min_sdk_version to deps info.
Bug: 149622332
Test: m
Change-Id: Ie6568cb8a82d5cca9a3dc91b5a068abf4b0632dc
2020-05-04 19:44:28 +01:00
Treehugger Robot 5b001c96dd Merge "Report visibility errors in both check and gather phases" am: e661212b76 am: deaf0b2d07
Change-Id: Ib6f0f04e565bb1d1920ddba5e4b38b2b0b7feb94
2020-05-04 17:58:23 +00:00
Treehugger Robot 4ed2f14dbc Merge "Reduce duplication in visibility property management" am: b6b0ca1d87 am: 5879210577
Change-Id: I63fcee81adbd2a0c6b2a86d69fbf6e633f9e1914
2020-05-04 17:58:06 +00:00
Anton Hansson 6778b32561 Merge "Disable "check last" for test api" into rvc-dev am: fc39bd861d
Change-Id: Ib1bb10fa93d3d77afdf47dcfbfe58792d63f4765
2020-05-04 17:57:12 +00:00
Anton Hansson fc39bd861d Merge "Disable "check last" for test api" into rvc-dev 2020-05-04 17:44:05 +00:00
Treehugger Robot deaf0b2d07 Merge "Report visibility errors in both check and gather phases" am: e661212b76
Change-Id: I80a609915802545a340a4c8b7227712f29eac128
2020-05-04 17:42:56 +00:00
Treehugger Robot 5879210577 Merge "Reduce duplication in visibility property management" am: b6b0ca1d87
Change-Id: Id070475dd4bf9ceae3c6b60960d54a3b64fd9f50
2020-05-04 17:42:49 +00:00
Treehugger Robot e661212b76 Merge "Report visibility errors in both check and gather phases" 2020-05-04 17:25:45 +00:00
Treehugger Robot b6b0ca1d87 Merge "Reduce duplication in visibility property management" 2020-05-04 17:25:29 +00:00
Artur Satayev a8bd113a69 Introduce flat deps info list.
Compared to full list, flat list drops dependency edges and simply
lists all transitive dependencies for a top-level apex bundle.

Bug: 149622332
Test: m, manually build flatlist

Change-Id: Ibd521c96b7aeab90b95965c1b524e0a0152aaf5a
2020-05-04 18:01:11 +01:00
Artur Satayev 872a144dca Export depsInfo into android package.
Move depsInfo into android for easier sharing with APK code.

Bug: 149622332
Test: m, diff'ing outputs for conscrypt module.
Change-Id: If0ee967d37425540e69b4ce9304229d9f2cd86bd
2020-05-04 18:01:09 +01:00
Artur Satayev 2eedf623ff Ensure APEX's Java deps use stable SDKs.
Test: m
Bug: 153333044
Change-Id: Ib1acf3073e96fe23c92d292ec0b1a91e2cd408db
Merged-In: Ib1acf3073e96fe23c92d292ec0b1a91e2cd408db
Exempt-From-Owner-Approval: cp from aosp
(cherry picked from commit 8cf899afcc)
2020-05-04 16:51:59 +00:00
satayev 7c54f0358c Merge "Ensure APEX's Java deps use stable SDKs." am: 9d6ea77c52 am: 858239ce20
Change-Id: Icf58cab4392926b11836447d24161ef224e3ac09
2020-05-04 16:31:30 +00:00
satayev 858239ce20 Merge "Ensure APEX's Java deps use stable SDKs." am: 9d6ea77c52
Change-Id: Ifb2eb5e7212fbbe979ad609e5a0c57fd058cdf07
2020-05-04 16:21:57 +00:00
satayev 9d6ea77c52 Merge "Ensure APEX's Java deps use stable SDKs." 2020-05-04 16:03:44 +00:00
Ulya Trafimovich 7ea319a126 Add forgotten apex prefix to Jacoco boot image module. am: 817133ee2a am: 0e3f053f53
Change-Id: I6189afb05e50dba93949615ac969380e952adbf3
2020-05-04 13:43:53 +00:00
Ulya Trafimovich 0e3f053f53 Add forgotten apex prefix to Jacoco boot image module. am: 817133ee2a
Change-Id: I4af7102ea684249565ecea8d147429375d6d16d1
2020-05-04 13:38:05 +00:00
Anton Hansson 26e7ba575b Merge "Make prebuilt_sdk support module-lib and system-server" into rvc-dev am: e16ca7d52d
Change-Id: I7d06f1c1c8cd34b1725b76c53509e7c217837487
2020-05-04 13:02:52 +00:00
Anton Hansson 8d23969bb6 Make prebuilt_sdk support module-lib and system-server
This makes prebuilt_sdk look for and create modules in the module-lib
and system-server subdirs too, e.g.:
    framework-wifi.api.module-lib.latest

Bug: 149293194
Test: follow-up change
Change-Id: Idbded6b633315034e669e9c5dd2bd30725d5c76b
Merged-In: Idbded6b633315034e669e9c5dd2bd30725d5c76b
2020-05-04 13:52:43 +01:00
Anton Hansson e16ca7d52d Merge "Make prebuilt_sdk support module-lib and system-server" into rvc-dev 2020-05-04 12:51:31 +00:00
Ulya Trafimovich 817133ee2a Add forgotten apex prefix to Jacoco boot image module.
This is a follow-up for https://r.android.com/1292915, which introduced
two-column format for the components of the boot jar list. This CL
fixes build failure for the coverage build.

Test: m EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true
Change-Id: Ib8b156bf81943fe07084cbce5e7e9bf70e759a5d
2020-05-04 12:16:25 +01:00
Inseob Kim 69cf09e1fd Fix build error of sysprop_library in namespace
Dependencies from property_contexts to sysprop_library now uses absolute
module path, and modules which are not exported to make are filtered
out.

Bug: 155148526
Test: add sysprop_library under any soong_namespace
Test: check build.ninja and see property_contexts inputs
Change-Id: Ib9456e8e5dfca74ce53da3cc947c8e6b1ed9a16b
2020-05-04 19:28:25 +09:00
Treehugger Robot e7a69974b9 [automerger skipped] Merge "Don't tell make about modules in other namespaces" am: 266a66e20c am: f260c2e143 -s ours
am skip reason: Change-Id I68912bb6a5696809c318d1ec816a1bcfbe2df245 with SHA-1 7b6af23db6 is in history

Change-Id: I8d66bc62d42cd6b814562d4caf7ce4158985381b
2020-05-04 09:08:33 +00:00
Ulyana Trafimovich f1e207c738 Merge "Use two-column format for PRODUCT_BOOT_JARS components." am: 2aa8e0be11 am: 728f0c5dae
Change-Id: I0ac57804b7c9f3bc5a4f3433e7e2e6d7011cc935
2020-05-04 09:08:11 +00:00
Treehugger Robot f260c2e143 Merge "Don't tell make about modules in other namespaces" am: 266a66e20c
Change-Id: I8909dde91502e84a958a7fa52a8b0fc1f580619e
2020-05-04 09:02:46 +00:00
Ulyana Trafimovich 728f0c5dae Merge "Use two-column format for PRODUCT_BOOT_JARS components." am: 2aa8e0be11
Change-Id: I739836060e0af410efcff2a7ef353995951d946d
2020-05-04 09:02:10 +00:00
Treehugger Robot 266a66e20c Merge "Don't tell make about modules in other namespaces" 2020-05-04 09:02:06 +00:00
Jiyong Park 63a3883802 Dependencies of tests are also included in APEX am: af9539fd14 am: 7e191d264a
Change-Id: Id6647ba0c1531e0605e5cedf921d3b01908d1ff5
2020-05-04 09:02:03 +00:00
Ulyana Trafimovich 2aa8e0be11 Merge "Use two-column format for PRODUCT_BOOT_JARS components." 2020-05-04 08:57:47 +00:00
Jiyong Park 7e191d264a Dependencies of tests are also included in APEX am: af9539fd14
Change-Id: Iaab0f5d7239260d63d75aa81224fc53b568da131
2020-05-04 08:52:47 +00:00
Jeongik Cha 5bc011b479 Remove networkstack-aidl-interfaces-unstable-java from the whitelist
networkstack-aidl-interfaces-*java has explicit apex_available now.
Accordingly, remove it from the whitelist

Bug: 133526962
Test: m nothing
Change-Id: If5427afb2470a7dffbd418e1c405af508577ad93
Merged-In: If5427afb2470a7dffbd418e1c405af508577ad93
2020-05-04 08:32:41 +00:00
Dan Willemsen 288145a65a Don't tell make about modules in other namespaces am: 7b6af23db6
Change-Id: I07899dd7d142aa490e026046f6ebae0001946da2
2020-05-04 07:17:29 +00:00
Dan Willemsen b5b2aba43b Don't tell make about modules in other namespaces
This was causing build breaks when different devices moved to Android.bp
at different times.

Bug: 150878976
Test: build *_hwasan targets
Change-Id: I68912bb6a5696809c318d1ec816a1bcfbe2df245
Merged-In: I68912bb6a5696809c318d1ec816a1bcfbe2df245
(cherry picked from commit 7b6af23db6)
2020-05-04 00:05:47 -07:00
Dan Willemsen 7b6af23db6 Don't tell make about modules in other namespaces
This was causing build breaks when different devices moved to Android.bp
at different times.

Bug: 150878976
Test: build *_hwasan targets
Change-Id: I68912bb6a5696809c318d1ec816a1bcfbe2df245
2020-05-03 21:30:43 -07:00
Jiyong Park af9539fd14 Dependencies of tests are also included in APEX
Shared lib dependencies of a test is included in the APEX regardless of
whether the test has test_per_srcs or not.

Bug: N/A
Test: m (apex_test.go amended)
Change-Id: I6b16843cc7467c42e250aba88d79d5580ba47324
2020-05-04 10:31:32 +09:00
Sasha Smundak a4ef83b252 Canonicalize saved paths, Kythe cannot handle symlinks
Bug: 141385766
Test: build kzip
Change-Id: I87c4af719135ee89298d160bb8d6395ad7d6046c
2020-05-03 18:30:13 -07:00
Svet Ganov 20a3edb7ae [automerger skipped] Updating platform SDK version for R am: ec83fd0642 -s ours
am skip reason: Change-Id I30d7cda3c95327c4080e279e876129eb9e6a8091 with SHA-1 3b0b84b8a7 is in history

Change-Id: I928c76ba24b4226a4c57335521b2d032de9ef802
2020-05-03 23:14:39 +00:00
Svet Ganov ec83fd0642 Updating platform SDK version for R
* Update SDK versions

Test: build + boot

 bug:150281259

Change-Id: I30d7cda3c95327c4080e279e876129eb9e6a8091
Merged-In: I30d7cda3c95327c4080e279e876129eb9e6a8091
2020-05-03 09:41:41 -07:00
Chris Gross 06c8036ac8 Allow bootjars in system_ext.
Bug: 148385042
Test: Built and booted Pixel 3a both with and without a boot jar in system_ext.
Change-Id: I0702aa8259478a71cf96a5cd3a425071ccdafdfb
2020-05-02 14:56:51 -07:00
Svet Ganov 3b0b84b8a7 Updating platform SDK version for R
* Update SDK versions

Test: build + boot

 bug:150281259

Exempt-From-Owner-Approval: merge conflict resolution

Change-Id: I30d7cda3c95327c4080e279e876129eb9e6a8091
Merged-In: I30d7cda3c95327c4080e279e876129eb9e6a8091
2020-05-02 14:39:14 -07:00
Anton Hansson 422530f04f Merge "Fix soong crashing when there's no baseline file" into rvc-dev am: 8b9273d99e
Change-Id: Ibd30b9ef0800d98bd242d0c39c343d9a646242af
2020-05-02 10:29:12 +00:00
Anton Hansson 75ac71eea2 Fix soong crashing when there's no baseline file
Soong was referencing the baseline file regardless of whether it was
valid or not.

Also update the lint message to match the one metalava itself prints,
which only suggests whitelisting the error if it's not possible to fix
it properly.

Bug: 154616909
Test: m (with lint error)
Change-Id: I4c6ec327a59aefe74825b4c4719393dd267ba3aa
Merged-In: I4c6ec327a59aefe74825b4c4719393dd267ba3aa
(cherry picked from commit 34ced82d2a)
2020-05-02 11:23:34 +01:00
Anton Hansson 8b9273d99e Merge "Fix soong crashing when there's no baseline file" into rvc-dev 2020-05-02 10:23:16 +00:00
Anton Hansson 5ff28e50b8 Disable "check last" for test api
@TestApi does not have stability requirements, so we shouldn't be
checking its compatibility with the last released version.

This CL removes the expectation that a test-removed.txt is checked in
for each module during finalization.

Bug: 155197156
Test: m (with SDK 30 imported)
Change-Id: Ib3f671493f1d230116bec51b884e8072643b10d4
2020-05-02 11:19:36 +01:00
Colin Cross 2c5403f221 [automerger skipped] Merge changes from topic "sdk_version_variant" into rvc-dev am: 2a5fb91370 -s ours
am skip reason: Change-Id I7d72934aaee2e1326cc0ba5f29f51f14feec4521 with SHA-1 82e192c3ae is in history

Change-Id: I8c7ba0b2ae10af577f08eb2f18a7c92a6227c277
2020-05-02 01:57:15 +00:00
Colin Cross 2a5fb91370 Merge changes from topic "sdk_version_variant" into rvc-dev
* changes:
  Add sdk mutator for native modules
  Require apps built against the SDK to use JNI built against the NDK
2020-05-02 01:41:18 +00:00
Evgenii Stepanov d47946516a Merge "[soong] Zero and pattern initialization of heap memory." am: b39e15d3f3 am: 450659d229
Change-Id: Iabf7acc059cd2a2ea72ae5f6433ee3c8da354a67
2020-05-02 00:27:30 +00:00
Evgenii Stepanov 450659d229 Merge "[soong] Zero and pattern initialization of heap memory." am: b39e15d3f3
Change-Id: Ia3d3356340112f36367b5f48b75d91234bc9c25a
2020-05-02 00:09:48 +00:00
Evgenii Stepanov b39e15d3f3 Merge "[soong] Zero and pattern initialization of heap memory." 2020-05-01 23:58:48 +00:00
Dan Willemsen 1612e2641e nsjail: Always remount /tmp before src/out/dist
A user was trying to use OUT_DIR=/tmp/...-out DIST_DIR=/tmp/...-dist

Test: OUT_DIR=/tmp/test-out DIST_DIR=/tmp/test-dist m nothing
Change-Id: I811cc8e1bda8d766406603df47309a8637cef48c
2020-05-01 16:26:56 -07:00