In fact, libpac is just a normal C++ library, not a JNI library. Remove it from LOCAL_JNI_SHARED_LIBRARIES. libjni_pacprocessor is the actual JNI library. libpac is still being used. libjni_pacprocessor, specified in frameworks/base/packages/services/PacProcessor/jni/Android.bp, depends on libpac as shared library. This change is needed to move libpac into the Runtime APEX. Bug: 121269980 Test: m droid Change-Id: I2a985acddbf2083d59fa28cfa76e6e4b80fa5b20
32 lines
921 B
Makefile
32 lines
921 B
Makefile
#
|
|
# Copyright (C) 2010 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.
|
|
#
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
|
|
|
LOCAL_PACKAGE_NAME := PacProcessor
|
|
LOCAL_PRIVATE_PLATFORM_APIS := true
|
|
LOCAL_CERTIFICATE := platform
|
|
|
|
LOCAL_JNI_SHARED_LIBRARIES := libjni_pacprocessor
|
|
|
|
include $(BUILD_PACKAGE)
|