From 4892bbf8d214013026d1ff7ab50fdafda2e8175d Mon Sep 17 00:00:00 2001 From: Logan Chien Date: Tue, 13 Feb 2018 18:08:53 +0800 Subject: [PATCH] Fix PDK build This commit disables "bootstat" in PDK builds because "bootstat" depends on "libstatslog" (from "frameworks/base") which is not included in PDK builds as well. Test: Build a target (described in http://b/72961456) with `platform.zip` built from master FSK source tree. Bug: 72961456 Change-Id: I06b1555694510e17ea82d5c6dfcdeaf99b905e4d --- bootstat/Android.bp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bootstat/Android.bp b/bootstat/Android.bp index 2c870182c..dd9ba88c2 100644 --- a/bootstat/Android.bp +++ b/bootstat/Android.bp @@ -66,6 +66,9 @@ cc_binary { shared_libs: ["liblogcat"], init_rc: ["bootstat.rc"], product_variables: { + pdk: { + enabled: false, + }, debuggable: { init_rc: ["bootstat-debug.rc"], },