blob: c25e0d639abc675539a3e0f2f4be4a42f01b2902 [file] [log] [blame]
The Android Open Source Project88b60792009-03-03 19:28:42 -08001# Copyright (C) 2008 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
Doug Zongker02d444b2009-05-27 18:24:03 -070015ifneq ($(TARGET_SIMULATOR),true)
16
The Android Open Source Project88b60792009-03-03 19:28:42 -080017LOCAL_PATH := $(call my-dir)
18include $(CLEAR_VARS)
19
Doug Zongker02d444b2009-05-27 18:24:03 -070020LOCAL_SRC_FILES := applypatch.c bsdiff.c freecache.c imgpatch.c
The Android Open Source Project88b60792009-03-03 19:28:42 -080021LOCAL_MODULE := applypatch
22LOCAL_FORCE_STATIC_EXECUTABLE := true
23LOCAL_MODULE_TAGS := eng
Doug Zongkerf6a8bad2009-05-29 11:41:21 -070024LOCAL_C_INCLUDES += external/bzip2 external/zlib bootable/recovery
25LOCAL_STATIC_LIBRARIES += libmtdutils libmincrypt libbz libz libc
The Android Open Source Project88b60792009-03-03 19:28:42 -080026
27include $(BUILD_EXECUTABLE)
28
Doug Zongker02d444b2009-05-27 18:24:03 -070029include $(CLEAR_VARS)
30
31LOCAL_SRC_FILES := imgdiff.c
32LOCAL_MODULE := imgdiff
33LOCAL_FORCE_STATIC_EXECUTABLE := true
34LOCAL_MODULE_TAGS := eng
35LOCAL_C_INCLUDES += external/zlib
36LOCAL_STATIC_LIBRARIES += libz
37
38include $(BUILD_HOST_EXECUTABLE)
39
The Android Open Source Project88b60792009-03-03 19:28:42 -080040endif # !TARGET_SIMULATOR