diff options
| author | Dan Willemsen <dwillemsen@google.com> | 2018-10-31 10:32:32 -0700 |
|---|---|---|
| committer | Dan Willemsen <dwillemsen@google.com> | 2018-10-31 21:53:37 -0700 |
| commit | 3e963f9df7834f3ca67d9049d5a48a26e680577d (patch) | |
| tree | a47fc61d262d3c2dc823016e79836bb660590638 /libcrypto_utils | |
| parent | 312339167e7b4f702b8747bbcea4d2231b1988b0 (diff) | |
| download | system_core-3e963f9df7834f3ca67d9049d5a48a26e680577d.tar.gz system_core-3e963f9df7834f3ca67d9049d5a48a26e680577d.tar.bz2 system_core-3e963f9df7834f3ca67d9049d5a48a26e680577d.zip | |
Convert more modules to Android.bp
Test: cd system/core; mma
Test: check for mkbootfs in build artifacts
Test: out/host/linux-x86/nativetest64/libcrypto_utils_test/libcrypto_utils_test
Test: out/host/linux-x86/nativetest64/libnativebridge-tests/*_test
Change-Id: I71141bd85f052d5d86763a8b79b219cc4c46aafb
Diffstat (limited to 'libcrypto_utils')
| -rw-r--r-- | libcrypto_utils/tests/Android.bp | 29 | ||||
| -rw-r--r-- | libcrypto_utils/tests/Android.mk | 24 |
2 files changed, 29 insertions, 24 deletions
diff --git a/libcrypto_utils/tests/Android.bp b/libcrypto_utils/tests/Android.bp new file mode 100644 index 000000000..5aadfe203 --- /dev/null +++ b/libcrypto_utils/tests/Android.bp @@ -0,0 +1,29 @@ +// +// Copyright (C) 2016 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_host { + name: "libcrypto_utils_test", + srcs: ["android_pubkey_test.cpp"], + cflags: [ + "-Wall", + "-Werror", + "-Wextra", + ], + shared_libs: [ + "libcrypto_utils", + "libcrypto", + ], +} diff --git a/libcrypto_utils/tests/Android.mk b/libcrypto_utils/tests/Android.mk deleted file mode 100644 index ef3d0cf57..000000000 --- a/libcrypto_utils/tests/Android.mk +++ /dev/null @@ -1,24 +0,0 @@ -# -# Copyright (C) 2016 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 := libcrypto_utils_test -LOCAL_SRC_FILES := android_pubkey_test.cpp -LOCAL_CFLAGS := -Wall -Werror -Wextra -LOCAL_SHARED_LIBRARIES := libcrypto_utils libcrypto -include $(BUILD_HOST_NATIVE_TEST) |
