Skip to content
Snippets Groups Projects
Commit 3b9ba6ac authored by Patrick Rohr's avatar Patrick Rohr
Browse files

cronet: add defaults to enable / disable Cronet in framework-tethering

A similar option already exists in
packages/modules/Connectivity/Cronet/apex/Android.bp. This is in
preparation of adding cronet to framework-tethering. It is possible that
we only end up using one of the variables but better safe than sorry.

This change will be blocked by the blocked automerger into
tm-mainline-prod. If this continues to be a problem, we might have to
play some tricks with automerger.

Test: TH
Change-Id: I40ba22aba041ec12ec2bf2881df14e6c0ee53b44
parent 9a90448a
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,18 @@ package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
// TODO: This is currently not used, but is being merged early, so Cronet can be disabled in
// tm-mainline-prod.
// Both cronet_java_defaults and cronet_java_prejarjar_defaults can be used to
// specify a java_defaults target that either enables or disables Cronet. This
// is used to disable Cronet on tm-mainline-prod.
// Note: they must either both be enabled or disabled.
cronet_java_defaults = "CronetJavaDefaultsDisabled"
cronet_java_prejarjar_defaults = "CronetJavaPrejarjarDefaultsDisabled"
// This is a placeholder comment to avoid merge conflicts
// as cronet_defaults may have different values
// depending on the branch
java_sdk_library {
name: "framework-tethering",
defaults: ["framework-module-defaults"],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment