230 lines
7.7 KiB
Plaintext
230 lines
7.7 KiB
Plaintext
|
package {
|
||
|
// See: http://go/android-license-faq
|
||
|
// A large-scale-change added 'default_applicable_licenses' to import
|
||
|
// all of the 'license_kinds' from "frameworks_base_license"
|
||
|
// to get the below license kinds:
|
||
|
// SPDX-license-identifier-Apache-2.0
|
||
|
default_applicable_licenses: ["frameworks_base_license"],
|
||
|
}
|
||
|
|
||
|
cc_library_static {
|
||
|
name: "libservices.core",
|
||
|
defaults: ["libservices.core-libs"],
|
||
|
|
||
|
cpp_std: "c++2a",
|
||
|
cflags: [
|
||
|
"-Wall",
|
||
|
"-Werror",
|
||
|
"-Wno-unused-parameter",
|
||
|
"-Wthread-safety",
|
||
|
|
||
|
"-DEGL_EGLEXT_PROTOTYPES",
|
||
|
"-DGL_GLEXT_PROTOTYPES",
|
||
|
],
|
||
|
|
||
|
srcs: [
|
||
|
"BroadcastRadio/JavaRef.cpp",
|
||
|
"BroadcastRadio/NativeCallbackThread.cpp",
|
||
|
"BroadcastRadio/BroadcastRadioService.cpp",
|
||
|
"BroadcastRadio/Tuner.cpp",
|
||
|
"BroadcastRadio/TunerCallback.cpp",
|
||
|
"BroadcastRadio/convert.cpp",
|
||
|
"BroadcastRadio/regions.cpp",
|
||
|
"stats/SurfaceFlingerPuller.cpp",
|
||
|
"com_android_server_adb_AdbDebuggingManager.cpp",
|
||
|
"com_android_server_am_BatteryStatsService.cpp",
|
||
|
"com_android_server_biometrics_SurfaceToNativeHandleConverter.cpp",
|
||
|
"com_android_server_ConsumerIrService.cpp",
|
||
|
"com_android_server_companion_virtual_InputController.cpp",
|
||
|
"com_android_server_devicepolicy_CryptoTestHelper.cpp",
|
||
|
"com_android_server_connectivity_Vpn.cpp",
|
||
|
"com_android_server_gpu_GpuService.cpp",
|
||
|
"com_android_server_HardwarePropertiesManagerService.cpp",
|
||
|
"com_android_server_input_InputManagerService.cpp",
|
||
|
"com_android_server_lights_LightsService.cpp",
|
||
|
"com_android_server_location_GnssLocationProvider.cpp",
|
||
|
"com_android_server_locksettings_SyntheticPasswordManager.cpp",
|
||
|
"com_android_server_power_PowerManagerService.cpp",
|
||
|
"com_android_server_powerstats_PowerStatsService.cpp",
|
||
|
"com_android_server_hint_HintManagerService.cpp",
|
||
|
"com_android_server_SerialService.cpp",
|
||
|
"com_android_server_soundtrigger_middleware_AudioSessionProviderImpl.cpp",
|
||
|
"com_android_server_soundtrigger_middleware_ExternalCaptureStateTracker.cpp",
|
||
|
"com_android_server_stats_pull_StatsPullAtomService.cpp",
|
||
|
"com_android_server_storage_AppFuseBridge.cpp",
|
||
|
"com_android_server_SystemServer.cpp",
|
||
|
"com_android_server_tv_TvUinputBridge.cpp",
|
||
|
"com_android_server_tv_TvInputHal.cpp",
|
||
|
"com_android_server_vr_VrManagerService.cpp",
|
||
|
"com_android_server_UsbAlsaJackDetector.cpp",
|
||
|
"com_android_server_UsbDeviceManager.cpp",
|
||
|
"com_android_server_UsbDescriptorParser.cpp",
|
||
|
"com_android_server_UsbMidiDevice.cpp",
|
||
|
"com_android_server_UsbHostManager.cpp",
|
||
|
"com_android_server_vibrator_VibratorController.cpp",
|
||
|
"com_android_server_vibrator_VibratorManagerService.cpp",
|
||
|
"com_android_server_PersistentDataBlockService.cpp",
|
||
|
"com_android_server_am_LowMemDetector.cpp",
|
||
|
"com_android_server_pm_PackageManagerShellCommandDataLoader.cpp",
|
||
|
"com_android_server_sensor_SensorService.cpp",
|
||
|
"com_android_server_wm_TaskFpsCallbackController.cpp",
|
||
|
"com_android_server_rkdisplay_RkDisplayModes.cpp",
|
||
|
"com_android_server_audio_RkAudioSetting.cpp",
|
||
|
"onload.cpp",
|
||
|
":lib_cachedAppOptimizer_native",
|
||
|
":lib_gameManagerService_native",
|
||
|
],
|
||
|
|
||
|
include_dirs: [
|
||
|
"frameworks/base/libs",
|
||
|
"frameworks/native/services",
|
||
|
"frameworks/native/libs/math/include",
|
||
|
"frameworks/native/libs/ui/include",
|
||
|
"system/gatekeeper/include",
|
||
|
"system/memory/libmeminfo/include",
|
||
|
"hardware/rockchip/libhardware_rockchip/include/",
|
||
|
"vendor/rockchip/hardware/interfaces",
|
||
|
],
|
||
|
|
||
|
header_libs: [
|
||
|
"bionic_libc_platform_headers",
|
||
|
"libhardware_rockchip_headers",
|
||
|
],
|
||
|
}
|
||
|
|
||
|
cc_defaults {
|
||
|
name: "libservices.core-libs",
|
||
|
shared_libs: [
|
||
|
"libadb_pairing_server",
|
||
|
"libadb_pairing_connection",
|
||
|
"libandroid",
|
||
|
"libandroid_runtime",
|
||
|
"libandroidfw",
|
||
|
"libaudioclient",
|
||
|
"libbase",
|
||
|
"libappfuse",
|
||
|
"libbinder_ndk",
|
||
|
"libbinder",
|
||
|
"libchrome",
|
||
|
"libcutils",
|
||
|
"libcrypto",
|
||
|
"liblog",
|
||
|
"libgraphicsenv",
|
||
|
"libgralloctypes",
|
||
|
"libhardware",
|
||
|
"libhardware_legacy",
|
||
|
"libhidlbase",
|
||
|
"libmeminfo",
|
||
|
"libmemtrackproxy",
|
||
|
"libmtp",
|
||
|
"libnativehelper",
|
||
|
"libnativewindow",
|
||
|
"libpowermanager",
|
||
|
"libprocessgroup",
|
||
|
"libutils",
|
||
|
"libui",
|
||
|
"libvibratorservice",
|
||
|
"PlatformProperties",
|
||
|
"libinput",
|
||
|
"libinputflinger",
|
||
|
"libinputflinger_base",
|
||
|
"libinputservice",
|
||
|
"libservices.core-gnss",
|
||
|
"libstatshidl",
|
||
|
"libstatspull",
|
||
|
"libstatssocket",
|
||
|
"libstatslog",
|
||
|
"libschedulerservicehidl",
|
||
|
"libsensorservice",
|
||
|
"libsensorservicehidl",
|
||
|
"libgui",
|
||
|
"libtimestats_atoms_proto",
|
||
|
"libusbhost",
|
||
|
"libtinyalsa",
|
||
|
"libEGL",
|
||
|
"libGLESv2",
|
||
|
"libnetutils",
|
||
|
"libhidlbase",
|
||
|
"libutils",
|
||
|
"libhwui",
|
||
|
"libpsi",
|
||
|
"libdataloader",
|
||
|
"libincfs",
|
||
|
"android.hardware.audio.common@2.0",
|
||
|
"android.hardware.broadcastradio@1.0",
|
||
|
"android.hardware.broadcastradio@1.1",
|
||
|
"android.hardware.contexthub@1.0",
|
||
|
"android.hardware.gnss-V2-cpp",
|
||
|
"android.hardware.gnss@1.0",
|
||
|
"android.hardware.gnss@1.1",
|
||
|
"android.hardware.gnss@2.0",
|
||
|
"android.hardware.gnss@2.1",
|
||
|
"android.hardware.gnss.measurement_corrections@1.0",
|
||
|
"android.hardware.graphics.bufferqueue@1.0",
|
||
|
"android.hardware.graphics.bufferqueue@2.0",
|
||
|
"android.hardware.graphics.common@1.2",
|
||
|
"android.hardware.graphics.common-V3-ndk",
|
||
|
"android.hardware.graphics.mapper@4.0",
|
||
|
"android.hardware.input.processor-V1-ndk",
|
||
|
"android.hardware.ir@1.0",
|
||
|
"android.hardware.light@2.0",
|
||
|
"android.hardware.memtrack-V1-ndk",
|
||
|
"android.hardware.power@1.0",
|
||
|
"android.hardware.power@1.1",
|
||
|
"android.hardware.power-V3-cpp",
|
||
|
"android.hardware.power.stats@1.0",
|
||
|
"android.hardware.power.stats-V1-ndk",
|
||
|
"android.hardware.thermal@1.0",
|
||
|
"android.hardware.tv.input@1.0",
|
||
|
"android.hardware.vibrator-V2-cpp",
|
||
|
"android.hardware.vibrator@1.0",
|
||
|
"android.hardware.vibrator@1.1",
|
||
|
"android.hardware.vibrator@1.2",
|
||
|
"android.hardware.vibrator@1.3",
|
||
|
"android.hardware.vr@1.0",
|
||
|
"android.hidl.token@1.0-utils",
|
||
|
"android.frameworks.schedulerservice@1.0",
|
||
|
"android.frameworks.sensorservice@1.0",
|
||
|
"android.frameworks.stats@1.0",
|
||
|
"android.frameworks.stats-V1-ndk",
|
||
|
"android.system.suspend.control-V1-cpp",
|
||
|
"android.system.suspend.control.internal-cpp",
|
||
|
"android.system.suspend-V1-ndk",
|
||
|
"rockchip.hardware.outputmanager@1.0",
|
||
|
"service.incremental",
|
||
|
"rockchip.hardware.tv.input@1.0",
|
||
|
"librksoundsetting",
|
||
|
],
|
||
|
|
||
|
static_libs: [
|
||
|
"android.hardware.broadcastradio@common-utils-1x-lib",
|
||
|
],
|
||
|
|
||
|
product_variables: {
|
||
|
arc: {
|
||
|
shared_libs: [
|
||
|
"libarcbridge",
|
||
|
"libarcbridgeservice",
|
||
|
"libbase",
|
||
|
"libcap",
|
||
|
"libchrome",
|
||
|
"libmojo",
|
||
|
],
|
||
|
},
|
||
|
},
|
||
|
}
|
||
|
|
||
|
filegroup {
|
||
|
name: "lib_cachedAppOptimizer_native",
|
||
|
srcs: [
|
||
|
"com_android_server_am_CachedAppOptimizer.cpp",
|
||
|
],
|
||
|
}
|
||
|
|
||
|
filegroup {
|
||
|
name: "lib_gameManagerService_native",
|
||
|
srcs: [
|
||
|
"com_android_server_app_GameManagerService.cpp",
|
||
|
],
|
||
|
}
|