diff options
author | Yifan Hong <elsk@google.com> | 2019-01-02 16:44:36 -0800 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2019-01-02 17:03:02 -0800 |
commit | 30be1b08308ab973dd9b13aba539cc2e8dd61ef0 (patch) | |
tree | a4acb4a2d2dc5a6959088e045769f248d263d99c /cppreopts | |
parent | 9de03e3913cc835d90b8d0b880db0247b2b42914 (diff) | |
download | extras-30be1b08308ab973dd9b13aba539cc2e8dd61ef0.tar.gz |
cppreopts: Android.mk -> bp
Test: builds
Change-Id: I4143a3c5a88cad289d805b137ec480097c8c60d3
Diffstat (limited to 'cppreopts')
-rw-r--r-- | cppreopts/Android.bp | 32 | ||||
-rw-r--r-- | cppreopts/Android.mk | 29 |
2 files changed, 32 insertions, 29 deletions
diff --git a/cppreopts/Android.bp b/cppreopts/Android.bp new file mode 100644 index 00000000..30028f61 --- /dev/null +++ b/cppreopts/Android.bp @@ -0,0 +1,32 @@ +// +// Copyright (C) 2016 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_prebuilt_binary { + name: "preloads_copy.sh", + + srcs: ["preloads_copy.sh"], +} + +cc_prebuilt_binary { + name: "cppreopts.sh", + + init_rc: ["cppreopts.rc"], + srcs: ["cppreopts.sh"], + required: [ + "preopt2cachename", + "preloads_copy.sh", + ], +} diff --git a/cppreopts/Android.mk b/cppreopts/Android.mk deleted file mode 100644 index 7d7f6232..00000000 --- a/cppreopts/Android.mk +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2016 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 := preloads_copy.sh -LOCAL_MODULE_CLASS := EXECUTABLES -LOCAL_SRC_FILES := preloads_copy.sh -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := cppreopts.sh -LOCAL_MODULE_CLASS := EXECUTABLES -LOCAL_INIT_RC := cppreopts.rc -LOCAL_SRC_FILES := cppreopts.sh -LOCAL_REQUIRED_MODULES := preopt2cachename preloads_copy.sh -include $(BUILD_PREBUILT) |