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

Commit 7ce8df32 authored by Dan Albert's avatar Dan Albert
Browse files

Move libjnigraphics to ndk_library.

The headers are already migrated because they're in
frameworks/native/include/android, which was covered when migrating
libandroid.

Test: make native
Bug: http://b/30465923
Change-Id: I610dc6c613f2a408960088a86629073da38682a0
parent 2a8d9c20
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -14,4 +14,5 @@

subdirs = [
    "native/android",
    "native/graphics/jni",
]
+20 −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.

// The headers module is in frameworks/native/Android.bp.
ndk_library {
    name: "libjnigraphics.ndk",
    symbol_file: "libjnigraphics.map.txt",
    first_version: "9",
}
+8 −0
Original line number Diff line number Diff line
LIBJNIGRAPHICS {
  global:
    AndroidBitmap_getInfo;
    AndroidBitmap_lockPixels;
    AndroidBitmap_unlockPixels;
  local:
    *;
};