Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e80262a1 authored by Jingwen Chen's avatar Jingwen Chen Committed by Anton Hansson
Browse files

Fix droiddoc disting when WITHOUT_CHECK_API is true.



When WITHOUT_CHECK_API=true, the droidstubs apiFile can be nil. Fix this
by defensively checking for nil paths when making the TaggedDistFiles,
and also in android.MakeDefaultDistFiles.

The error message reported in r.android.com/1335521 was:

"internal error: panic in GenerateBuildActions for singleton androidmk
  Dist file should not be nil for the default tag in
  android.net.ipsec.ike.stubs.source in translateAndroidMkModule for
  module android.net.ipsec.ike.stubs.source variant android_common"

Test: WITHOUT_CHECK_API=true m droid dist

Bug: 152834186
Signed-off-by: default avatarJingwen Chen <jingwen@google.com>
Exempt-From-Owner-Approval: cherry-pick from master
Change-Id: I1b1f7c0b7a0e1c0ed5e15957d0162c47fd3ec197
Merged-In: I1b1f7c0b7a0e1c0ed5e15957d0162c47fd3ec197
(cherry picked from commit 7b27ca7d)
parent 06c3b418
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment