blob: 3613799716523c4dd5ef6bca3471272d6057e424 [file] [log] [blame]
Doug Zongker76adfc52014-01-13 10:04:25 -08001# Copyright (C) 2014 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15LOCAL_PATH := $(call my-dir)
16
17include $(CLEAR_VARS)
Yabin Cuia58a6db2016-04-06 15:52:18 -070018LOCAL_CLANG := true
19LOCAL_SRC_FILES := bootloader_message_writer.cpp
20LOCAL_MODULE := libbootloader_message_writer
21LOCAL_STATIC_LIBRARIES := libbase libfs_mgr
Tianjie Xu7aa88742016-09-28 11:42:17 -070022LOCAL_CFLAGS := -Werror
Yabin Cuia58a6db2016-04-06 15:52:18 -070023LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
24LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
Tianjie Xu7aa88742016-09-28 11:42:17 -070025
Yabin Cuia58a6db2016-04-06 15:52:18 -070026include $(BUILD_STATIC_LIBRARY)
27
28include $(CLEAR_VARS)
Doug Zongker76adfc52014-01-13 10:04:25 -080029
Tao Bao80e46e02015-06-03 10:49:29 -070030LOCAL_CLANG := true
Tao Bao381f4552015-05-05 18:36:45 -070031LOCAL_SRC_FILES := uncrypt.cpp
Tao Baoc7547922015-08-06 18:35:05 -070032LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
Doug Zongker76adfc52014-01-13 10:04:25 -080033LOCAL_MODULE := uncrypt
Tianjie Xu7aa88742016-09-28 11:42:17 -070034LOCAL_STATIC_LIBRARIES := libbootloader_message_writer \
35 libbase \
36 liblog \
37 libfs_mgr \
38 libcutils
39LOCAL_CFLAGS := -Werror
Tom Cherrydaa6d042015-09-03 16:32:39 -070040LOCAL_INIT_RC := uncrypt.rc
41
Doug Zongker76adfc52014-01-13 10:04:25 -080042include $(BUILD_EXECUTABLE)