Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e93a7538 authored by Dan Albert's avatar Dan Albert Committed by android-build-merger
Browse files

Merge "Migrate liblog to ndk_library." am: b98317ff

am: fda08687

Change-Id: I8c6e62c13dd34b588e4a4b3090df6e92b0983d17
parents dbb34a87 fda08687
Loading
Loading
Loading
Loading

Android.bp

0 → 100644
+22 −0
Original line number Diff line number Diff line
// 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.

ndk_headers {
    name: "liblog_headers",
    from: "include/android",
    to: "android",
    srcs: ["include/android/log.h"],
}

optional_subdirs = ["*"]
+6 −0
Original line number Diff line number Diff line
@@ -91,3 +91,9 @@ cc_library {
    compile_multilib: "both",
    stl: "none",
}

ndk_library {
    name: "liblog.ndk",
    symbol_file: "liblog.map.txt",
    first_version: "9",
}

liblog/liblog.map.txt

0 → 100644
+14 −0
Original line number Diff line number Diff line
LIBLOG {
  global:
    __android_log_assert;
    __android_log_btwrite;
    __android_log_buf_print; # introduced-arm=21 introduced-arm64=21 introduced-mips=9 introduced-mips64=21 introduced-x86=9 introduced-x86_64=21
    __android_log_buf_write; # introduced-arm=21 introduced-arm64=21 introduced-mips=9 introduced-mips64=21 introduced-x86=9 introduced-x86_64=21
    __android_log_bwrite;
    __android_log_dev_available;
    __android_log_print;
    __android_log_vprint;
    __android_log_write;
  local:
    *;
};