1cc_library_static { 2 name: "libservices.core", 3 defaults: ["libservices.core-libs"], 4 5 cflags: [ 6 "-Wall", 7 "-Werror", 8 "-Wno-unused-parameter", 9 "-Wthread-safety", 10 11 "-DEGL_EGLEXT_PROTOTYPES", 12 "-DGL_GLEXT_PROTOTYPES", 13 ], 14 15 srcs: [ 16 "BroadcastRadio/JavaRef.cpp", 17 "BroadcastRadio/NativeCallbackThread.cpp", 18 "BroadcastRadio/BroadcastRadioService.cpp", 19 "BroadcastRadio/Tuner.cpp", 20 "BroadcastRadio/TunerCallback.cpp", 21 "BroadcastRadio/convert.cpp", 22 "BroadcastRadio/regions.cpp", 23 "com_android_server_AlarmManagerService.cpp", 24 "com_android_server_am_BatteryStatsService.cpp", 25 "com_android_server_connectivity_Vpn.cpp", 26 "com_android_server_connectivity_tethering_OffloadHardwareInterface.cpp", 27 "com_android_server_ConsumerIrService.cpp", 28 "com_android_server_devicepolicy_CryptoTestHelper.cpp", 29 "com_android_server_HardwarePropertiesManagerService.cpp", 30 "com_android_server_hdmi_HdmiCecController.cpp", 31 "com_android_server_input_InputManagerService.cpp", 32 "com_android_server_lights_LightsService.cpp", 33 "com_android_server_location_GnssLocationProvider.cpp", 34 "com_android_server_locksettings_SyntheticPasswordManager.cpp", 35 "com_android_server_net_NetworkStatsService.cpp", 36 "com_android_server_power_PowerManagerService.cpp", 37 "com_android_server_security_VerityUtils.cpp", 38 "com_android_server_SerialService.cpp", 39 "com_android_server_storage_AppFuseBridge.cpp", 40 "com_android_server_SystemServer.cpp", 41 "com_android_server_TestNetworkService.cpp", 42 "com_android_server_tv_TvUinputBridge.cpp", 43 "com_android_server_tv_TvInputHal.cpp", 44 "com_android_server_vr_VrManagerService.cpp", 45 "com_android_server_UsbAlsaJackDetector.cpp", 46 "com_android_server_UsbDeviceManager.cpp", 47 "com_android_server_UsbDescriptorParser.cpp", 48 "com_android_server_UsbMidiDevice.cpp", 49 "com_android_server_UsbHostManager.cpp", 50 "com_android_server_VibratorService.cpp", 51 "com_android_server_PersistentDataBlockService.cpp", 52 "com_android_server_GraphicsStatsService.cpp", 53 "com_android_server_am_AppCompactor.cpp", 54 "com_android_server_am_LowMemDetector.cpp", 55 "onload.cpp", 56 ":lib_networkStatsFactory_native", 57 ], 58 59 include_dirs: [ 60 "bionic/libc/private", 61 "frameworks/base/libs", 62 "frameworks/native/services", 63 "system/gatekeeper/include", 64 ], 65} 66 67cc_defaults { 68 name: "libservices.core-libs", 69 shared_libs: [ 70 "libandroid_runtime", 71 "libandroidfw", 72 "libaudioclient", 73 "libbase", 74 "libappfuse", 75 "libbinder", 76 "libcutils", 77 "libcrypto", 78 "liblog", 79 "libhardware", 80 "libhardware_legacy", 81 "libhidlbase", 82 "libkeystore_binder", 83 "libmtp", 84 "libnativehelper", 85 "libutils", 86 "libui", 87 "libinput", 88 "libinputflinger", 89 "libinputflinger_base", 90 "libinputservice", 91 "libschedulerservicehidl", 92 "libsensorservice", 93 "libsensorservicehidl", 94 "libgui", 95 "libusbhost", 96 "libtinyalsa", 97 "libEGL", 98 "libGLESv2", 99 "libnetutils", 100 "libhidlbase", 101 "libhidltransport", 102 "libhwbinder", 103 "libutils", 104 "libhwui", 105 "libbpf_android", 106 "libnetdbpf", 107 "libnetdutils", 108 "libpsi", 109 "android.hardware.audio.common@2.0", 110 "android.hardware.broadcastradio@1.0", 111 "android.hardware.broadcastradio@1.1", 112 "android.hardware.contexthub@1.0", 113 "android.hardware.gnss@1.0", 114 "android.hardware.gnss@1.1", 115 "android.hardware.gnss@2.0", 116 "android.hardware.gnss.measurement_corrections@1.0", 117 "android.hardware.gnss.visibility_control@1.0", 118 "android.hardware.input.classifier@1.0", 119 "android.hardware.ir@1.0", 120 "android.hardware.light@2.0", 121 "android.hardware.power@1.0", 122 "android.hardware.power@1.1", 123 "android.hardware.power.stats@1.0", 124 "android.hardware.tetheroffload.config@1.0", 125 "android.hardware.thermal@1.0", 126 "android.hardware.tv.cec@1.0", 127 "android.hardware.tv.input@1.0", 128 "android.hardware.vibrator@1.0", 129 "android.hardware.vibrator@1.1", 130 "android.hardware.vibrator@1.2", 131 "android.hardware.vibrator@1.3", 132 "android.hardware.vr@1.0", 133 "android.frameworks.schedulerservice@1.0", 134 "android.frameworks.sensorservice@1.0", 135 "android.system.suspend@1.0", 136 "suspend_control_aidl_interface-cpp", 137 ], 138 139 static_libs: [ 140 "android.hardware.broadcastradio@common-utils-1x-lib", 141 ], 142 143 product_variables: { 144 arc: { 145 shared_libs: [ 146 "libarcbridge", 147 "libarcbridgeservice", 148 "libarctimer", 149 "libbase", 150 "libcap", 151 "libchrome", 152 "libmojo", 153 ], 154 } 155 } 156} 157 158filegroup { 159 name: "lib_networkStatsFactory_native", 160 srcs: [ 161 "com_android_server_net_NetworkStatsFactory.cpp", 162 ], 163} 164