diff options
author | Trevor Radcliffe <tradical@google.com> | 2021-11-05 17:21:30 +0000 |
---|---|---|
committer | Trevor Radcliffe <tradical@google.com> | 2022-01-25 16:06:07 +0000 |
commit | d931ef6c4602b9cd0f51d032c78128c76762e14f (patch) | |
tree | 9877eef8c4e497842864c44bd926ff71a81c264b | |
parent | 804d6c02aa4c87959d96370067aec06397abba2b (diff) | |
download | native-d931ef6c4602b9cd0f51d032c78128c76762e14f.tar.gz |
Migrate ip-up-vpn to Soong
Fixes: 205301887
Test: Compare binary locations
Change-Id: Id9a3730ac703c1c840dc3b9a13251a61ec346411
-rw-r--r-- | cmds/ip-up-vpn/Android.bp | 31 | ||||
-rw-r--r-- | cmds/ip-up-vpn/Android.mk | 30 |
2 files changed, 31 insertions, 30 deletions
diff --git a/cmds/ip-up-vpn/Android.bp b/cmds/ip-up-vpn/Android.bp new file mode 100644 index 0000000000..c746f7fde3 --- /dev/null +++ b/cmds/ip-up-vpn/Android.bp @@ -0,0 +1,31 @@ +// Copyright 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. + +package { + default_applicable_licenses: ["Android-Apache-2.0"], +} + +cc_binary { + name: "ip-up-vpn", + + srcs: ["ip-up-vpn.c"], + cflags: [ + "-Wall", + "-Werror", + ], + shared_libs: [ + "libcutils", + "liblog", + ], +} diff --git a/cmds/ip-up-vpn/Android.mk b/cmds/ip-up-vpn/Android.mk deleted file mode 100644 index 396ae9db04..0000000000 --- a/cmds/ip-up-vpn/Android.mk +++ /dev/null @@ -1,30 +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_SRC_FILES := ip-up-vpn.c -LOCAL_CFLAGS := -Wall -Werror -LOCAL_SHARED_LIBRARIES := libcutils liblog -LOCAL_MODULE := ip-up-vpn -LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 -LOCAL_LICENSE_CONDITIONS := notice -LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../../NOTICE -LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/ppp -LOCAL_MODULE_TAGS := optional - -include $(BUILD_EXECUTABLE) |