diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Android.bp | 3 | ||||
-rw-r--r-- | tests/lib/Android.bp | 1 | ||||
-rw-r--r-- | tests/lib/Android.mk | 18 | ||||
-rw-r--r-- | tests/lib/testUtil/Android.bp | 25 | ||||
-rw-r--r-- | tests/lib/testUtil/Android.mk | 27 | ||||
-rw-r--r-- | tests/lib/testUtil/include/testUtil.h (renamed from tests/include/testUtil.h) | 0 |
6 files changed, 29 insertions, 45 deletions
diff --git a/tests/Android.bp b/tests/Android.bp new file mode 100644 index 00000000..1e0d8c8f --- /dev/null +++ b/tests/Android.bp @@ -0,0 +1,3 @@ +subdirs = [ + "lib", +] diff --git a/tests/lib/Android.bp b/tests/lib/Android.bp new file mode 100644 index 00000000..7a8ee5d0 --- /dev/null +++ b/tests/lib/Android.bp @@ -0,0 +1 @@ +subdirs = [ "*" ] diff --git a/tests/lib/Android.mk b/tests/lib/Android.mk deleted file mode 100644 index db16ed27..00000000 --- a/tests/lib/Android.mk +++ /dev/null @@ -1,18 +0,0 @@ -# -# Copyright (C) 2010 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 $(call all-subdir-makefiles) diff --git a/tests/lib/testUtil/Android.bp b/tests/lib/testUtil/Android.bp new file mode 100644 index 00000000..35678d4f --- /dev/null +++ b/tests/lib/testUtil/Android.bp @@ -0,0 +1,25 @@ +// +// Copyright (C) 2010 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_library_static { + name: "libtestUtil", + srcs: ["testUtil.c"], + export_include_dirs: ["include"], + shared_libs: [ + "libcutils", + "libutils", + ], +} diff --git a/tests/lib/testUtil/Android.mk b/tests/lib/testUtil/Android.mk deleted file mode 100644 index c5ae26d3..00000000 --- a/tests/lib/testUtil/Android.mk +++ /dev/null @@ -1,27 +0,0 @@ -# -# Copyright (C) 2010 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_TAGS := tests -LOCAL_MODULE:= libtestUtil -LOCAL_SRC_FILES:= testUtil.c -LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../include -LOCAL_SHARED_LIBRARIES += libcutils libutils - - -include $(BUILD_STATIC_LIBRARY) diff --git a/tests/include/testUtil.h b/tests/lib/testUtil/include/testUtil.h index 3b75914d..3b75914d 100644 --- a/tests/include/testUtil.h +++ b/tests/lib/testUtil/include/testUtil.h |