diff options
author | Steven Moreland <smoreland@google.com> | 2018-02-27 17:58:11 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-02-27 17:58:11 +0000 |
commit | acdbc8688e23b39ff311b4b554be3547a47245a3 (patch) | |
tree | 3ee81bb63dbae3ee5d4f8f56390a4ef77a22092f | |
parent | 6600af950e82a503ef45d097399d59443c52b632 (diff) | |
parent | cec1f3d5d00836c9e7b9bf61aaa664e5305e45ff (diff) | |
download | gatekeeper-acdbc8688e23b39ff311b4b554be3547a47245a3.tar.gz |
gatekeeper-unit-tests: mk -> bp am: 1173d5841c am: b17d73c9d8android-9.0.0_r42android-9.0.0_r41android-9.0.0_r40android-9.0.0_r39android-9.0.0_r38android-9.0.0_r37android-9.0.0_r36android-9.0.0_r35android-9.0.0_r34android-9.0.0_r33android-9.0.0_r32android-9.0.0_r31android-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19android-9.0.0_r16android-9.0.0_r12android-9.0.0_r11pie-qpr3-s1-releasepie-qpr2-releasepie-qpr1-s3-releasepie-qpr1-s2-releasepie-qpr1-s1-releasepie-qpr1-releasepie-dr1-releasepie-dr1-devpie-devpie-b4s4-releasepie-b4s4-dev
am: cec1f3d5d0
Change-Id: I255262d3f99fdf57067105224c074c58738050c2
-rw-r--r-- | tests/Android.bp | 37 | ||||
-rw-r--r-- | tests/Android.mk | 29 |
2 files changed, 37 insertions, 29 deletions
diff --git a/tests/Android.bp b/tests/Android.bp new file mode 100644 index 0000000..2dcfc8b --- /dev/null +++ b/tests/Android.bp @@ -0,0 +1,37 @@ +// +// Copyright (C) 2015 The Android Open Source Project +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// + +cc_test { + name: "gatekeeper-unit-tests", + + cflags: [ + "-g", + "-Wall", + "-Werror", + "-Wno-missing-field-initializers", + ], + + shared_libs: [ + "libgatekeeper", + "libcrypto", + "libhardware", + ], + static_libs: ["libscrypt_static"], + srcs: [ + "gatekeeper_messages_test.cpp", + "gatekeeper_device_test.cpp", + ], +} diff --git a/tests/Android.mk b/tests/Android.mk deleted file mode 100644 index 7fbca99..0000000 --- a/tests/Android.mk +++ /dev/null @@ -1,29 +0,0 @@ -# -# Copyright (C) 2015 The Android Open Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -LOCAL_PATH:= $(call my-dir) - -include $(CLEAR_VARS) -LOCAL_MODULE := gatekeeper-unit-tests -LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk -LOCAL_CFLAGS += -g -Wall -Werror -Wno-missing-field-initializers -LOCAL_SHARED_LIBRARIES := libgatekeeper libcrypto libhardware -LOCAL_STATIC_LIBRARIES := libscrypt_static -LOCAL_C_INCLUDES := external/scrypt/lib/crypto -LOCAL_SRC_FILES := \ - gatekeeper_messages_test.cpp \ - gatekeeper_device_test.cpp -include $(BUILD_NATIVE_TEST) |