The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | LOCAL_CFLAGS += -DHAVE_CONFIG_H -DKHTML_NO_EXCEPTIONS -DGKWQ_NO_JAVA |
| 5 | LOCAL_CFLAGS += -DNO_SUPPORT_JS_BINDING -DQT_NO_WHEELEVENT -DKHTML_NO_XBL |
| 6 | LOCAL_CFLAGS += -U__APPLE__ |
| 7 | |
| 8 | ifeq ($(TARGET_ARCH), arm) |
| 9 | LOCAL_CFLAGS += -DPACKED="__attribute__ ((packed))" |
| 10 | else |
| 11 | LOCAL_CFLAGS += -DPACKED="" |
| 12 | endif |
| 13 | |
Ben Cheng | 52b0e73 | 2009-06-19 13:31:12 -0700 | [diff] [blame] | 14 | ifeq ($(WITH_JIT),true) |
| 15 | LOCAL_CFLAGS += -DWITH_JIT |
| 16 | endif |
| 17 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 18 | ifneq ($(USE_CUSTOM_RUNTIME_HEAP_MAX),) |
| 19 | LOCAL_CFLAGS += -DCUSTOM_RUNTIME_HEAP_MAX=$(USE_CUSTOM_RUNTIME_HEAP_MAX) |
| 20 | endif |
| 21 | |
Romain Guy | 1639351 | 2010-08-08 00:14:31 -0700 | [diff] [blame] | 22 | ifeq ($(USE_OPENGL_RENDERER),true) |
| 23 | LOCAL_CFLAGS += -DUSE_OPENGL_RENDERER |
| 24 | endif |
| 25 | |
Mathias Agopian | 1473f46 | 2009-04-10 14:24:30 -0700 | [diff] [blame] | 26 | LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES |
| 27 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 28 | LOCAL_SRC_FILES:= \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 29 | AndroidRuntime.cpp \ |
Mathias Agopian | 864c0d5 | 2009-06-24 23:12:06 -0700 | [diff] [blame] | 30 | Time.cpp \ |
Kenny Root | 66269ea | 2011-07-12 14:14:01 -0700 | [diff] [blame] | 31 | com_android_internal_content_NativeLibraryHelper.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 32 | com_google_android_gles_jni_EGLImpl.cpp \ |
| 33 | com_google_android_gles_jni_GLImpl.cpp.arm \ |
Dianne Hackborn | 69969e4 | 2010-05-04 11:40:40 -0700 | [diff] [blame] | 34 | android_app_NativeActivity.cpp \ |
Jack Palevich | 1c4907e | 2009-04-13 16:22:25 -0700 | [diff] [blame] | 35 | android_opengl_GLES10.cpp \ |
| 36 | android_opengl_GLES10Ext.cpp \ |
| 37 | android_opengl_GLES11.cpp \ |
| 38 | android_opengl_GLES11Ext.cpp \ |
Jack Palevich | 560814f | 2009-11-19 16:34:55 +0800 | [diff] [blame] | 39 | android_opengl_GLES20.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 40 | android_database_CursorWindow.cpp \ |
Jeff Brown | e5360fb | 2011-10-31 17:48:13 -0700 | [diff] [blame] | 41 | android_database_SQLiteCommon.cpp \ |
| 42 | android_database_SQLiteConnection.cpp \ |
| 43 | android_database_SQLiteGlobal.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 44 | android_database_SQLiteDebug.cpp \ |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 45 | android_emoji_EmojiFactory.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 46 | android_view_Display.cpp \ |
Jeff Brown | 0a0a124 | 2011-12-02 02:25:22 -0800 | [diff] [blame] | 47 | android_view_DisplayEventReceiver.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 48 | android_view_Surface.cpp \ |
Romain Guy | 8f0095c | 2011-05-02 17:24:22 -0700 | [diff] [blame] | 49 | android_view_TextureView.cpp \ |
Jeff Brown | 46b9ac0 | 2010-04-22 18:58:52 -0700 | [diff] [blame] | 50 | android_view_InputChannel.cpp \ |
Jeff Brown | 9f25b7f | 2012-04-10 14:30:49 -0700 | [diff] [blame] | 51 | android_view_InputDevice.cpp \ |
Jeff Brown | 32cbc3855 | 2011-12-01 14:01:49 -0800 | [diff] [blame] | 52 | android_view_InputEventReceiver.cpp \ |
Jeff Brown | 46b9ac0 | 2010-04-22 18:58:52 -0700 | [diff] [blame] | 53 | android_view_KeyEvent.cpp \ |
Jeff Brown | 49ed71d | 2010-12-06 17:13:33 -0800 | [diff] [blame] | 54 | android_view_KeyCharacterMap.cpp \ |
Romain Guy | a958265 | 2011-11-10 14:20:10 -0800 | [diff] [blame] | 55 | android_view_HardwareRenderer.cpp \ |
Chet Haase | a1cff50 | 2012-02-21 13:43:44 -0800 | [diff] [blame] | 56 | android_view_GLES20DisplayList.cpp \ |
Romain Guy | e4d0112 | 2010-06-16 18:44:05 -0700 | [diff] [blame] | 57 | android_view_GLES20Canvas.cpp \ |
Jeff Brown | 46b9ac0 | 2010-04-22 18:58:52 -0700 | [diff] [blame] | 58 | android_view_MotionEvent.cpp \ |
Jeff Brown | 2352b97 | 2011-04-12 22:39:53 -0700 | [diff] [blame] | 59 | android_view_PointerIcon.cpp \ |
Jeff Brown | 2ed2462 | 2011-03-14 19:39:54 -0700 | [diff] [blame] | 60 | android_view_VelocityTracker.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 61 | android_text_AndroidCharacter.cpp \ |
Doug Felt | dae8e94 | 2010-02-24 14:33:15 -0800 | [diff] [blame] | 62 | android_text_AndroidBidi.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 63 | android_os_Debug.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 64 | android_os_FileUtils.cpp \ |
| 65 | android_os_MemoryFile.cpp \ |
Christopher Tate | fa9e7c0 | 2010-05-06 12:07:10 -0700 | [diff] [blame] | 66 | android_os_MessageQueue.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 67 | android_os_ParcelFileDescriptor.cpp \ |
Jeff Sharkey | d84e1ce | 2012-03-06 18:26:19 -0800 | [diff] [blame] | 68 | android_os_Parcel.cpp \ |
Stephen Smalley | c07fca3 | 2012-01-13 08:31:39 -0500 | [diff] [blame] | 69 | android_os_SELinux.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 70 | android_os_SystemClock.cpp \ |
| 71 | android_os_SystemProperties.cpp \ |
Jeff Brown | 481c157 | 2012-03-09 14:41:15 -0800 | [diff] [blame] | 72 | android_os_Trace.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 73 | android_os_UEventObserver.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 74 | android_net_LocalSocketImpl.cpp \ |
| 75 | android_net_NetUtils.cpp \ |
Dan Egnor | 2b4abcd | 2010-04-07 17:30:50 -0700 | [diff] [blame] | 76 | android_net_TrafficStats.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 77 | android_net_wifi_Wifi.cpp \ |
| 78 | android_nio_utils.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 79 | android_text_format_Time.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 80 | android_util_AssetManager.cpp \ |
| 81 | android_util_Binder.cpp \ |
| 82 | android_util_EventLog.cpp \ |
| 83 | android_util_Log.cpp \ |
| 84 | android_util_FloatMath.cpp \ |
| 85 | android_util_Process.cpp \ |
| 86 | android_util_StringBlock.cpp \ |
| 87 | android_util_XmlBlock.cpp \ |
Joseph Wen | f1f48bc | 2010-07-19 16:59:51 +0800 | [diff] [blame] | 88 | android/graphics/AutoDecodeCancel.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 89 | android/graphics/Bitmap.cpp \ |
| 90 | android/graphics/BitmapFactory.cpp \ |
| 91 | android/graphics/Camera.cpp \ |
| 92 | android/graphics/Canvas.cpp \ |
| 93 | android/graphics/ColorFilter.cpp \ |
| 94 | android/graphics/DrawFilter.cpp \ |
| 95 | android/graphics/CreateJavaOutputStreamAdaptor.cpp \ |
| 96 | android/graphics/Graphics.cpp \ |
Fabrice Di Meglio | 9f82b58 | 2011-03-08 12:02:59 -0800 | [diff] [blame] | 97 | android/graphics/HarfbuzzSkia.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 98 | android/graphics/Interpolator.cpp \ |
| 99 | android/graphics/LayerRasterizer.cpp \ |
| 100 | android/graphics/MaskFilter.cpp \ |
| 101 | android/graphics/Matrix.cpp \ |
| 102 | android/graphics/Movie.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 103 | android/graphics/NinePatch.cpp \ |
| 104 | android/graphics/NinePatchImpl.cpp \ |
Leon Scroggins | a06d86a | 2011-03-02 16:56:54 -0500 | [diff] [blame] | 105 | android/graphics/NinePatchPeeker.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 106 | android/graphics/Paint.cpp \ |
| 107 | android/graphics/Path.cpp \ |
| 108 | android/graphics/PathMeasure.cpp \ |
| 109 | android/graphics/PathEffect.cpp \ |
| 110 | android_graphics_PixelFormat.cpp \ |
| 111 | android/graphics/Picture.cpp \ |
| 112 | android/graphics/PorterDuff.cpp \ |
Wei-Ta Chen | 6b849e2 | 2010-09-07 17:32:18 +0800 | [diff] [blame] | 113 | android/graphics/BitmapRegionDecoder.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 114 | android/graphics/Rasterizer.cpp \ |
| 115 | android/graphics/Region.cpp \ |
| 116 | android/graphics/Shader.cpp \ |
Jamie Gennis | 6714efc | 2010-12-20 12:09:37 -0800 | [diff] [blame] | 117 | android/graphics/SurfaceTexture.cpp \ |
Doug Felt | f7cb1f7 | 2010-07-01 16:20:43 -0700 | [diff] [blame] | 118 | android/graphics/TextLayout.cpp \ |
Fabrice Di Meglio | d313c66 | 2011-02-24 19:56:18 -0800 | [diff] [blame] | 119 | android/graphics/TextLayoutCache.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 120 | android/graphics/Typeface.cpp \ |
Wei-Ta Chen | 6b849e2 | 2010-09-07 17:32:18 +0800 | [diff] [blame] | 121 | android/graphics/Utils.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 122 | android/graphics/Xfermode.cpp \ |
Wei-Ta Chen | bca2d61 | 2009-11-30 17:52:05 +0800 | [diff] [blame] | 123 | android/graphics/YuvToJpegEncoder.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 124 | android_media_AudioRecord.cpp \ |
| 125 | android_media_AudioSystem.cpp \ |
| 126 | android_media_AudioTrack.cpp \ |
| 127 | android_media_JetPlayer.cpp \ |
| 128 | android_media_ToneGenerator.cpp \ |
| 129 | android_hardware_Camera.cpp \ |
| 130 | android_hardware_SensorManager.cpp \ |
Mike Lockwood | b01e8bf | 2011-08-29 20:11:07 -0400 | [diff] [blame] | 131 | android_hardware_SerialPort.cpp \ |
Mike Lockwood | e7d511e | 2010-12-30 13:39:37 -0500 | [diff] [blame] | 132 | android_hardware_UsbDevice.cpp \ |
Mike Lockwood | acc29cc | 2011-03-11 08:18:08 -0500 | [diff] [blame] | 133 | android_hardware_UsbDeviceConnection.cpp \ |
Mike Lockwood | e7d511e | 2010-12-30 13:39:37 -0500 | [diff] [blame] | 134 | android_hardware_UsbRequest.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 135 | android_debug_JNITest.cpp \ |
| 136 | android_util_FileObserver.cpp \ |
| 137 | android/opengl/poly_clip.cpp.arm \ |
| 138 | android/opengl/util.cpp.arm \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 139 | android_bluetooth_HeadsetBase.cpp \ |
| 140 | android_bluetooth_common.cpp \ |
| 141 | android_bluetooth_BluetoothAudioGateway.cpp \ |
Nick Pelly | 0b6955a | 2009-05-26 19:13:43 -0700 | [diff] [blame] | 142 | android_bluetooth_BluetoothSocket.cpp \ |
Doug Kwan | 75d086e | 2011-07-16 19:14:18 -0700 | [diff] [blame] | 143 | android_bluetooth_c.c \ |
Nick Pelly | bd022f4 | 2009-08-14 18:33:38 -0700 | [diff] [blame] | 144 | android_server_BluetoothService.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 145 | android_server_BluetoothEventLoop.cpp \ |
| 146 | android_server_BluetoothA2dpService.cpp \ |
JP Abgrall | 98a4f7e | 2011-09-02 15:36:33 -0700 | [diff] [blame] | 147 | android_server_NetworkManagementSocketTagger.cpp \ |
Christopher Tate | ecaa7b4 | 2010-06-04 14:55:02 -0700 | [diff] [blame] | 148 | android_server_Watchdog.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 149 | android_ddm_DdmHandleNativeHeap.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 150 | com_android_internal_os_ZygoteInit.cpp \ |
Joe Onorato | 1cf5874 | 2009-06-12 11:06:24 -0700 | [diff] [blame] | 151 | android_backup_BackupDataInput.cpp \ |
Joe Onorato | d2110db | 2009-05-19 13:41:21 -0700 | [diff] [blame] | 152 | android_backup_BackupDataOutput.cpp \ |
Joe Onorato | 4ababd9 | 2009-06-25 18:29:18 -0400 | [diff] [blame] | 153 | android_backup_FileBackupHelperBase.cpp \ |
Kenny Root | 02c8730 | 2010-07-01 08:10:18 -0700 | [diff] [blame] | 154 | android_backup_BackupHelperDispatcher.cpp \ |
Christopher Tate | 4a627c7 | 2011-04-01 14:43:32 -0700 | [diff] [blame] | 155 | android_app_backup_FullBackup.cpp \ |
Dianne Hackborn | 08d5b8f | 2010-08-04 11:12:40 -0700 | [diff] [blame] | 156 | android_content_res_ObbScanner.cpp \ |
Chet Haase | 6e0ecb4 | 2010-11-03 19:41:18 -0700 | [diff] [blame] | 157 | android_content_res_Configuration.cpp \ |
| 158 | android_animation_PropertyValuesHolder.cpp |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 159 | |
| 160 | LOCAL_C_INCLUDES += \ |
| 161 | $(JNI_H_INCLUDE) \ |
| 162 | $(LOCAL_PATH)/android/graphics \ |
Romain Guy | e4d0112 | 2010-06-16 18:44:05 -0700 | [diff] [blame] | 163 | $(LOCAL_PATH)/../../libs/hwui \ |
Mathias Agopian | 08965ec | 2012-03-05 16:16:58 -0800 | [diff] [blame] | 164 | $(LOCAL_PATH)/../../../native/opengl/libs \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 165 | $(call include-path-for, bluedroid) \ |
| 166 | $(call include-path-for, libhardware)/hardware \ |
| 167 | $(call include-path-for, libhardware_legacy)/hardware_legacy \ |
James Dong | ba4d043 | 2012-03-28 11:03:25 -0700 | [diff] [blame] | 168 | $(TOP)/frameworks/av/include \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 169 | external/skia/include/core \ |
| 170 | external/skia/include/effects \ |
| 171 | external/skia/include/images \ |
Mike Reed | c70e06b | 2009-04-24 11:09:12 -0400 | [diff] [blame] | 172 | external/skia/src/ports \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 173 | external/skia/include/utils \ |
| 174 | external/sqlite/dist \ |
| 175 | external/sqlite/android \ |
| 176 | external/expat/lib \ |
| 177 | external/openssl/include \ |
| 178 | external/tremor/Tremor \ |
| 179 | external/icu4c/i18n \ |
| 180 | external/icu4c/common \ |
Wei-Ta Chen | bca2d61 | 2009-11-30 17:52:05 +0800 | [diff] [blame] | 181 | external/jpeg \ |
Fabrice Di Meglio | 5de5b1a | 2011-08-09 14:37:22 -0700 | [diff] [blame] | 182 | external/harfbuzz/contrib \ |
Fabrice Di Meglio | 9f82b58 | 2011-03-08 12:02:59 -0800 | [diff] [blame] | 183 | external/harfbuzz/src \ |
Kenny Root | 66269ea | 2011-07-12 14:14:01 -0700 | [diff] [blame] | 184 | external/zlib \ |
Elliott Hughes | 69a017b | 2011-04-08 14:10:28 -0700 | [diff] [blame] | 185 | frameworks/opt/emoji \ |
| 186 | libcore/include |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 187 | |
| 188 | LOCAL_SHARED_LIBRARIES := \ |
Mathias Agopian | 83c64e6 | 2012-02-20 16:58:20 -0800 | [diff] [blame] | 189 | libandroidfw \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 190 | libexpat \ |
| 191 | libnativehelper \ |
| 192 | libcutils \ |
| 193 | libutils \ |
Mathias Agopian | 25ba5b6 | 2009-05-18 15:08:03 -0700 | [diff] [blame] | 194 | libbinder \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 195 | libnetutils \ |
| 196 | libui \ |
Mathias Agopian | 1bf7978 | 2010-07-14 23:41:37 -0700 | [diff] [blame] | 197 | libgui \ |
Mathias Agopian | 000479f | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 198 | libcamera_client \ |
Mike Reed | b5af325 | 2009-07-10 15:33:21 -0400 | [diff] [blame] | 199 | libskia \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 200 | libsqlite \ |
| 201 | libdvm \ |
| 202 | libEGL \ |
| 203 | libGLESv1_CM \ |
Jack Palevich | 560814f | 2009-11-19 16:34:55 +0800 | [diff] [blame] | 204 | libGLESv2 \ |
Jack Palevich | a6276fd | 2009-12-28 19:31:43 +0800 | [diff] [blame] | 205 | libETC1 \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 206 | libhardware \ |
| 207 | libhardware_legacy \ |
| 208 | libsonivox \ |
| 209 | libcrypto \ |
| 210 | libssl \ |
| 211 | libicuuc \ |
| 212 | libicui18n \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 213 | libmedia \ |
Glenn Kasten | ae75f99 | 2012-03-16 11:42:24 -0700 | [diff] [blame] | 214 | libmedia_native \ |
Wei-Ta Chen | bca2d61 | 2009-11-30 17:52:05 +0800 | [diff] [blame] | 215 | libwpa_client \ |
Nick Pelly | cd0e839 | 2010-10-13 17:25:24 -0700 | [diff] [blame] | 216 | libjpeg \ |
Mike Lockwood | e7d511e | 2010-12-30 13:39:37 -0500 | [diff] [blame] | 217 | libusbhost \ |
Fabrice Di Meglio | 9f82b58 | 2011-03-08 12:02:59 -0800 | [diff] [blame] | 218 | libharfbuzz \ |
Jeff Brown | 7304c34 | 2012-05-11 18:42:42 -0700 | [diff] [blame] | 219 | libz |
Mike Lockwood | 755fd61 | 2010-05-25 19:08:48 -0400 | [diff] [blame] | 220 | |
Stephen Smalley | c07fca3 | 2012-01-13 08:31:39 -0500 | [diff] [blame] | 221 | ifeq ($(HAVE_SELINUX),true) |
| 222 | LOCAL_C_INCLUDES += external/libselinux/include |
| 223 | LOCAL_SHARED_LIBRARIES += libselinux |
| 224 | LOCAL_CFLAGS += -DHAVE_SELINUX |
| 225 | endif # HAVE_SELINUX |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 226 | |
Romain Guy | 1639351 | 2010-08-08 00:14:31 -0700 | [diff] [blame] | 227 | ifeq ($(USE_OPENGL_RENDERER),true) |
| 228 | LOCAL_SHARED_LIBRARIES += libhwui |
| 229 | endif |
| 230 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 231 | ifeq ($(BOARD_HAVE_BLUETOOTH),true) |
| 232 | LOCAL_C_INCLUDES += \ |
| 233 | external/dbus \ |
| 234 | system/bluetooth/bluez-clean-headers |
| 235 | LOCAL_CFLAGS += -DHAVE_BLUETOOTH |
| 236 | LOCAL_SHARED_LIBRARIES += libbluedroid libdbus |
| 237 | endif |
| 238 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 239 | LOCAL_SHARED_LIBRARIES += \ |
| 240 | libdl |
Jeff Brown | bd882b1 | 2011-07-11 22:12:16 -0700 | [diff] [blame] | 241 | # we need to access the private Bionic header |
| 242 | # <bionic_tls.h> in com_google_android_gles_jni_GLImpl.cpp |
| 243 | LOCAL_CFLAGS += -I$(LOCAL_PATH)/../../../../bionic/libc/private |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 244 | |
| 245 | LOCAL_LDLIBS += -lpthread -ldl |
| 246 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 247 | ifeq ($(WITH_MALLOC_LEAK_CHECK),true) |
| 248 | LOCAL_CFLAGS += -DMALLOC_LEAK_CHECK |
| 249 | endif |
| 250 | |
| 251 | LOCAL_MODULE:= libandroid_runtime |
| 252 | |
| 253 | include $(BUILD_SHARED_LIBRARY) |
| 254 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 255 | include $(call all-makefiles-under,$(LOCAL_PATH)) |