Android.mk revision 4bcdba848449b33d7022de527c526943aff1f5fd
19066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source ProjectLOCAL_PATH:= $(call my-dir)
29066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Projectinclude $(CLEAR_VARS)
388ba339aefd74ffe0ea978ebb659a430f82940f0Dan AlbertLOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
49066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project
59066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source ProjectLOCAL_CFLAGS += -DHAVE_CONFIG_H -DKHTML_NO_EXCEPTIONS -DGKWQ_NO_JAVA
69066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source ProjectLOCAL_CFLAGS += -DNO_SUPPORT_JS_BINDING -DQT_NO_WHEELEVENT -DKHTML_NO_XBL
79066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source ProjectLOCAL_CFLAGS += -U__APPLE__
810caf0390d39f0bd46876eee6ab2c9a73d4e1d39Dan AlbertLOCAL_CFLAGS += -Wno-unused-parameter
92961769ea94f69c191a2dd785b2504666c7292d0SvetoslavLOCAL_CFLAGS += -Wno-non-virtual-dtor
10f5fabdf83d2a1b30fcbd2a25882f98e282e4f762Kristian MonsenLOCAL_CFLAGS += -Wno-maybe-uninitialized -Wno-parentheses
11f5fabdf83d2a1b30fcbd2a25882f98e282e4f762Kristian MonsenLOCAL_CPPFLAGS += -Wno-conversion-null
129066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project
139066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Projectifeq ($(TARGET_ARCH), arm)
140f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    LOCAL_CFLAGS += -DPACKED="__attribute__ ((packed))"
159066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Projectelse
160f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    LOCAL_CFLAGS += -DPACKED=""
179066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Projectendif
189066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project
191473f46cbc82aa6f0ba744cc896a36923823d55bMathias AgopianLOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
201473f46cbc82aa6f0ba744cc896a36923823d55bMathias Agopian
214c5806b6b495c8d3c0558374b84a879b7488a140Elliott HughesLOCAL_CFLAGS += -DU_USING_ICU_NAMESPACE=0
224c5806b6b495c8d3c0558374b84a879b7488a140Elliott Hughes
239066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source ProjectLOCAL_SRC_FILES:= \
240f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    AndroidRuntime.cpp \
250f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    com_android_internal_content_NativeLibraryHelper.cpp \
260f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    com_google_android_gles_jni_EGLImpl.cpp \
270f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    com_google_android_gles_jni_GLImpl.cpp.arm \
280f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_app_NativeActivity.cpp \
290f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_EGL14.cpp \
300f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_EGLExt.cpp \
310f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_GLES10.cpp \
320f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_GLES10Ext.cpp \
330f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_GLES11.cpp \
340f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_GLES11Ext.cpp \
350f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_GLES20.cpp \
360f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_GLES30.cpp \
370f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_GLES31.cpp \
380f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_GLES31Ext.cpp \
390f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_database_CursorWindow.cpp \
400f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_database_SQLiteCommon.cpp \
410f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_database_SQLiteConnection.cpp \
420f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_database_SQLiteGlobal.cpp \
430f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_database_SQLiteDebug.cpp \
440f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_emoji_EmojiFactory.cpp \
450f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_DisplayEventReceiver.cpp \
46c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_DisplayListCanvas.cpp \
47c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_GraphicBuffer.cpp \
48c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_HardwareLayer.cpp \
490f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_InputChannel.cpp \
500f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_InputDevice.cpp \
510f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_InputEventReceiver.cpp \
520f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_InputEventSender.cpp \
530f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_InputQueue.cpp \
540f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_KeyCharacterMap.cpp \
55c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_KeyEvent.cpp \
560f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_MotionEvent.cpp \
570f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_PointerIcon.cpp \
580f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_RenderNode.cpp \
590f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_RenderNodeAnimator.cpp \
60c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_Surface.cpp \
61c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_SurfaceControl.cpp \
62c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_SurfaceSession.cpp \
63c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_TextureView.cpp \
64c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_ThreadedRenderer.cpp \
650f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_VelocityTracker.cpp \
660f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_text_AndroidCharacter.cpp \
670f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_text_AndroidBidi.cpp \
680f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_text_StaticLayout.cpp \
690f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_Debug.cpp \
700f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_MemoryFile.cpp \
710f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_MessageQueue.cpp \
720f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_Parcel.cpp \
730f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_SELinux.cpp \
740f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_SystemClock.cpp \
750f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_SystemProperties.cpp \
760f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_Trace.cpp \
770f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_UEventObserver.cpp \
780f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_net_LocalSocketImpl.cpp \
790f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_net_NetUtils.cpp \
800f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_net_TrafficStats.cpp \
810f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_nio_utils.cpp \
820f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_util_AssetManager.cpp \
830f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_util_Binder.cpp \
840f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_util_EventLog.cpp \
850f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_util_Log.cpp \
860f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_util_Process.cpp \
870f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_util_StringBlock.cpp \
880f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_util_XmlBlock.cpp \
890f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_graphics_Canvas.cpp \
900f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_graphics_Picture.cpp \
910f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/AutoDecodeCancel.cpp \
92ed1ce37759fe1312d590e7ed46f1eb65a8a38ac2Leon Scroggins III    android/graphics/AvoidXfermode.cpp \
930f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Bitmap.cpp \
940f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/BitmapFactory.cpp \
950f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Camera.cpp \
960f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/CanvasProperty.cpp \
970f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/ColorFilter.cpp \
980f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/DrawFilter.cpp \
990f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/FontFamily.cpp \
1000f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/CreateJavaOutputStreamAdaptor.cpp \
1010f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Graphics.cpp \
1020f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/HarfBuzzNGFaceSkia.cpp \
1030f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Interpolator.cpp \
1040f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/MaskFilter.cpp \
1050f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Matrix.cpp \
1060f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/MinikinSkia.cpp \
1070f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/MinikinUtils.cpp \
1080f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Movie.cpp \
1090f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/NinePatch.cpp \
1100f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/NinePatchImpl.cpp \
1110f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/NinePatchPeeker.cpp \
1120f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Paint.cpp \
1130f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/PaintImpl.cpp \
1140f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Path.cpp \
1150f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/PathMeasure.cpp \
1160f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/PathEffect.cpp \
1170f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Picture.cpp \
1180f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/PorterDuff.cpp \
1190f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/BitmapRegionDecoder.cpp \
1200f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Rasterizer.cpp \
1210f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Region.cpp \
1220f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Shader.cpp \
1230f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/SurfaceTexture.cpp \
1240f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Typeface.cpp \
1250f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/TypefaceImpl.cpp \
1260f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Utils.cpp \
1270f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Xfermode.cpp \
1280f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/YuvToJpegEncoder.cpp \
1290f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/pdf/PdfDocument.cpp \
1300f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/pdf/PdfEditor.cpp \
1310f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/pdf/PdfRenderer.cpp \
1320f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_media_AudioRecord.cpp \
1330f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_media_AudioSystem.cpp \
1340f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_media_AudioTrack.cpp \
1354bcdba848449b33d7022de527c526943aff1f5fdEric Laurent    android_media_DeviceCallback.cpp \
1360f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_media_JetPlayer.cpp \
1370f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_media_RemoteDisplay.cpp \
1380f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_media_ToneGenerator.cpp \
1390f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_Camera.cpp \
1400f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_camera2_CameraMetadata.cpp \
1410f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_camera2_legacy_LegacyCameraDevice.cpp \
1420f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_camera2_legacy_PerfMeasurement.cpp \
1430f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_camera2_DngCreator.cpp \
144633cb563f36001d6973b69291086cbdfe50612c5Eric Laurent    android_hardware_Radio.cpp \
1450f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_SensorManager.cpp \
1460f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_SerialPort.cpp \
1470f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_SoundTrigger.cpp \
1480f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_UsbDevice.cpp \
1490f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_UsbDeviceConnection.cpp \
1500f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_UsbRequest.cpp \
1510f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_location_ActivityRecognitionHardware.cpp \
1520f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_util_FileObserver.cpp \
1530f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/opengl/poly_clip.cpp.arm \
154f4faeac3525fe1ce3707ab785a1651aec367589dJohn Reck    android/opengl/util.cpp \
1550f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_server_NetworkManagementSocketTagger.cpp \
1560f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_server_Watchdog.cpp \
1570f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_ddm_DdmHandleNativeHeap.cpp \
1580f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_backup_BackupDataInput.cpp \
1590f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_backup_BackupDataOutput.cpp \
1600f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_backup_FileBackupHelperBase.cpp \
1610f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_backup_BackupHelperDispatcher.cpp \
1620f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_app_backup_FullBackup.cpp \
1630f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_content_res_ObbScanner.cpp \
1640f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_content_res_Configuration.cpp \
1650f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_animation_PropertyValuesHolder.cpp \
1660f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    com_android_internal_net_NetworkStatsFactory.cpp \
1670f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    com_android_internal_os_Zygote.cpp \
1680f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    com_android_internal_util_VirtualRefBasePtr.cpp \
1690f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    com_android_internal_view_animation_NativeInterpolatorFactoryHelper.cpp
1709066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project
1719066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source ProjectLOCAL_C_INCLUDES += \
1720f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(JNI_H_INCLUDE) \
1730f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(LOCAL_PATH)/android/graphics \
1740f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(LOCAL_PATH)/../../libs/hwui \
1750f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(LOCAL_PATH)/../../../native/opengl/libs \
1760f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(call include-path-for, bluedroid) \
1770f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(call include-path-for, libhardware)/hardware \
1780f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(call include-path-for, libhardware_legacy)/hardware_legacy \
1790f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(TOP)/frameworks/av/include \
180fe48e0dfb9862356cd4af645fb010236fc273a4aAndy Hung    $(TOP)/frameworks/base/media/jni \
1810f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(TOP)/system/media/camera/include \
1820f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(TOP)/system/netd/include \
1830f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/pdfium/core/include/fpdfapi \
1840f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/pdfium/core/include/fpdfdoc \
1850f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/pdfium/fpdfsdk/include \
1860f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/skia/src/core \
1870f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/skia/src/effects \
1880f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/skia/src/images \
1890f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/sqlite/dist \
1900f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/sqlite/android \
1910f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/expat/lib \
1920f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/tremor/Tremor \
1930f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/jpeg \
1940f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/harfbuzz_ng/src \
1950f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    frameworks/opt/emoji \
1960f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libcore/include \
1970f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(call include-path-for, audio-utils) \
1980f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    frameworks/minikin/include \
1990f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/freetype/include
2003660789f06c5fbcb81e6c7c79612048bff8f0f66Raph Levien# TODO: clean up Minikin so it doesn't need the freetype include
2019066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project
2029066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source ProjectLOCAL_SHARED_LIBRARIES := \
2030f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libmemtrack \
2040f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libandroidfw \
2050f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libexpat \
2060f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libnativehelper \
2070f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    liblog \
2080f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libcutils \
2090f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libutils \
2100f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libbinder \
2110f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libnetutils \
2120f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libui \
2130f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libgui \
2140f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libinput \
2150f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libinputflinger \
2160f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libcamera_client \
2170f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libcamera_metadata \
2180f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libskia \
2190f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libsqlite \
2200f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libEGL \
2210f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libGLESv1_CM \
2220f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libGLESv2 \
2230f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libETC1 \
2240f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libhardware \
2250f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libhardware_legacy \
2260f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libselinux \
2270f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libsonivox \
2280f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libcrypto \
2290f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libssl \
2300f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libicuuc \
2310f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libicui18n \
2320f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libmedia \
2330f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libjpeg \
2340f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libusbhost \
2350f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libharfbuzz_ng \
2360f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libz \
2370f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libaudioutils \
2380f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libpdfium \
2390f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libimg_utils \
2400f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libnetd_client \
241633cb563f36001d6973b69291086cbdfe50612c5Eric Laurent    libradio \
2420f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libsoundtrigger \
2430f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libminikin \
2440f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libprocessgroup \
245633cb563f36001d6973b69291086cbdfe50612c5Eric Laurent    libnativebridge \
246633cb563f36001d6973b69291086cbdfe50612c5Eric Laurent    libradio_metadata
247755fd617258d3f1731b2829d681cab680db0fdd5Mike Lockwood
2489066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source ProjectLOCAL_SHARED_LIBRARIES += \
249a2732a2bf98f7dbd063f4e5679f5b8bfcbec2698John Reck    libhwui \
2500f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libdl
25188ba339aefd74ffe0ea978ebb659a430f82940f0Dan Albert
252bd882b1c8708686d373c56e07e6bb8b1cb6ffd9eJeff Brown# we need to access the private Bionic header
253bd882b1c8708686d373c56e07e6bb8b1cb6ffd9eJeff Brown# <bionic_tls.h> in com_google_android_gles_jni_GLImpl.cpp
25488ba339aefd74ffe0ea978ebb659a430f82940f0Dan AlbertLOCAL_C_INCLUDES += bionic/libc/private
2559066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project
2569ae000ca8c05ad6f700ad7bf119bbc92fb964b57Andreas HuberLOCAL_MODULE:= libandroid_runtime
2579066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project
25826109fd328aec626dde78366d961c34600fc7b15Andreas Gampe# -Wno-unknown-pragmas: necessary for Clang as the GL bindings need to turn
25926109fd328aec626dde78366d961c34600fc7b15Andreas Gampe#                       off a GCC warning that Clang doesn't know.
26026109fd328aec626dde78366d961c34600fc7b15Andreas GampeLOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code -Wno-unknown-pragmas
2610f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe
262ed6b9dff563c5e22f040ff37e12c0d771e0478aeAndreas Gampe# -Wno-c++11-extensions: Clang warns about Skia using the C++11 override keyword, but this project
263ed6b9dff563c5e22f040ff37e12c0d771e0478aeAndreas Gampe#                        is not being compiled with that level. Remove once this has changed.
264ed6b9dff563c5e22f040ff37e12c0d771e0478aeAndreas GampeLOCAL_CFLAGS += -Wno-c++11-extensions
265ed6b9dff563c5e22f040ff37e12c0d771e0478aeAndreas Gampe
2669066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Projectinclude $(BUILD_SHARED_LIBRARY)
2679066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project
2689066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Projectinclude $(call all-makefiles-under,$(LOCAL_PATH))
269