Commit Graph

20107 Commits

Author SHA1 Message Date
Ulyana Trafimovich cc9a5edd4f Merge "Make PRODUCT_BOOT_JARS and PRODUCT_UPDATABLE_BOOT_JARS disjoint." 2020-02-13 13:36:25 +00:00
Ulya Trafimovich 4cdada2d1f Make PRODUCT_BOOT_JARS and PRODUCT_UPDATABLE_BOOT_JARS disjoint.
This is to unify boot jars with system server jars:
PRODUCT_SYSTEM_SERVER_JARS and PRODUCT_UPDATABLE_SYSTEM_SERVER_JARS
do not overlap.

Test: aosp_walleye-userdebug boots

Exempt-From-Owner-Approval: cherry-pick.
Bug: 146363577
Change-Id: If001049a46f8e9d38921dabeedbd61e971ebfe73
Merged-In: If001049a46f8e9d38921dabeedbd61e971ebfe73
(cherry picked from commit ef4358e536)
2020-02-13 13:35:39 +00:00
Automerger Merge Worker 064ac1feda Merge "Add vendor snapshot modules" am: f048446f92 am: 7dbfe9a852 am: f5b69a3e9d
Change-Id: I853e86515a8268a4224344b890f54490f44844cf
2020-02-13 11:51:51 +00:00
Automerger Merge Worker f5b69a3e9d Merge "Add vendor snapshot modules" am: f048446f92 am: 7dbfe9a852
Change-Id: I7a8151d33e4ede46ef504d7161fa9f4a96f3106b
2020-02-13 11:37:36 +00:00
Automerger Merge Worker 7dbfe9a852 Merge "Add vendor snapshot modules" am: f048446f92
Change-Id: I28f589f50c4305a6287a88916e522401f618afb8
2020-02-13 11:17:01 +00:00
Treehugger Robot f048446f92 Merge "Add vendor snapshot modules" 2020-02-13 11:01:10 +00:00
Ulyana Trafimovich e749814af8 Merge "Make PRODUCT_BOOT_JARS and PRODUCT_UPDATABLE_BOOT_JARS disjoint." 2020-02-13 10:53:13 +00:00
Automerger Merge Worker 768608acea Merge "Disable PGO profile use in Clang-based coverage builds" am: 64a075c789 am: 6a22b910e5 am: d95f7cf789
Change-Id: I8079004f2531aed58e93663e87a9fdf8bc9539a6
2020-02-13 07:30:03 +00:00
Automerger Merge Worker d95f7cf789 Merge "Disable PGO profile use in Clang-based coverage builds" am: 64a075c789 am: 6a22b910e5
Change-Id: I0633a24e0d1cf010e47e98e6c4b2e6ee537c3de4
2020-02-13 07:13:26 +00:00
Automerger Merge Worker 6a22b910e5 Merge "Disable PGO profile use in Clang-based coverage builds" am: 64a075c789
Change-Id: I1a10630ef67e457b0539b519e829aab7f95bc924
2020-02-13 07:02:08 +00:00
Treehugger Robot 64a075c789 Merge "Disable PGO profile use in Clang-based coverage builds" 2020-02-13 06:51:21 +00:00
Automerger Merge Worker 2bd5ffa8d4 Update apex.go to remove libutils am: 9401b187f8 am: 8aac3e3c0d am: 762abb8e1c
Change-Id: Ib964dc1b1dbc1e3c724c6174bc1e36763fe777b4
2020-02-13 06:48:23 +00:00
Automerger Merge Worker 762abb8e1c Update apex.go to remove libutils am: 9401b187f8 am: 8aac3e3c0d
Change-Id: I2bce9615f23b796cf1a3d3ab8facc7f8ea17e483
2020-02-13 06:30:57 +00:00
Automerger Merge Worker 8aac3e3c0d Update apex.go to remove libutils am: 9401b187f8
Change-Id: I72a201f0e0dc78f0d5876ffd2a2cd5e3d2df56d7
2020-02-13 06:20:55 +00:00
Elliott Hughes 632dbb3dc2 Bump our macOS target version to 10.9.
https://developer.apple.com/documentation/xcode/notarizing_macos_software_before_distribution/resolving_common_notarization_issues
says "notarization only works for binaries linked against macOS 10.9
or later".

Test: N/A
Bug: http://b/143105198
Change-Id: If66f81caa2f074bf70a75094da578295aa9f58ad
2020-02-12 18:31:35 -08:00
Jeffrey Huang 9401b187f8 Update apex.go to remove libutils
Bug: 145922701
Test: m -j
Change-Id: I13078f43129a7a9478b9bb97bb94c2c70fdb148c
2020-02-12 17:35:59 -08:00
Pirama Arumuga Nainar 807d49bc43 Disable PGO profile use in Clang-based coverage builds
Bug: http://b/143977934

Clang errors that -fprofile-use and -fprofile-instr-generate are
incompatible.

Test: m CLANG_COVERAGE=true COVERAGE_PATHS="*" on cf_x86_phone target
Change-Id: I584b615639fcef86668b7fa34b7511b4820d9548
2020-02-12 15:12:07 -08:00
Chih-Hung Hsieh 9d9555e348 Switch from clang-r370808b to clang-r377782
Allow new clang compiler warnings until they are
fixed or suppressed in all branches.

Bug: 145916209
Test: make checkbuild
Change-Id: Ic873b8d705dacd0d92f9031b3960e01283090363
2020-02-12 21:50:07 +00:00
Automerger Merge Worker 99778c24b7 Merge "Improve documentation of the enabled property" am: 6a20b179d2 am: cf6fc983ae am: ebe93731a5
Change-Id: I8094f98cc4fb877e775d97c1e86d64368aef1372
2020-02-12 21:35:00 +00:00
Automerger Merge Worker 64e5871e0a Merge "Update the doc about apex_available" am: 6eb0da1530 am: 0c8e8c2cf3 am: bfe4d03d6e
Change-Id: Id611019e938cdc99858e4d1ba041a23539f0dd48
2020-02-12 21:34:48 +00:00
Automerger Merge Worker ebe93731a5 Merge "Improve documentation of the enabled property" am: 6a20b179d2 am: cf6fc983ae
Change-Id: I1a0b0ea7670a4080ab7f58a2da403ab827ea09f9
2020-02-12 21:20:34 +00:00
Automerger Merge Worker bfe4d03d6e Merge "Update the doc about apex_available" am: 6eb0da1530 am: 0c8e8c2cf3
Change-Id: Ia7da971b82d148f349816229e88e8fe64e9c9da8
2020-02-12 21:20:16 +00:00
Automerger Merge Worker cf6fc983ae Merge "Improve documentation of the enabled property" am: 6a20b179d2
Change-Id: Id6065ec725fd9bbb9c5e4204264fa2c2e8b640e0
2020-02-12 21:12:16 +00:00
Treehugger Robot 6a20b179d2 Merge "Improve documentation of the enabled property" 2020-02-12 21:08:32 +00:00
Automerger Merge Worker 0c8e8c2cf3 Merge "Update the doc about apex_available" am: 6eb0da1530
Change-Id: I061fad849d672ef1f175c58dfc202378ff019581
2020-02-12 21:06:49 +00:00
Treehugger Robot 6eb0da1530 Merge "Update the doc about apex_available" 2020-02-12 20:58:24 +00:00
Jiyong Park 9a1e14ef6c Update the doc about apex_available
The default has changed.

Exempt-From-Owner-Approval: documentation change

Bug: 128708192
Bug: 149393721
Test: n/a
Change-Id: I91f36fc1fb5f2302deac8ee23bb847077b1281c9
2020-02-12 20:58:08 +00:00
David Zeuthen b71fe84c64 Port IdentityCredential HAL to AIDL.
Bug: 111446262
Test: atest android.security.identity.cts
Test: VtsHalIdentityTargetTest
Test: android.hardware.identity-support-lib-test
Change-Id: Ibd5403f52e2d59237e77757c3f334c13b26f3d9d
2020-02-12 10:05:03 -05:00
Paul Duffin 54d9bb70d0 Improve documentation of the enabled property
Makes it clear that disabling a module is something that should be
avoided if possible.

Test: m soong_docs
Change-Id: Ief11e705f049edfd53b2af66bdf753f24d32aa71
2020-02-12 10:28:40 +00:00
Automerger Merge Worker 8014e606dd Merge "Update apex dependency even for test and non-installable APEXes" am: 4e29184a4e am: ee239878f4 am: 088d5cf1cb
Change-Id: I68fe4bcf81ccc2cd9b16857c59cc1d484a006547
2020-02-12 08:11:23 +00:00
Jiyong Park f760cae41b apexDepsMutator is a top-down mutator
apex { name: ["myapex"], native_shared_libs: ["libX", "libY"] }
cc_library { name: "libX", shared_libs: ["libY"] }
cc_library { name: "libY", shared_libs: ["libZ"], stubs: {...} }

apexDepsMutator was a bottom up mutator and it uses WalkDeps to traverse
the dependency tree rooted at myapex in a depth-first order. While
traversing the tree, if calls BuildForApex for a module that will be
part of the APEX.

libY is visited twice. Once via libX and once via myapex. If the visit
from libX was before the visit from myapex (since this is a depth-first
traversing), BuildForApex is not called for libY and its dependency
libZ, because libY provides a stub. And then when libY is again visited
via myapex, BuildForApex is correctly called for the module, but not for
its dependencies libZ because the paths from libY to libZ was already
visited.

As a result, the apex variant of libY has a dependency to the non-apex
variant of libZ.

Fixing the problem by changing the mutator a top-down one.

Bug: 148645937
Test: m
Change-Id: Ib2cb28852087c63a568b3fd036504e9261cf0782
2020-02-12 17:01:26 +09:00
Automerger Merge Worker 088d5cf1cb Merge "Update apex dependency even for test and non-installable APEXes" am: 4e29184a4e am: ee239878f4
Change-Id: I75c595eec3cb3ed0e34feef8748955b7728bfb00
2020-02-12 08:01:15 +00:00
Automerger Merge Worker ee239878f4 Merge "Update apex dependency even for test and non-installable APEXes" am: 4e29184a4e
Change-Id: I6c61b9a816c98bc878a394c612fc99d26acbb612
2020-02-12 07:52:58 +00:00
Treehugger Robot 4e29184a4e Merge "Update apex dependency even for test and non-installable APEXes" 2020-02-12 07:45:47 +00:00
Automerger Merge Worker cbc961dfa6 Merge "Automatically set compile_dex:true and hostdex:true for APEX variants" am: 6655756230 am: 8a7f0e94c1 am: 7ce676e2a3
Change-Id: I981f5fc7e5b044ceb61b8aed357a7724eacb0b91
2020-02-12 06:20:09 +00:00
Automerger Merge Worker 7ce676e2a3 Merge "Automatically set compile_dex:true and hostdex:true for APEX variants" am: 6655756230 am: 8a7f0e94c1
Change-Id: Id99efe15e0a90b22a01748091f2de0bdb6704faa
2020-02-12 05:59:18 +00:00
Automerger Merge Worker 8a7f0e94c1 Merge "Automatically set compile_dex:true and hostdex:true for APEX variants" am: 6655756230
Change-Id: Ic54a14c775d39486930bc356f84c2bd6073d9f0c
2020-02-12 05:49:14 +00:00
Treehugger Robot 6655756230 Merge "Automatically set compile_dex:true and hostdex:true for APEX variants" 2020-02-12 05:35:25 +00:00
Automerger Merge Worker 1d2668efdc Merge "java_sdk_library - replace .docs suffix with .stubs.source" am: 19d84a0f3e am: 233c3d4978 am: cdf68cd043
Change-Id: I5fcdd661069f0b9a1dcf3b00a323d7b626b36217
2020-02-12 03:13:24 +00:00
Automerger Merge Worker cdf68cd043 Merge "java_sdk_library - replace .docs suffix with .stubs.source" am: 19d84a0f3e am: 233c3d4978
Change-Id: I181a8336d7fa0ed861c251e82464e9d398c8a8f1
2020-02-12 02:58:53 +00:00
Automerger Merge Worker 233c3d4978 Merge "java_sdk_library - replace .docs suffix with .stubs.source" am: 19d84a0f3e
Change-Id: Ifdc36ce678d34a73cd88ac89d31b39f74ed33de3
2020-02-12 02:43:27 +00:00
Treehugger Robot 19d84a0f3e Merge "java_sdk_library - replace .docs suffix with .stubs.source" 2020-02-12 02:29:35 +00:00
Jiyong Park 6b21c7d2ab Automatically set compile_dex:true and hostdex:true for APEX variants
... unless they are turned off explicitly.

Bug: 147221965
Test: m
Change-Id: I6b91d6409d9cf06ad09467c53d5d51a9c693256e
2020-02-12 10:47:36 +09:00
Automerger Merge Worker db7d85cc51 Merge "<apex_name>-deps-info correctly tracks dependencies" am: 2bb26d3fad am: 39b51a899f am: 5a14677e31
Change-Id: I54d0ececcb8e0a6c92ce13666f922a42cc80efbd
2020-02-12 01:18:44 +00:00
Automerger Merge Worker 5c0a781fcc Merge "m <module_name> builds <module_name>.<apex_name>" am: 45f3c9b6a6 am: 00f3bf9e7e am: 17fa9d67a6
Change-Id: Ie24791b843ab3e0c86a620c7bd8351fc9ab72bb5
2020-02-12 01:18:14 +00:00
Automerger Merge Worker 5a14677e31 Merge "<apex_name>-deps-info correctly tracks dependencies" am: 2bb26d3fad am: 39b51a899f
Change-Id: I9a528c53d8f0caec39e529e69a9290a1081d249c
2020-02-12 01:03:39 +00:00
Automerger Merge Worker 17fa9d67a6 Merge "m <module_name> builds <module_name>.<apex_name>" am: 45f3c9b6a6 am: 00f3bf9e7e
Change-Id: I5c499092b6bffcbbc65bf4ca549446107b982f07
2020-02-12 01:03:09 +00:00
Automerger Merge Worker 39b51a899f Merge "<apex_name>-deps-info correctly tracks dependencies" am: 2bb26d3fad
Change-Id: Ibc9b5c619373c1698fa1cb90129d5da45bb5407b
2020-02-12 00:49:07 +00:00
Automerger Merge Worker 00f3bf9e7e Merge "m <module_name> builds <module_name>.<apex_name>" am: 45f3c9b6a6
Change-Id: I30659368e9eb37d83e2f1ad45b43f3bd3c2d50f7
2020-02-12 00:48:42 +00:00
Jiyong Park 2bb26d3fad Merge "<apex_name>-deps-info correctly tracks dependencies" 2020-02-12 00:47:21 +00:00