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 | |
| 14 | ifneq ($(USE_CUSTOM_RUNTIME_HEAP_MAX),) |
| 15 | LOCAL_CFLAGS += -DCUSTOM_RUNTIME_HEAP_MAX=$(USE_CUSTOM_RUNTIME_HEAP_MAX) |
| 16 | endif |
| 17 | |
| 18 | LOCAL_SRC_FILES:= \ |
| 19 | ActivityManager.cpp \ |
| 20 | AndroidRuntime.cpp \ |
| 21 | CursorWindow.cpp \ |
| 22 | com_google_android_gles_jni_EGLImpl.cpp \ |
| 23 | com_google_android_gles_jni_GLImpl.cpp.arm \ |
Jack Palevich | 27f8002 | 2009-04-15 19:13:17 -0700 | [diff] [blame] | 24 | android_opengl_GLES10.cpp \ |
| 25 | android_opengl_GLES10Ext.cpp \ |
| 26 | android_opengl_GLES11.cpp \ |
| 27 | android_opengl_GLES11Ext.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 28 | android_database_CursorWindow.cpp \ |
| 29 | android_database_SQLiteDebug.cpp \ |
| 30 | android_database_SQLiteDatabase.cpp \ |
| 31 | android_database_SQLiteProgram.cpp \ |
| 32 | android_database_SQLiteQuery.cpp \ |
| 33 | android_database_SQLiteStatement.cpp \ |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 34 | android_emoji_EmojiFactory.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 35 | android_view_Display.cpp \ |
| 36 | android_view_Surface.cpp \ |
| 37 | android_view_ViewRoot.cpp \ |
| 38 | android_text_AndroidCharacter.cpp \ |
| 39 | android_text_KeyCharacterMap.cpp \ |
| 40 | android_os_Debug.cpp \ |
| 41 | android_os_Exec.cpp \ |
| 42 | android_os_FileUtils.cpp \ |
| 43 | android_os_MemoryFile.cpp \ |
| 44 | android_os_ParcelFileDescriptor.cpp \ |
| 45 | android_os_Power.cpp \ |
| 46 | android_os_StatFs.cpp \ |
| 47 | android_os_SystemClock.cpp \ |
| 48 | android_os_SystemProperties.cpp \ |
| 49 | android_os_UEventObserver.cpp \ |
| 50 | android_os_Hardware.cpp \ |
| 51 | android_net_LocalSocketImpl.cpp \ |
| 52 | android_net_NetUtils.cpp \ |
| 53 | android_net_wifi_Wifi.cpp \ |
| 54 | android_nio_utils.cpp \ |
| 55 | android_pim_EventRecurrence.cpp \ |
| 56 | android_text_format_Time.cpp \ |
| 57 | android_security_Md5MessageDigest.cpp \ |
| 58 | android_util_AssetManager.cpp \ |
| 59 | android_util_Binder.cpp \ |
| 60 | android_util_EventLog.cpp \ |
| 61 | android_util_Log.cpp \ |
| 62 | android_util_FloatMath.cpp \ |
| 63 | android_util_Process.cpp \ |
| 64 | android_util_StringBlock.cpp \ |
| 65 | android_util_XmlBlock.cpp \ |
| 66 | android_util_Base64.cpp \ |
| 67 | android/graphics/Bitmap.cpp \ |
| 68 | android/graphics/BitmapFactory.cpp \ |
| 69 | android/graphics/Camera.cpp \ |
| 70 | android/graphics/Canvas.cpp \ |
| 71 | android/graphics/ColorFilter.cpp \ |
| 72 | android/graphics/DrawFilter.cpp \ |
| 73 | android/graphics/CreateJavaOutputStreamAdaptor.cpp \ |
| 74 | android/graphics/Graphics.cpp \ |
| 75 | android/graphics/Interpolator.cpp \ |
| 76 | android/graphics/LayerRasterizer.cpp \ |
| 77 | android/graphics/MaskFilter.cpp \ |
| 78 | android/graphics/Matrix.cpp \ |
| 79 | android/graphics/Movie.cpp \ |
| 80 | android/graphics/NIOBuffer.cpp \ |
| 81 | android/graphics/NinePatch.cpp \ |
| 82 | android/graphics/NinePatchImpl.cpp \ |
| 83 | android/graphics/Paint.cpp \ |
| 84 | android/graphics/Path.cpp \ |
| 85 | android/graphics/PathMeasure.cpp \ |
| 86 | android/graphics/PathEffect.cpp \ |
| 87 | android_graphics_PixelFormat.cpp \ |
| 88 | android/graphics/Picture.cpp \ |
| 89 | android/graphics/PorterDuff.cpp \ |
| 90 | android/graphics/Rasterizer.cpp \ |
| 91 | android/graphics/Region.cpp \ |
| 92 | android/graphics/Shader.cpp \ |
| 93 | android/graphics/Typeface.cpp \ |
| 94 | android/graphics/Xfermode.cpp \ |
| 95 | android_media_AudioRecord.cpp \ |
| 96 | android_media_AudioSystem.cpp \ |
| 97 | android_media_AudioTrack.cpp \ |
| 98 | android_media_JetPlayer.cpp \ |
| 99 | android_media_ToneGenerator.cpp \ |
| 100 | android_hardware_Camera.cpp \ |
| 101 | android_hardware_SensorManager.cpp \ |
| 102 | android_debug_JNITest.cpp \ |
| 103 | android_util_FileObserver.cpp \ |
| 104 | android/opengl/poly_clip.cpp.arm \ |
| 105 | android/opengl/util.cpp.arm \ |
| 106 | android_bluetooth_Database.cpp \ |
| 107 | android_bluetooth_HeadsetBase.cpp \ |
| 108 | android_bluetooth_common.cpp \ |
| 109 | android_bluetooth_BluetoothAudioGateway.cpp \ |
| 110 | android_bluetooth_RfcommSocket.cpp \ |
| 111 | android_bluetooth_ScoSocket.cpp \ |
| 112 | android_server_BluetoothDeviceService.cpp \ |
| 113 | android_server_BluetoothEventLoop.cpp \ |
| 114 | android_server_BluetoothA2dpService.cpp \ |
| 115 | android_message_digest_sha1.cpp \ |
| 116 | android_ddm_DdmHandleNativeHeap.cpp \ |
| 117 | android_location_GpsLocationProvider.cpp \ |
| 118 | com_android_internal_os_ZygoteInit.cpp \ |
| 119 | com_android_internal_graphics_NativeUtils.cpp |
| 120 | |
| 121 | LOCAL_C_INCLUDES += \ |
| 122 | $(JNI_H_INCLUDE) \ |
| 123 | $(LOCAL_PATH)/android/graphics \ |
| 124 | $(call include-path-for, bluedroid) \ |
| 125 | $(call include-path-for, libhardware)/hardware \ |
| 126 | $(call include-path-for, libhardware_legacy)/hardware_legacy \ |
| 127 | $(LOCAL_PATH)/../../include/ui \ |
| 128 | $(LOCAL_PATH)/../../include/utils \ |
| 129 | external/skia/include/core \ |
| 130 | external/skia/include/effects \ |
| 131 | external/skia/include/images \ |
Mike Reed | c70e06b | 2009-04-24 11:09:12 -0400 | [diff] [blame] | 132 | external/skia/src/ports \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 133 | external/skia/include/utils \ |
| 134 | external/sqlite/dist \ |
| 135 | external/sqlite/android \ |
| 136 | external/expat/lib \ |
| 137 | external/openssl/include \ |
| 138 | external/tremor/Tremor \ |
| 139 | external/icu4c/i18n \ |
| 140 | external/icu4c/common \ |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 141 | frameworks/opt/emoji |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 142 | |
| 143 | LOCAL_SHARED_LIBRARIES := \ |
| 144 | libexpat \ |
| 145 | libnativehelper \ |
| 146 | libcutils \ |
| 147 | libutils \ |
| 148 | libnetutils \ |
| 149 | libui \ |
| 150 | libskiagl \ |
| 151 | libsgl \ |
| 152 | libcorecg \ |
| 153 | libsqlite \ |
| 154 | libdvm \ |
| 155 | libEGL \ |
| 156 | libGLESv1_CM \ |
| 157 | libhardware \ |
| 158 | libhardware_legacy \ |
| 159 | libsonivox \ |
| 160 | libcrypto \ |
| 161 | libssl \ |
| 162 | libicuuc \ |
| 163 | libicui18n \ |
| 164 | libicudata \ |
| 165 | libmedia \ |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 166 | libwpa_client \ |
| 167 | libemoji |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 168 | |
| 169 | ifeq ($(BOARD_HAVE_BLUETOOTH),true) |
| 170 | LOCAL_C_INCLUDES += \ |
| 171 | external/dbus \ |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 172 | system/bluetooth/bluez-clean-headers |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 173 | LOCAL_CFLAGS += -DHAVE_BLUETOOTH |
| 174 | LOCAL_SHARED_LIBRARIES += libbluedroid libdbus |
| 175 | endif |
| 176 | |
| 177 | ifneq ($(TARGET_SIMULATOR),true) |
| 178 | LOCAL_SHARED_LIBRARIES += \ |
| 179 | libdl |
| 180 | # we need to access the private Bionic header |
| 181 | # <bionic_tls.h> in com_google_android_gles_jni_GLImpl.cpp |
| 182 | LOCAL_CFLAGS += -I$(LOCAL_PATH)/../../../../bionic/libc/private |
| 183 | endif |
| 184 | |
| 185 | LOCAL_LDLIBS += -lpthread -ldl |
| 186 | |
| 187 | ifeq ($(TARGET_SIMULATOR),true) |
| 188 | ifeq ($(TARGET_OS)-$(TARGET_ARCH),linux-x86) |
| 189 | LOCAL_LDLIBS += -lrt |
| 190 | endif |
| 191 | endif |
| 192 | |
| 193 | ifeq ($(WITH_MALLOC_LEAK_CHECK),true) |
| 194 | LOCAL_CFLAGS += -DMALLOC_LEAK_CHECK |
| 195 | endif |
| 196 | |
| 197 | LOCAL_MODULE:= libandroid_runtime |
| 198 | |
| 199 | include $(BUILD_SHARED_LIBRARY) |
| 200 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 201 | include $(call all-makefiles-under,$(LOCAL_PATH)) |