1ae242929da80d88a7db223984ec9baa5fd5949e6Andres Morales# 2ae242929da80d88a7db223984ec9baa5fd5949e6Andres Morales# Copyright (C) 2015 The Android Open Source Project 3ae242929da80d88a7db223984ec9baa5fd5949e6Andres Morales# 4ae242929da80d88a7db223984ec9baa5fd5949e6Andres Morales# Licensed under the Apache License, Version 2.0 (the "License"); 5ae242929da80d88a7db223984ec9baa5fd5949e6Andres Morales# you may not use this file except in compliance with the License. 6ae242929da80d88a7db223984ec9baa5fd5949e6Andres Morales# You may obtain a copy of the License at 7ae242929da80d88a7db223984ec9baa5fd5949e6Andres Morales# 8ae242929da80d88a7db223984ec9baa5fd5949e6Andres Morales# http://www.apache.org/licenses/LICENSE-2.0 9ae242929da80d88a7db223984ec9baa5fd5949e6Andres Morales# 10ae242929da80d88a7db223984ec9baa5fd5949e6Andres Morales# Unless required by applicable law or agreed to in writing, software 11ae242929da80d88a7db223984ec9baa5fd5949e6Andres Morales# distributed under the License is distributed on an "AS IS" BASIS, 12ae242929da80d88a7db223984ec9baa5fd5949e6Andres Morales# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13ae242929da80d88a7db223984ec9baa5fd5949e6Andres Morales# See the License for the specific language governing permissions and 14ae242929da80d88a7db223984ec9baa5fd5949e6Andres Morales# limitations under the License. 15ae242929da80d88a7db223984ec9baa5fd5949e6Andres Morales# 16ae242929da80d88a7db223984ec9baa5fd5949e6Andres Morales 17ae242929da80d88a7db223984ec9baa5fd5949e6Andres MoralesLOCAL_PATH:= $(call my-dir) 18ae242929da80d88a7db223984ec9baa5fd5949e6Andres Morales 19ae242929da80d88a7db223984ec9baa5fd5949e6Andres Moralesinclude $(CLEAR_VARS) 20ae242929da80d88a7db223984ec9baa5fd5949e6Andres MoralesLOCAL_MODULE := gatekeeperd-unit-tests 21ae242929da80d88a7db223984ec9baa5fd5949e6Andres MoralesLOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk 22ae242929da80d88a7db223984ec9baa5fd5949e6Andres MoralesLOCAL_CFLAGS += -g -Wall -Werror -std=gnu++11 -Wno-missing-field-initializers 233439f41abffaa117469f9fe4023d65fc1b6d01e4Andres MoralesLOCAL_SHARED_LIBRARIES := libgatekeeper libcrypto libbase 24ae242929da80d88a7db223984ec9baa5fd5949e6Andres MoralesLOCAL_STATIC_LIBRARIES := libscrypt_static 25ae242929da80d88a7db223984ec9baa5fd5949e6Andres MoralesLOCAL_C_INCLUDES := external/scrypt/lib/crypto 26ae242929da80d88a7db223984ec9baa5fd5949e6Andres MoralesLOCAL_SRC_FILES := \ 27ae242929da80d88a7db223984ec9baa5fd5949e6Andres Morales gatekeeper_test.cpp 28ae242929da80d88a7db223984ec9baa5fd5949e6Andres Moralesinclude $(BUILD_NATIVE_TEST) 29ae242929da80d88a7db223984ec9baa5fd5949e6Andres Morales 30