Commit Graph

261 Commits

Author SHA1 Message Date
Ken Chen
5e4cb017f1 Make netd_aidl_interface-V7-java available for connectivity
netd_aidl_interface-V7-java provides new API that referenced by
ConnectivityService.

Bug: 182460808
Test: m
Original-Change: https://android-review.googlesource.com/1746715
Merged-In: I72b70e586fa1e1f7587f70ed1578510163787526
Change-Id: I72b70e586fa1e1f7587f70ed1578510163787526
2021-07-01 10:13:52 +00:00
Ken Chen
d3a7ac7adb Merge "Make netd_aidl_interface-V7-java available for connectivity" am: 185dbd0a0f am: 5c6ec876f0
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/1746715

Change-Id: Ibbe91dfe152a9c62e08eacf79ba0d1b5800d00d3
2021-07-01 08:25:54 +00:00
Luke Huang
13d522411b Add base64 module deps for DnsResolver Rust DoH
Test: TH
Bug: 155855709
Change-Id: I61b0afb065e3bb394e1c8dea4c375f572d4522ed
2021-07-01 15:30:17 +08:00
Chen Xu
da3a3f122a apply settings new widget lib for the main feature switch
Bug: 183574149
Test: Manual test
Ignore-AOSP-First: Need cherry-pick
Change-Id: Icadb0daa3962b072c35e90e4ab4d44b03d9d86ed
2021-06-29 22:01:25 +00:00
Ken Chen
a786b6c331 Make netd_aidl_interface-V7-java available for connectivity
netd_aidl_interface-V7-java provides new API that referenced by
ConnectivityService.

Bug: 182460808
Test: m
Change-Id: I72b70e586fa1e1f7587f70ed1578510163787526
2021-06-25 01:44:31 +08:00
Luke Huang
2c3c2c5c7e Merge "Add module deps for DnsResolver Rust DoH" am: a13f9cb518 am: 754b915445
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/1729138

Change-Id: I6965ff2204d873f71b0878d97368d5559b3abfd4
2021-06-24 15:37:40 +00:00
Luke Huang
a13f9cb518 Merge "Add module deps for DnsResolver Rust DoH" 2021-06-24 15:10:52 +00:00
Abhijeet Kaur
878e0758a8 Update minSdkVersion check for glide_prebuilt am: e23abcb65d am: a18d860259
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/1744295

Change-Id: Ic4bbb7394a29114e2d251cfa4ed60a178b699cba
2021-06-23 15:22:46 +00:00
Abhijeet Kaur
e23abcb65d Update minSdkVersion check for glide_prebuilt
Bug: 185801129
Test: build
Change-Id: If66e7ad13151fa1ae82773473a7734f9e12aad81
2021-06-23 13:48:37 +01:00
Sahana Rao
249fe4c5fa Add Glide to allowed_deps am: 6bd30073a5 am: 098d7d17b0
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/1705826

Change-Id: Iabcd35b6711b3107beb22d453824651a1d91a3c3
2021-06-22 18:24:18 +00:00
Luke Huang
6cb2d4c442 Add module deps for DnsResolver Rust DoH
Test: TH
Bug: 155855709
Change-Id: Id90b62e9ac72311da69a99bb9aa4fe08664dfa5f
2021-06-22 22:21:42 +08:00
Sahana Rao
6bd30073a5 Add Glide to allowed_deps
> How big is the binary size increase for affected APEXes?
8192 bytes

> Is the new dependency committed to support previous platform releases?
> note that you have to support all the releases starting from the
> minSdkVersion value you are declaring
Yes

> Is the new dependency being developed AOSP-first or internal?
Glide dependency is AOSP-first, using the dependency to develop an
internal project.

> What’s the testing strategy for the new dependency? Does it have its
> own tests, and are you adding integration tests?
We will be adding integration and manual tests for the image loading
experience.

Bug: 185801129
Test: Build
Change-Id: Icebf6363a0a2b1a8811cad909d4b3274638c7021
2021-06-21 16:16:33 +00:00
Remi NGUYEN VAN
3577accc80 Merge "Update allowed_deps for bumped NetworkStack" into sc-dev am: 55a776e5f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/common/+/14909660

Change-Id: I13428a24df1ff2e65f0a3ce954bca50e2ce9dcec
2021-06-10 14:03:59 +00:00
Remi NGUYEN VAN
9a7a45dadb Update allowed_deps for bumped NetworkStack
Add NetworkStackApi32Shims to allowed_deps for NetworkStack.
As documented on the build rule "API 32" is not technically correct and
should be "in-progress API", but that naming has always avoided renames
at SDK finalization time.

The new target is used in development NetworkStack builds that are not
pushed to released devices (NetworkStackNext) to allow it to use
non-finalized APIs.

Bug: 189581241
Test: m
Merged-In: Ie274b4a1ea66bbbe26c7d7a78c90a19a746ea84e
Change-Id: Ie274b4a1ea66bbbe26c7d7a78c90a19a746ea84e
2021-06-10 13:45:52 +00:00
Remi NGUYEN VAN
579632f9c0 Update allowed_deps for bumped NetworkStack
Add NetworkStackApi32Shims to allowed_deps for NetworkStack.
As documented on the build rule "API 32" is not technically correct and
should be "in-progress API", but that naming has always avoided renames
at SDK finalization time.

The new target is used in development NetworkStack builds that are not
pushed to released devices (NetworkStackNext) to allow it to use
non-finalized APIs.

Ignore-AOSP-First: cherry-pick prepared separately
Bug: 189581241
Test: m
Change-Id: Ie274b4a1ea66bbbe26c7d7a78c90a19a746ea84e
2021-06-10 13:44:24 +00:00
Sorin Basca
d51c778e48 Merge "Allow libtinyxml2 on Android from S" am: 5eaf59e5cc am: fe414d2a58
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/1719625

Change-Id: Idb2b1184e460720e8fea3b5b8e4c12413768f9e0
2021-06-07 08:34:18 +00:00
Sorin Basca
5eaf59e5cc Merge "Allow libtinyxml2 on Android from S" 2021-06-07 08:01:14 +00:00
Yabin Huang
13ca8d7673 Merge "Add car-rotary-lib to allowed dependencies list" into sc-dev am: 872d67e095
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/common/+/14810212

Change-Id: I7bd555ec213d8767dec10447fbd7e2340c5713df
2021-06-04 17:41:51 +00:00
Chang Li
b2d3c1fad9 Allowlist dependencies for ExtServices.
Those dependencies have already been allowlisted in sc-mainline-prod in
ag/13663075.

Bug: 180441353
Change-Id: Id8e04de2432f6415ca6c139df53be78c6fc437d6
2021-06-03 22:30:43 +01:00
Yabin Huang
ff68d0b0b9 Add car-rotary-lib to allowed dependencies list
The new library is extracted from the existing car-ui-lib. It contains
rotary specific code, which is already used by apps supporting rotary.

> How big is the binary size increase for affected APEXes?
It doesn't increase the size. In fact, it reduces the size if an app
wants to support rotary but doesn't want to use the whole car-ui-lib.

> Is the new dependency committed to support previous platform releases?
Yes.

> Is the new dependency being developed AOSP-first or internal?
AOSP-first.

> What’s the testing strategy for the new dependency?
> Does it have its own tests, and are you adding integration tests?
It has its own tests, such as FocusParkingViewTest.

Bug: 188915160
Test: make
Change-Id: Ie7b10416f845c35a19309c5091a394d65c0efe40
2021-06-03 18:30:58 +00:00
Muhammad Qureshi
6e7a3dacda Merge "Add libkll to allowed_deps" 2021-06-02 20:05:16 +00:00
Chang Li
5787152105 Allow auto value annotations to be used for updatable modules.
Bug: 180441353
Change-Id: I45fc3b8120a4c25e4ec4724ea41ba5ff0ffec9e5
2021-06-02 16:55:22 +01:00
Muhammad Qureshi
80f7ccc6fc Add libkll to allowed_deps
Add libkll dependency to statsd.

Note: libkll itself lives inside statsd apex and is also updatable along
with statsd.

> How big is the binary size increase for affected APEXes?
+120 KB

> Is the new dependency committed to support previous platform releases?
> note that you have to support all the releases starting from the
> minSdkVersion value you are declaring
Yes, dependency is present in the statsd apex.

> Is the new dependency being developed AOSP-first or internal?
AOSP-first.

> What’s the testing strategy for the new dependency? Does it have its own
> tests, and are you adding integration tests?
Dependency has its own tests and integration tests with statsd being
added as well in follow-up CLs.

Bug: 185569933
Bug: 179823717
Test: m
Change-Id: Ib826354cd8882632ea6ab297e5fdb81bfbaf8519
2021-06-01 21:30:49 -07:00
Sorin Basca
78cbed57ae Allow libtinyxml2 on Android from S
We can reduce the size of some binaries in ART by switching from
libxml2 to libtinyxml2. For this to be achieved, the external
libtinyxml2 needs to be made available to the ART components.

Bug: 177209057
Test: m
Change-Id: I29059ad3860a8f91f7734a15ab02bb35137f4654
2021-05-27 12:41:17 +00:00
Peter Collingbourne
35220a6311 Add note_memtag_heap_sync to the list of the allowed deps.
Fixes the build with SANITIZE_TARGET=memtag_heap
SANITIZE_TARGET_DIAG=memtag_heap.

Bug: 135772972
Change-Id: I0b209dbc3577a27f7adc16f347ba940d8db24a80
2021-05-26 18:42:27 -07:00
Orion Hodson
a4d77f5acc Add static variant of libnativehelper_compat_libc++
This allows the libcore native code in the ART Module to link against
the static variant libnativehelper_compat_libc++.

Ignore-AOSP-First: other dependencies need to land in aosp first this

Bug: 188067586
Test: m
Change-Id: I4b039b38d8560827b2acc80ea0157ce21da09150
(cherry picked from commit 3c01a8beff)
2021-05-21 16:06:10 +01:00
Orion Hodson
3c01a8beff Add static variant of libnativehelper_compat_libc++
This allows the libcore native code in the ART Module to link against
the static variant libnativehelper_compat_libc++.

Ignore-AOSP-First: other dependencies need to land in aosp first this

Bug: 188067586
Test: m
Change-Id: I4b039b38d8560827b2acc80ea0157ce21da09150
2021-05-21 07:37:34 +00:00
Ken Chen
bb9ba93a7d Merge "Make netd_aidl_interface-V6-java available for connectivity" 2021-05-13 01:20:39 +00:00
Treehugger Robot
9f1f0d8423 Merge "Add SettingsLib libraries used by PermissionController to allowed_deps." 2021-05-11 11:20:36 +00:00
markchien
ceacecc1b3 Add NetworkStackApi{Current/31}Shims with min_sdk 29 to allowed_deps
They are used for Tethering and NetworkStack module

Bug: 182211575
Test: m

Change-Id: I6d7bcffa337d0c1e50b1883f68999d2ffdf09de8
2021-05-11 16:42:15 +08:00
Hai Zhang
7d435eee9c Add SettingsLib libraries used by PermissionController to allowed_deps.
We need to use these SettingsLib preferences in order to adapt to the
new Settings theme in S+.

The minSdkVersion:21 here is technically incorrect and should be 30
instead. This will be addressed in a future change that fixes it for all
SettingsLib libraries and cleans up the API Lint baseline text files as
well.

Bug: 14490549
Test: presubmit
Change-Id: Id19c89116251ab4e7ce23ec1f80e272d0d8ccb13
2021-05-11 07:38:44 +00:00
Chang Li
4986e116e5 Allowlist TextClassifierNotificationLibNoManifest sdk version 30.
Change-Id: I625b4483f827be0666de7e0860db36ba47bb7b2d
2021-04-29 11:59:06 +01:00
Anton Hansson
cd130663dc Merge changes I9b0590b3,Ia9a6f19c
* changes:
  Add androidx libs with min_sdk 30 to allowed_deps
  Add libunwind_llvm to allowed deps
2021-04-29 08:15:46 +00:00
Anton Hansson
a615f29359 Add androidx libs with min_sdk 30 to allowed_deps
Certain branches do not have the soong patches that fixed the
min_sdk_version of java_import.

Test: m apex-allowed-deps-check
Change-Id: I9b0590b3989a736cc278fea90b3516eeb53e0a2c
(cherry picked from commit 9f262059a1217575367aeee84e5734d587c92abb)
2021-04-28 14:01:43 +01:00
Anton Hansson
87e6b19d8d Add libunwind_llvm to allowed deps
Needed in an internal branch for certain kinds of builds.

Test: m apex-allowed-deps-check
Change-Id: Ia9a6f19c5591feffdc228aea360c504e46d19055
(cherry picked from commit 2b3b590d185768ce1f24bb53f554819fff2d47da)
2021-04-28 13:59:11 +01:00
Colin Cross
5eef775673 Follow rename of libc_headers_arch to libc_llndk_headers
Bug: 170784825
Test: m checkbuild
Change-Id: Idfc5b493eb499f8d80c6c205d6ae7a87c83d3ccc
2021-04-26 17:56:46 -07:00
Ken Chen
606324b626 Make netd_aidl_interface-V6-java available for connectivity
netd_aidl_interface-V6-java provides new API that referenced by
ConnectivityService.

Bug: 182460808
Bug: 171872481
Test: m
Change-Id: Iefd3b8215d9d21afe82fedfad368d4952e0e9019
2021-04-25 16:31:00 +08:00
satayev
9b8f9236a9 Re-generated allow-deps.txt.
This is a merged version of aosp, mainline-prod, and internal versions.

Make sure that the build passes on all three branches. Nothing was
manually removed.

Bug: 185209711
Test: run packages/modules/common/build/update-apex-allowed-deps.sh
Change-Id: Ide5041ac6bf558cf6305f528a74b8d5a83251d82
Merged-In: Ide5041ac6bf558cf6305f528a74b8d5a83251d82
Merged-In: I09d28383d61fa6e08fc6e20b3ce5c7ff77cf56a6
2021-04-23 16:51:02 +00:00
Anton Hansson
784775b56e Merge "Remove service-connectivity from allowed_deps" 2021-04-23 08:35:17 +00:00
Remi NGUYEN VAN
8296b49f17 Remove service-connectivity from allowed_deps
service-connectivity is now APEX-only, so it does not need to be in
allowed_deps.

Bug: 183691942
Test: m
Merged-In: I879d2260c4779f4c88c26fe1c5b6b8a93c159e40
Change-Id: I8de95d8b803146e4e6aee67e83306fbacc808312
2021-04-22 04:41:56 +00:00
Elliott Hughes
74ce74c645 Add libgtest_prod_headers...
...the new name for libgtest_prod (which we'll come back and removed
once we've switched everyone over to the new header_lib).

Bug: http://b/185916167
Test: treehugger
Change-Id: I09e22143f4b2a88754b3c8516c32c79fc74b8a24
2021-04-21 09:22:11 -07:00
Jiyong Park
2138e70045 Fix the min sdk version of the asm prebuilts
The build system now correctly recognizes the min sdk versino of the
prebuilts that don't have the sdk_version property set.

Bug: 185721733
Test: m on cf_x86_phone
Merged-In: Ib5dac532154dbce13630423f7a460f3b96e9af3a
Change-Id: Ib5dac532154dbce13630423f7a460f3b96e9af3a
(cherry picked from commit 29f3a570f2)
2021-04-19 17:47:48 +09:00
Jiyong Park
4424a2cbb8 Fix the min sdk version of the kotlin prebuilts
The build system now correctly recognizes the min sdk versino of the
prebuilts that don't have the sdk_version property set.

Bug: 1663140
Test: m
Change-Id: I4078205a8b08c9dfe1bfb65017d9b1723b59b3da
2021-04-15 19:24:13 +09:00
Jiyong Park
83518ced51 Merge "DO NOT MERGE: min_sdk_version of prebuilts are recorded correctly" 2021-04-14 13:27:05 +00:00
Jiyong Park
6e8c2f2fd7 DO NOT MERGE: min_sdk_version of prebuilts are recorded correctly
This change fixes a bug that min_sdk_versions of android_library_import
are recorded as "(no version)" even when `min_sdk_version` property is
correctly set.

Bug: N/A
Test: m
Merged-In: Ic301f0cb262e1caed0e5f9d9836266a7d320f1b6
Change-Id: Ic301f0cb262e1caed0e5f9d9836266a7d320f1b6
2021-04-13 23:57:30 +00:00
Michael Butler
48b55f6094 Merge "Make libaidlcommonsupport available to apex modules" 2021-04-13 16:29:33 +00:00
Treehugger Robot
99d445f759 Merge "Update allowed_deps for connectivity" 2021-04-12 05:29:03 +00:00
Remi NGUYEN VAN
e6c971fe01 Update allowed_deps for connectivity
All targets were prepared for connectivity modularization, and include
framework-connectivity dependencies, service-connectivity dependencies,
and interfaces with netd and dnsresolver.

Bug: 171540887
Test: m

Merged-In: I879d2260c4779f4c88c26fe1c5b6b8a93c159e40
Merged-In: I0d3771c025d3b3cd5782462fc902f92146384d63
(clean cherry-pick from downstream branch)

Change-Id: I0d3771c025d3b3cd5782462fc902f92146384d63
2021-04-12 09:39:17 +09:00
Cody Kesting
0164a1e20d Update allowed_deps for networkstack-aidl-interfaces.
This CL updates the allowed_deps for networkstack-aidl-interfaces to
match the updated AIDL level.

This CL was auto-generated by running:
packages/modules/common/build/update-apex-allowed-deps.sh

Bug: 162407730
Test: compiles
Change-Id: Ied8d1f206b7885dc48ce81ddd010c21530eebc56
2021-04-08 07:42:05 -07:00
Jiyong Park
f898518ada Partial cherry-pick from internal master
... to avoid merge conflict of changes from aosp/master.

Bug: N/A
Test: m

Merged-In: I879d2260c4779f4c88c26fe1c5b6b8a93c159e40
Change-Id: I08a1911b00076b141aeab9016a29b0200104b308
2021-04-08 13:18:11 +09:00