Move libjnigraphics to ndk_library.
am: 7ce8df32a7
Change-Id: I1eb9e19b6a270a9b24bdff9a5a86a06a1a8d197f
This commit is contained in:
@@ -14,4 +14,5 @@
|
|||||||
|
|
||||||
subdirs = [
|
subdirs = [
|
||||||
"native/android",
|
"native/android",
|
||||||
|
"native/graphics/jni",
|
||||||
]
|
]
|
||||||
|
|||||||
20
native/graphics/jni/Android.bp
Normal file
20
native/graphics/jni/Android.bp
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
// 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
native/graphics/jni/libjnigraphics.map.txt
Normal file
8
native/graphics/jni/libjnigraphics.map.txt
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
LIBJNIGRAPHICS {
|
||||||
|
global:
|
||||||
|
AndroidBitmap_getInfo;
|
||||||
|
AndroidBitmap_lockPixels;
|
||||||
|
AndroidBitmap_unlockPixels;
|
||||||
|
local:
|
||||||
|
*;
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user