Move rangeset.h and print_sha1.h into otautil.
Also drop the "bootable/recovery" path in LOCAL_C_INCLUDES from
applypatch modules.
Test: lunch aosp_{angler,bullhead,fugu,dragon,sailfish}-userdebug;
mmma bootable/recovery
Change-Id: Idd602a796894f971ee4f8fa3eafe36c42d9de986
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "rangeset.h"
|
||||
#include "otautil/rangeset.h"
|
||||
|
||||
TEST(RangeSetTest, Parse_smoke) {
|
||||
RangeSet rs = RangeSet::Parse("2,1,10");
|
||||
@@ -156,4 +156,4 @@ TEST(SortedRangeSetTest, file_range) {
|
||||
ASSERT_EQ(static_cast<size_t>(40970), rs.GetOffsetInRangeSet(4096 * 16 + 10));
|
||||
// block#10 not in range.
|
||||
ASSERT_EXIT(rs.GetOffsetInRangeSet(40970), ::testing::KilledBySignal(SIGABRT), "");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user