summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Eltsin <eaeltsin@google.com>2021-03-10 22:34:31 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-03-10 22:34:31 +0000
commit3d1202bcf41340f446054369141f0cdf9568b4f5 (patch)
tree0f3823f6c503eeb3222cdad632dec8f8ea6e7604
parent3d88a2cb0df6214e37ef3e8f7c305e4ed0552535 (diff)
parent028a463e879016a2b806b729c1f58f32c3af6b9f (diff)
downloadnative_bridge_support-3d1202bcf41340f446054369141f0cdf9568b4f5.tar.gz
Make __libc_set_target_sdk_version an empty function in the native bridge am: 30c5f840c9 am: a3c392665d am: 2f688c45bc am: 028a463e87
Original change: https://android-review.googlesource.com/c/platform/frameworks/libs/native_bridge_support/+/1624826 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Icd601513df9cfe73effc73eb773903cf8c4bb70b
-rw-r--r--libc/Android.bp1
-rw-r--r--libc/__libc_set_target_sdk_version.cpp17
2 files changed, 18 insertions, 0 deletions
diff --git a/libc/Android.bp b/libc/Android.bp
index 82e7882..98e3594 100644
--- a/libc/Android.bp
+++ b/libc/Android.bp
@@ -40,6 +40,7 @@ cc_library {
"__cxa_thread_atexit_impl.cpp",
"__libc_add_main_thread.cpp",
"__libc_init_scudo.cpp",
+ "__libc_set_target_sdk_version.cpp",
"exit.c",
"malloc_init.cpp",
],
diff --git a/libc/__libc_set_target_sdk_version.cpp b/libc/__libc_set_target_sdk_version.cpp
new file mode 100644
index 0000000..2ca07e3
--- /dev/null
+++ b/libc/__libc_set_target_sdk_version.cpp
@@ -0,0 +1,17 @@
+/*
+ * Copyright (C) 2021 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.
+ */
+
+void __libc_set_target_sdk_version(int) {}