Colin Cross | 1742dd8 | 2017-12-05 17:33:58 -0800 | [diff] [blame] | 1 | cc_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", |
Pavel Grafov | b745540 | 2018-01-30 21:17:08 +0000 | [diff] [blame] | 27 | "com_android_server_devicepolicy_CryptoTestHelper.cpp", |
Colin Cross | 1742dd8 | 2017-12-05 17:33:58 -0800 | [diff] [blame] | 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", |
Chenbo Feng | d3d9c4e | 2017-11-14 17:54:17 -0800 | [diff] [blame] | 36 | "com_android_server_net_NetworkStatsService.cpp", |
Colin Cross | 1742dd8 | 2017-12-05 17:33:58 -0800 | [diff] [blame] | 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_UsbDeviceManager.cpp", |
| 45 | "com_android_server_UsbDescriptorParser.cpp", |
| 46 | "com_android_server_UsbMidiDevice.cpp", |
| 47 | "com_android_server_UsbHostManager.cpp", |
| 48 | "com_android_server_VibratorService.cpp", |
| 49 | "com_android_server_PersistentDataBlockService.cpp", |
| 50 | "com_android_server_GraphicsStatsService.cpp", |
| 51 | "onload.cpp", |
| 52 | ], |
| 53 | |
| 54 | include_dirs: [ |
| 55 | "frameworks/base/libs", |
| 56 | "frameworks/native/services", |
| 57 | "system/gatekeeper/include", |
| 58 | ], |
Hirokazu Honda | d13a93f | 2018-01-16 16:11:28 +0900 | [diff] [blame] | 59 | |
| 60 | product_variables: { |
| 61 | arc: { |
| 62 | cflags: [ |
| 63 | "-DUSE_ARC", |
| 64 | ], |
| 65 | srcs: [ |
| 66 | "com_android_server_ArcVideoService.cpp", |
| 67 | ], |
| 68 | } |
| 69 | } |
Colin Cross | 1742dd8 | 2017-12-05 17:33:58 -0800 | [diff] [blame] | 70 | } |
| 71 | |
| 72 | cc_defaults { |
| 73 | name: "libservices.core-libs", |
| 74 | shared_libs: [ |
| 75 | "libandroid_runtime", |
| 76 | "libandroidfw", |
| 77 | "libaudioclient", |
| 78 | "libbase", |
| 79 | "libappfuse", |
| 80 | "libbinder", |
| 81 | "libcutils", |
| 82 | "libcrypto", |
| 83 | "liblog", |
| 84 | "libhardware", |
| 85 | "libhardware_legacy", |
| 86 | "libhidlbase", |
| 87 | "libkeystore_binder", |
| 88 | "libnativehelper", |
| 89 | "libutils", |
| 90 | "libui", |
| 91 | "libinput", |
| 92 | "libinputflinger", |
| 93 | "libinputservice", |
| 94 | "libschedulerservicehidl", |
| 95 | "libsensorservice", |
| 96 | "libsensorservicehidl", |
| 97 | "libgui", |
| 98 | "libusbhost", |
| 99 | "libsuspend", |
| 100 | "libEGL", |
| 101 | "libGLESv2", |
| 102 | "libnetutils", |
| 103 | "libhidlbase", |
| 104 | "libhidltransport", |
| 105 | "libhwbinder", |
| 106 | "libutils", |
| 107 | "libhwui", |
Chenbo Feng | aedd6a3 | 2017-11-20 18:23:46 -0800 | [diff] [blame] | 108 | "libbpf", |
| 109 | "libnetdutils", |
Colin Cross | 1742dd8 | 2017-12-05 17:33:58 -0800 | [diff] [blame] | 110 | "android.hardware.audio.common@2.0", |
| 111 | "android.hardware.broadcastradio@1.0", |
| 112 | "android.hardware.broadcastradio@1.1", |
| 113 | "android.hardware.broadcastradio@1.2", |
| 114 | "android.hardware.contexthub@1.0", |
| 115 | "android.hardware.gnss@1.0", |
| 116 | "android.hardware.gnss@1.1", |
| 117 | "android.hardware.ir@1.0", |
| 118 | "android.hardware.light@2.0", |
| 119 | "android.hardware.power@1.0", |
| 120 | "android.hardware.power@1.1", |
| 121 | "android.hardware.tetheroffload.config@1.0", |
| 122 | "android.hardware.thermal@1.0", |
| 123 | "android.hardware.tv.cec@1.0", |
| 124 | "android.hardware.tv.input@1.0", |
| 125 | "android.hardware.vibrator@1.0", |
| 126 | "android.hardware.vibrator@1.1", |
| 127 | "android.hardware.vr@1.0", |
| 128 | "android.frameworks.schedulerservice@1.0", |
| 129 | "android.frameworks.sensorservice@1.0", |
| 130 | ], |
| 131 | |
| 132 | static_libs: [ |
Tomasz Wasilczyk | 8e67a33 | 2017-12-04 09:54:56 -0800 | [diff] [blame] | 133 | "android.hardware.broadcastradio@common-utils-1x-lib", |
Colin Cross | 1742dd8 | 2017-12-05 17:33:58 -0800 | [diff] [blame] | 134 | "libscrypt_static", |
| 135 | ], |
Hirokazu Honda | d13a93f | 2018-01-16 16:11:28 +0900 | [diff] [blame] | 136 | |
| 137 | product_variables: { |
| 138 | arc: { |
| 139 | // TODO: remove the suffix "_bp" after finishing migration to Android.bp. |
| 140 | shared_libs: [ |
| 141 | "libarcbridge", |
| 142 | "libarcbridgeservice", |
| 143 | "libarcvideobridge", |
| 144 | "libchrome", |
| 145 | "libmojo_bp", |
| 146 | ], |
| 147 | } |
| 148 | } |
Colin Cross | 1742dd8 | 2017-12-05 17:33:58 -0800 | [diff] [blame] | 149 | } |