From c37838eec8d7b5bcec74e8293a0bdb655991a4e7 Mon Sep 17 00:00:00 2001 From: Bruce Po Date: Wed, 16 Aug 2023 17:36:55 +0000 Subject: [PATCH] Revert "Remove cutils threads.h header completely." This reverts commit d3550e33148c48c4accdccb7f822701e5bea025d. Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=git_tm-qpr-dev-plus-aosp&target=aosp_sunfish-userdebug&lkgb=10667572&lkbb=10667604&fkbb=10667601, bug http://b/296247274 Change-Id: I3f3864dc21fcb34cbb2ff524c43c3d92bd260ff6 BUG: 296247274 --- libcutils/include/cutils/threads.h | 15 +++++++++++++++ libcutils/include_outside_system/cutils/threads.h | 1 + 2 files changed, 16 insertions(+) create mode 100644 libcutils/include/cutils/threads.h create mode 120000 libcutils/include_outside_system/cutils/threads.h diff --git a/libcutils/include/cutils/threads.h b/libcutils/include/cutils/threads.h new file mode 100644 index 000000000..9bc3429be --- /dev/null +++ b/libcutils/include/cutils/threads.h @@ -0,0 +1,15 @@ +/* + * Copyright (C) 2007 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. + */ diff --git a/libcutils/include_outside_system/cutils/threads.h b/libcutils/include_outside_system/cutils/threads.h new file mode 120000 index 000000000..99330ffad --- /dev/null +++ b/libcutils/include_outside_system/cutils/threads.h @@ -0,0 +1 @@ +../../include/cutils/threads.h \ No newline at end of file