summaryrefslogtreecommitdiff
path: root/libcutils
diff options
context:
space:
mode:
authorBruce Po <brucepo@google.com>2023-08-16 17:36:55 +0000
committerBruce Po <brucepo@google.com>2023-08-16 17:38:09 +0000
commitc37838eec8d7b5bcec74e8293a0bdb655991a4e7 (patch)
tree40c3d510a751a20235a28da49a829392ffeb7307 /libcutils
parentd3550e33148c48c4accdccb7f822701e5bea025d (diff)
downloadcore-c37838eec8d7b5bcec74e8293a0bdb655991a4e7.tar.gz
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
Diffstat (limited to 'libcutils')
-rw-r--r--libcutils/include/cutils/threads.h15
l---------libcutils/include_outside_system/cutils/threads.h1
2 files changed, 16 insertions, 0 deletions
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