Use proto for disk usage. Bug: 79932027 Test: Ran through the following scenarios- - RebootActivity parses previous boot parameters; sets next as expected. - Push old parameters to device and ensured bootanimations reads it and saves new format (serialized proto) that can be read in userspace (RebootActivity). - Unit tests pass. Change-Id: I98aefb7a832c985d5061ee80ab85a4523f067641
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# Copyright (C) 2018 The Android Open Source Project
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
ifeq ($(PRODUCT_IOT),true)
|
|
|
|
# libbootanimation_iot_test
|
|
# ===========================================================
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := libbootanimation_iot_test
|
|
LOCAL_CFLAGS := -Wall -Werror -Wunused -Wunreachable-code
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libandroidthings \
|
|
libandroidthings_protos \
|
|
libbase \
|
|
libchrome \
|
|
liblog \
|
|
libprotobuf-cpp-lite \
|
|
|
|
LOCAL_STATIC_LIBRARIES += \
|
|
libjsoncpp
|
|
|
|
LOCAL_SRC_FILES := \
|
|
BootParameters.cpp \
|
|
BootParameters_test.cpp \
|
|
|
|
include $(BUILD_NATIVE_TEST)
|
|
|
|
endif # PRODUCT_IOT
|