blob: 56c3b4ccc034d49476d847b5362f25754bb911d7 [file] [log] [blame]
Doug Zongker76adfc52014-01-13 10:04:25 -08001# Copyright (C) 2014 The Android Open Source Project
Hristo Bojinovdb314d62010-08-02 10:29:49 -07002#
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)
Doug Zongker76adfc52014-01-13 10:04:25 -080016
Hristo Bojinovdb314d62010-08-02 10:29:49 -070017include $(CLEAR_VARS)
Doug Zongker76adfc52014-01-13 10:04:25 -080018
Tao Bao80e46e02015-06-03 10:49:29 -070019LOCAL_CLANG := true
Hristo Bojinovdb314d62010-08-02 10:29:49 -070020
Matt Mower55c75ca2014-08-31 11:30:15 -050021LOCAL_C_INCLUDES += $(commands_recovery_local_path)
Hristo Bojinovdb314d62010-08-02 10:29:49 -070022
Ethan Yonkerc798c9c2015-10-09 11:15:26 -050023LOCAL_SRC_FILES := uncrypt.cpp
Ethan Yonker75bf0412014-11-21 13:54:27 -060024LOCAL_MODULE_TAGS := optional
Doug Zongker76adfc52014-01-13 10:04:25 -080025
Tao Baoc7547922015-08-06 18:35:05 -070026LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
Doug Zongker76adfc52014-01-13 10:04:25 -080027LOCAL_MODULE := uncrypt
Yabin Cui8b309f62016-06-24 18:22:02 -070028LOCAL_STATIC_LIBRARIES := \
29 libbootloader_message \
30 libbase \
31 liblog \
32 libfs_mgr \
33 libcutils
Tianjie Xu7aa88742016-09-28 11:42:17 -070034LOCAL_CFLAGS := -Werror
Tom Cherrydaa6d042015-09-03 16:32:39 -070035LOCAL_INIT_RC := uncrypt.rc
Hristo Bojinovdb314d62010-08-02 10:29:49 -070036
Doug Zongker76adfc52014-01-13 10:04:25 -080037include $(BUILD_EXECUTABLE)