From cc3588afcb4e9fa2104a62da47c4c023828c8bcd Mon Sep 17 00:00:00 2001 From: Jooyung Han Date: Thu, 16 Apr 2020 18:48:33 +0900 Subject: [PATCH] stats: Set min_sdk_version Modules contributing mainline modules (APK/APEX) should set min_sdk_version as well as apex_available. For now setting min_sdk_version doesn't change build outputs. But build-time checks will be added soon. Bug: 152655956 Test: m Change-Id: Icd184c6fe06a688bd79ef6514bb49dffb706a9a1 --- libstats/push_compat/Android.bp | 1 + libstats/socket/Android.bp | 1 + 2 files changed, 2 insertions(+) diff --git a/libstats/push_compat/Android.bp b/libstats/push_compat/Android.bp index caea04857..cbc65ff1c 100644 --- a/libstats/push_compat/Android.bp +++ b/libstats/push_compat/Android.bp @@ -48,6 +48,7 @@ cc_library { export_include_dirs: ["include"], static_libs: ["libgtest_prod"], apex_available: ["com.android.resolv"], + min_sdk_version: "29", } cc_test { diff --git a/libstats/socket/Android.bp b/libstats/socket/Android.bp index 690dc941c..6882ab28b 100644 --- a/libstats/socket/Android.bp +++ b/libstats/socket/Android.bp @@ -55,6 +55,7 @@ cc_library_headers { export_include_dirs: ["include"], host_supported: true, apex_available: ["com.android.resolv"], + min_sdk_version: "29", } cc_benchmark {