diff options
author | 2016-09-28 04:00:31 +0000 | |
---|---|---|
committer | 2016-09-28 04:00:31 +0000 | |
commit | dd62c25fb69a9eb014df8e5719f8b52804714cd4 (patch) | |
tree | 21c4ae73f39eb64c68ae66ca69e021b002952225 | |
parent | b49ba2d9b0dd30c09a9b30ac10af6a5373d48571 (diff) | |
parent | cf0dad72e61a75b0a5d991337df4c3fcc1c328b3 (diff) |
Move libjnigraphics to ndk_library. am: 7ce8df32a7 am: 15ccfb32ff am: 60156b8573
am: cf0dad72e6
Change-Id: I7c80580c54475e383f17e25de51ddabd52886b8d
-rw-r--r-- | Android.bp | 1 | ||||
-rw-r--r-- | native/graphics/jni/Android.bp | 20 | ||||
-rw-r--r-- | native/graphics/jni/libjnigraphics.map.txt | 8 |
3 files changed, 29 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp index 597f96ad4226..010b2b476e53 100644 --- a/Android.bp +++ b/Android.bp @@ -14,4 +14,5 @@ subdirs = [ "native/android", + "native/graphics/jni", ] diff --git a/native/graphics/jni/Android.bp b/native/graphics/jni/Android.bp new file mode 100644 index 000000000000..e09b0b4443cd --- /dev/null +++ b/native/graphics/jni/Android.bp @@ -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", +} diff --git a/native/graphics/jni/libjnigraphics.map.txt b/native/graphics/jni/libjnigraphics.map.txt new file mode 100644 index 000000000000..a601d8af2830 --- /dev/null +++ b/native/graphics/jni/libjnigraphics.map.txt @@ -0,0 +1,8 @@ +LIBJNIGRAPHICS { + global: + AndroidBitmap_getInfo; + AndroidBitmap_lockPixels; + AndroidBitmap_unlockPixels; + local: + *; +}; |