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