• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright 2016 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17LOCAL_PATH := $(call my-dir)
18
19include $(CLEAR_VARS)
20LOCAL_SRC_FILES := gpt-utils.cpp
21ifeq ($(TARGET_COMPILE_WITH_MSM_KERNEL),true)
22LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
23LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
24endif
25LOCAL_SHARED_LIBRARIES := liblog libz
26LOCAL_MODULE := libgptutils
27LOCAL_MODULE_OWNER := qti
28include $(BUILD_STATIC_LIBRARY)
29
30include $(CLEAR_VARS)
31LOCAL_SRC_FILES := gpt-utils.cpp
32ifeq ($(TARGET_COMPILE_WITH_MSM_KERNEL),true)
33LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
34LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
35endif
36LOCAL_SHARED_LIBRARIES += liblog libcutils libz
37LOCAL_EXPORT_HEADER_LIBRARY_HEADERS := libgptutils_headers
38LOCAL_MODULE := libgptutils
39LOCAL_MODULE_OWNER := qti
40LOCAL_PROPRIETARY_MODULE := true
41include $(BUILD_SHARED_LIBRARY)
42
43include $(CLEAR_VARS)
44LOCAL_MODULE := libgptutils_headers
45LOCAL_EXPORT_C_INCLUDE_DIRS:=$(LOCAL_PATH)
46include $(BUILD_HEADER_LIBRARY)
47