summaryrefslogtreecommitdiff
path: root/packages/VpnDialogs
diff options
context:
space:
mode:
authorSasha Smundak <asmundak@google.com>2019-02-08 15:13:25 -0800
committerSasha Smundak <asmundak@google.com>2019-02-08 15:13:25 -0800
commitdf848ac224ae248e41896943ef9f57d6fc54bcb9 (patch)
tree8595f70ac37373923a6fc3af6b07b1932b7a7ef6 /packages/VpnDialogs
parentad41c7bb2aa56b4103deba553931c143ecd68bfe (diff)
Convert Android.mk file to Android.bp
See build/soong/README.md for more information. Bug: 122332340 Test: treehugger Change-Id: I4ccc0a2e13fc49a0109e9823fbcb4077e11455d5
Diffstat (limited to 'packages/VpnDialogs')
-rw-r--r--packages/VpnDialogs/Android.bp23
-rw-r--r--packages/VpnDialogs/Android.mk32
2 files changed, 23 insertions, 32 deletions
diff --git a/packages/VpnDialogs/Android.bp b/packages/VpnDialogs/Android.bp
new file mode 100644
index 000000000000..6f2f50c0ddd4
--- /dev/null
+++ b/packages/VpnDialogs/Android.bp
@@ -0,0 +1,23 @@
+//
+// 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.
+//
+
+android_app {
+ name: "VpnDialogs",
+ certificate: "platform",
+ privileged: true,
+ srcs: ["src/**/*.java"],
+ platform_apis: true,
+}
diff --git a/packages/VpnDialogs/Android.mk b/packages/VpnDialogs/Android.mk
deleted file mode 100644
index 850764645644..000000000000
--- a/packages/VpnDialogs/Android.mk
+++ /dev/null
@@ -1,32 +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 := optional
-
-LOCAL_CERTIFICATE := platform
-
-LOCAL_PRIVILEGED_MODULE := true
-
-LOCAL_SRC_FILES := $(call all-java-files-under, src)
-
-LOCAL_PACKAGE_NAME := VpnDialogs
-LOCAL_PRIVATE_PLATFORM_APIS := true
-
-include $(BUILD_PACKAGE)