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", |
Andrew Chant | 07a97da | 2018-02-05 15:55:02 -0800 | [diff] [blame] | 44 | "com_android_server_UsbAlsaJackDetector.cpp", |
Colin Cross | 1742dd8 | 2017-12-05 17:33:58 -0800 | [diff] [blame] | 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 | ], |
Hirokazu Honda | d13a93f | 2018-01-16 16:11:28 +0900 | [diff] [blame] | 60 | |
| 61 | product_variables: { |
| 62 | arc: { |
| 63 | cflags: [ |
| 64 | "-DUSE_ARC", |
| 65 | ], |
| 66 | srcs: [ |
| 67 | "com_android_server_ArcVideoService.cpp", |
| 68 | ], |
| 69 | } |
| 70 | } |
Colin Cross | 1742dd8 | 2017-12-05 17:33:58 -0800 | [diff] [blame] | 71 | } |
| 72 | |
| 73 | cc_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", |
Jerry Zhang | 6d319b8 | 2017-12-06 16:03:57 -0800 | [diff] [blame] | 89 | "libmtp", |
Colin Cross | 1742dd8 | 2017-12-05 17:33:58 -0800 | [diff] [blame] | 90 | "libnativehelper", |
| 91 | "libutils", |
| 92 | "libui", |
| 93 | "libinput", |
| 94 | "libinputflinger", |
| 95 | "libinputservice", |
| 96 | "libschedulerservicehidl", |
| 97 | "libsensorservice", |
| 98 | "libsensorservicehidl", |
| 99 | "libgui", |
| 100 | "libusbhost", |
| 101 | "libsuspend", |
Andrew Chant | 07a97da | 2018-02-05 15:55:02 -0800 | [diff] [blame] | 102 | "libtinyalsa", |
Colin Cross | 1742dd8 | 2017-12-05 17:33:58 -0800 | [diff] [blame] | 103 | "libEGL", |
| 104 | "libGLESv2", |
| 105 | "libnetutils", |
| 106 | "libhidlbase", |
| 107 | "libhidltransport", |
| 108 | "libhwbinder", |
| 109 | "libutils", |
| 110 | "libhwui", |
Chenbo Feng | aedd6a3 | 2017-11-20 18:23:46 -0800 | [diff] [blame] | 111 | "libbpf", |
| 112 | "libnetdutils", |
Colin Cross | 1742dd8 | 2017-12-05 17:33:58 -0800 | [diff] [blame] | 113 | "android.hardware.audio.common@2.0", |
| 114 | "android.hardware.broadcastradio@1.0", |
| 115 | "android.hardware.broadcastradio@1.1", |
Colin Cross | 1742dd8 | 2017-12-05 17:33:58 -0800 | [diff] [blame] | 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", |
Michael Wright | f268bf5 | 2018-02-07 23:23:34 +0000 | [diff] [blame] | 129 | "android.hardware.vibrator@1.2", |
Colin Cross | 1742dd8 | 2017-12-05 17:33:58 -0800 | [diff] [blame] | 130 | "android.hardware.vr@1.0", |
| 131 | "android.frameworks.schedulerservice@1.0", |
| 132 | "android.frameworks.sensorservice@1.0", |
| 133 | ], |
| 134 | |
| 135 | static_libs: [ |
Tomasz Wasilczyk | 8e67a33 | 2017-12-04 09:54:56 -0800 | [diff] [blame] | 136 | "android.hardware.broadcastradio@common-utils-1x-lib", |
Colin Cross | 1742dd8 | 2017-12-05 17:33:58 -0800 | [diff] [blame] | 137 | "libscrypt_static", |
| 138 | ], |
Hirokazu Honda | d13a93f | 2018-01-16 16:11:28 +0900 | [diff] [blame] | 139 | |
| 140 | product_variables: { |
| 141 | arc: { |
Hirokazu Honda | d13a93f | 2018-01-16 16:11:28 +0900 | [diff] [blame] | 142 | shared_libs: [ |
| 143 | "libarcbridge", |
| 144 | "libarcbridgeservice", |
| 145 | "libarcvideobridge", |
| 146 | "libchrome", |
Risan | 918e02f | 2018-02-19 16:22:10 +0900 | [diff] [blame] | 147 | "libmojo", |
Hirokazu Honda | d13a93f | 2018-01-16 16:11:28 +0900 | [diff] [blame] | 148 | ], |
| 149 | } |
| 150 | } |
Colin Cross | 1742dd8 | 2017-12-05 17:33:58 -0800 | [diff] [blame] | 151 | } |