summaryrefslogtreecommitdiff
path: root/tests/iptables/qtaguid
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2018-05-10 00:15:06 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-05-10 00:15:06 -0700
commitf1e1fbc3e234524b34e5f8999ca4143c08857168 (patch)
tree8f41f9b4a8d185c70801f21d37fd86741cbb4969 /tests/iptables/qtaguid
parent580a214820534ca3863e79469477b06dc6c1796e (diff)
parentb0dab39f3baf7267672a12aa1730ad40a8d86e80 (diff)
downloadextras-f1e1fbc3e234524b34e5f8999ca4143c08857168.tar.gz
Merge "Convert system/extras/tests to Soong" am: 13be680693
am: b0dab39f3b Change-Id: I54e5f09d3779f43feff18da69ba288fcd63229ae
Diffstat (limited to 'tests/iptables/qtaguid')
-rw-r--r--tests/iptables/qtaguid/Android.bp32
-rw-r--r--tests/iptables/qtaguid/Android.mk28
2 files changed, 32 insertions, 28 deletions
diff --git a/tests/iptables/qtaguid/Android.bp b/tests/iptables/qtaguid/Android.bp
new file mode 100644
index 00000000..9c853c8b
--- /dev/null
+++ b/tests/iptables/qtaguid/Android.bp
@@ -0,0 +1,32 @@
+//
+// Copyright (C) 2011 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: "socketTag",
+ srcs: ["socketTag.cpp"],
+ shared_libs: [
+ "libcutils",
+ "libutils",
+ "liblog",
+ "libbase",
+ ],
+ static_libs: ["libtestUtil"],
+ cflags: [
+ "-Wall",
+ "-Werror",
+ "-fno-strict-aliasing",
+ ],
+}
diff --git a/tests/iptables/qtaguid/Android.mk b/tests/iptables/qtaguid/Android.mk
deleted file mode 100644
index bc09bdd8..00000000
--- a/tests/iptables/qtaguid/Android.mk
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# Copyright (C) 2011 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 := socketTag
-LOCAL_SRC_FILES := socketTag.cpp
-LOCAL_SHARED_LIBRARIES += libcutils libutils liblog libbase
-LOCAL_STATIC_LIBRARIES += libtestUtil
-LOCAL_C_INCLUDES += system/extras/tests/include
-LOCAL_CFLAGS += -Wall -Werror -fno-strict-aliasing
-
-include $(BUILD_NATIVE_TEST)