diff options
author | Dan Willemsen <dwillemsen@google.com> | 2019-03-23 13:53:03 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2019-03-28 16:00:55 +0000 |
commit | ebab93799755fcd737229fdcfc5675342d8d7400 (patch) | |
tree | 96070549cf5a668aaf47835f5269f7705668bf42 /postinst | |
parent | a3cec0985a0df8a01a2a1ca143ba6aa035536d2c (diff) | |
download | extras-ebab93799755fcd737229fdcfc5675342d8d7400.tar.gz |
Convert more of system/extras to Android.bp
See build/soong/README.md for more information about Soong.
Bug: 122331914
Test: cd system/extras; mma
Test: treehugger
Change-Id: Ic1cf293df2c848c7476ca93c150106a4a3cd849c
Diffstat (limited to 'postinst')
-rw-r--r-- | postinst/Android.bp | 20 | ||||
-rw-r--r-- | postinst/Android.mk | 24 |
2 files changed, 20 insertions, 24 deletions
diff --git a/postinst/Android.bp b/postinst/Android.bp new file mode 100644 index 00000000..25e9dfe4 --- /dev/null +++ b/postinst/Android.bp @@ -0,0 +1,20 @@ +// +// Copyright (C) 2015 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. +// + +sh_binary { + name: "postinst_example", + src: "postinst.sh", +} diff --git a/postinst/Android.mk b/postinst/Android.mk deleted file mode 100644 index c804cfca..00000000 --- a/postinst/Android.mk +++ /dev/null @@ -1,24 +0,0 @@ -# -# Copyright (C) 2015 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:= postinst_example -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := EXECUTABLES -LOCAL_SRC_FILES := postinst.sh -include $(BUILD_PREBUILT) |