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
199e41c7479ccaedb89a89a58079570ca0ee0e3727Tim Murrayifneq ($(ENABLE_CPUSETS),)
209e41c7479ccaedb89a89a58079570ca0ee0e3727Tim Murray    LOCAL_CFLAGS += -DENABLE_CPUSETS
219e41c7479ccaedb89a89a58079570ca0ee0e3727Tim Murrayendif
229e41c7479ccaedb89a89a58079570ca0ee0e3727Tim Murray
236d43a861d01ef48f37c69f96346a13d23164a585Tim Murrayifneq ($(ENABLE_SCHED_BOOST),)
246d43a861d01ef48f37c69f96346a13d23164a585Tim Murray    LOCAL_CFLAGS += -DENABLE_SCHED_BOOST
256d43a861d01ef48f37c69f96346a13d23164a585Tim Murrayendif
266d43a861d01ef48f37c69f96346a13d23164a585Tim Murray
271473f46cbc82aa6f0ba744cc896a36923823d55bMathias AgopianLOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
281473f46cbc82aa6f0ba744cc896a36923823d55bMathias Agopian
294c5806b6b495c8d3c0558374b84a879b7488a140Elliott HughesLOCAL_CFLAGS += -DU_USING_ICU_NAMESPACE=0
304c5806b6b495c8d3c0558374b84a879b7488a140Elliott Hughes
319066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source ProjectLOCAL_SRC_FILES:= \
320f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    AndroidRuntime.cpp \
330f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    com_android_internal_content_NativeLibraryHelper.cpp \
340f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    com_google_android_gles_jni_EGLImpl.cpp \
350f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    com_google_android_gles_jni_GLImpl.cpp.arm \
360f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_app_NativeActivity.cpp \
370f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_EGL14.cpp \
380f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_EGLExt.cpp \
390f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_GLES10.cpp \
400f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_GLES10Ext.cpp \
410f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_GLES11.cpp \
420f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_GLES11Ext.cpp \
430f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_GLES20.cpp \
440f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_GLES30.cpp \
450f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_GLES31.cpp \
460f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_GLES31Ext.cpp \
470f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_database_CursorWindow.cpp \
480f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_database_SQLiteCommon.cpp \
490f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_database_SQLiteConnection.cpp \
500f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_database_SQLiteGlobal.cpp \
510f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_database_SQLiteDebug.cpp \
520f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_emoji_EmojiFactory.cpp \
530f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_DisplayEventReceiver.cpp \
54c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_DisplayListCanvas.cpp \
55c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_GraphicBuffer.cpp \
56c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_HardwareLayer.cpp \
570f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_InputChannel.cpp \
580f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_InputDevice.cpp \
590f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_InputEventReceiver.cpp \
600f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_InputEventSender.cpp \
610f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_InputQueue.cpp \
620f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_KeyCharacterMap.cpp \
63c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_KeyEvent.cpp \
640f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_MotionEvent.cpp \
650f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_PointerIcon.cpp \
660f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_RenderNode.cpp \
670f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_RenderNodeAnimator.cpp \
68c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_Surface.cpp \
69c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_SurfaceControl.cpp \
70c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_SurfaceSession.cpp \
71c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_TextureView.cpp \
72c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_ThreadedRenderer.cpp \
730f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_VelocityTracker.cpp \
740f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_text_AndroidCharacter.cpp \
750f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_text_AndroidBidi.cpp \
760f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_text_StaticLayout.cpp \
770f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_Debug.cpp \
780f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_MemoryFile.cpp \
790f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_MessageQueue.cpp \
800f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_Parcel.cpp \
810f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_SELinux.cpp \
820f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_SystemClock.cpp \
830f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_SystemProperties.cpp \
840f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_Trace.cpp \
850f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_UEventObserver.cpp \
860f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_net_LocalSocketImpl.cpp \
870f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_net_NetUtils.cpp \
880f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_net_TrafficStats.cpp \
890f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_nio_utils.cpp \
900f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_util_AssetManager.cpp \
910f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_util_Binder.cpp \
920f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_util_EventLog.cpp \
930f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_util_Log.cpp \
940f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_util_Process.cpp \
950f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_util_StringBlock.cpp \
960f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_util_XmlBlock.cpp \
970f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_graphics_Canvas.cpp \
980f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_graphics_Picture.cpp \
990f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/AutoDecodeCancel.cpp \
100ed1ce37759fe1312d590e7ed46f1eb65a8a38ac2Leon Scroggins III    android/graphics/AvoidXfermode.cpp \
1010f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Bitmap.cpp \
1020f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/BitmapFactory.cpp \
1030f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Camera.cpp \
1040f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/CanvasProperty.cpp \
1050f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/ColorFilter.cpp \
1060f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/DrawFilter.cpp \
1070f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/FontFamily.cpp \
1080f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/CreateJavaOutputStreamAdaptor.cpp \
1090f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Graphics.cpp \
1100f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/HarfBuzzNGFaceSkia.cpp \
1110f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Interpolator.cpp \
1120f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/MaskFilter.cpp \
1130f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Matrix.cpp \
1140f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/MinikinSkia.cpp \
1150f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/MinikinUtils.cpp \
1160f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Movie.cpp \
1170f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/NinePatch.cpp \
1180f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/NinePatchImpl.cpp \
1190f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/NinePatchPeeker.cpp \
1200f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Paint.cpp \
1210f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/PaintImpl.cpp \
1220f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Path.cpp \
1230f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/PathMeasure.cpp \
1240f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/PathEffect.cpp \
1250f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Picture.cpp \
1260f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/PorterDuff.cpp \
1270f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/BitmapRegionDecoder.cpp \
1280f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Rasterizer.cpp \
1290f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Region.cpp \
1300f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Shader.cpp \
1310f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/SurfaceTexture.cpp \
1320f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Typeface.cpp \
1330f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/TypefaceImpl.cpp \
1340f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Utils.cpp \
1350f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Xfermode.cpp \
1360f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/YuvToJpegEncoder.cpp \
1370f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/pdf/PdfDocument.cpp \
1380f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/pdf/PdfEditor.cpp \
1390f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/pdf/PdfRenderer.cpp \
1400f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_media_AudioRecord.cpp \
1410f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_media_AudioSystem.cpp \
1420f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_media_AudioTrack.cpp \
1434bcdba848449b33d7022de527c526943aff1f5fdEric Laurent    android_media_DeviceCallback.cpp \
1440f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_media_JetPlayer.cpp \
1450f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_media_RemoteDisplay.cpp \
1460f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_media_ToneGenerator.cpp \
1470f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_Camera.cpp \
1480f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_camera2_CameraMetadata.cpp \
1490f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_camera2_legacy_LegacyCameraDevice.cpp \
1500f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_camera2_legacy_PerfMeasurement.cpp \
1510f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_camera2_DngCreator.cpp \
152633cb563f36001d6973b69291086cbdfe50612c5Eric Laurent    android_hardware_Radio.cpp \
1530f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_SensorManager.cpp \
1540f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_SerialPort.cpp \
1550f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_SoundTrigger.cpp \
1560f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_UsbDevice.cpp \
1570f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_UsbDeviceConnection.cpp \
1580f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_UsbRequest.cpp \
1590f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_location_ActivityRecognitionHardware.cpp \
1600f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_util_FileObserver.cpp \
1610f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/opengl/poly_clip.cpp.arm \
162f4faeac3525fe1ce3707ab785a1651aec367589dJohn Reck    android/opengl/util.cpp \
1630f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_server_NetworkManagementSocketTagger.cpp \
1640f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_server_Watchdog.cpp \
1650f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_ddm_DdmHandleNativeHeap.cpp \
1660f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_backup_BackupDataInput.cpp \
1670f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_backup_BackupDataOutput.cpp \
1680f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_backup_FileBackupHelperBase.cpp \
1690f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_backup_BackupHelperDispatcher.cpp \
1700f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_app_backup_FullBackup.cpp \
1710f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_content_res_ObbScanner.cpp \
1720f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_content_res_Configuration.cpp \
1730f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_animation_PropertyValuesHolder.cpp \
1740f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    com_android_internal_net_NetworkStatsFactory.cpp \
1750f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    com_android_internal_os_Zygote.cpp \
1760f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    com_android_internal_util_VirtualRefBasePtr.cpp \
1770f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    com_android_internal_view_animation_NativeInterpolatorFactoryHelper.cpp
1789066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project
1799066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source ProjectLOCAL_C_INCLUDES += \
1800f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(JNI_H_INCLUDE) \
1810f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(LOCAL_PATH)/android/graphics \
1820f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(LOCAL_PATH)/../../libs/hwui \
1830f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(LOCAL_PATH)/../../../native/opengl/libs \
1840f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(call include-path-for, bluedroid) \
1850f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(call include-path-for, libhardware)/hardware \
1860f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(call include-path-for, libhardware_legacy)/hardware_legacy \
1870f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(TOP)/frameworks/av/include \
188fe48e0dfb9862356cd4af645fb010236fc273a4aAndy Hung    $(TOP)/frameworks/base/media/jni \
1890f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(TOP)/system/media/camera/include \
1900f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(TOP)/system/netd/include \
1910f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/pdfium/core/include/fpdfapi \
1920f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/pdfium/core/include/fpdfdoc \
1930f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/pdfium/fpdfsdk/include \
194fbd02886559e7ca2b619ed0d9bff76b10cdb23c3Svet Ganov    external/pdfium/public \
1950f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/skia/src/core \
1960f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/skia/src/effects \
1970f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/skia/src/images \
1980f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/sqlite/dist \
1990f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/sqlite/android \
2000f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/expat/lib \
2010f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/tremor/Tremor \
2020f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/jpeg \
2030f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/harfbuzz_ng/src \
2040f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    frameworks/opt/emoji \
2050f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libcore/include \
2060f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(call include-path-for, audio-utils) \
2070f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    frameworks/minikin/include \
2080f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/freetype/include
2093660789f06c5fbcb81e6c7c79612048bff8f0f66Raph Levien# TODO: clean up Minikin so it doesn't need the freetype include
2109066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project
2119066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source ProjectLOCAL_SHARED_LIBRARIES := \
2120f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libmemtrack \
2130f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libandroidfw \
2140f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libexpat \
2150f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libnativehelper \
2160f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    liblog \
2170f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libcutils \
2180f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libutils \
2190f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libbinder \
2200f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libnetutils \
2210f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libui \
2220f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libgui \
2230f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libinput \
2240f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libinputflinger \
2250f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libcamera_client \
2260f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libcamera_metadata \
2270f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libskia \
2280f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libsqlite \
2290f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libEGL \
2300f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libGLESv1_CM \
2310f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libGLESv2 \
2320f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libETC1 \
2330f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libhardware \
2340f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libhardware_legacy \
2350f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libselinux \
2360f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libsonivox \
2370f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libcrypto \
2380f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libssl \
2390f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libicuuc \
2400f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libicui18n \
2410f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libmedia \
2420f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libjpeg \
2430f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libusbhost \
2440f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libharfbuzz_ng \
2450f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libz \
2460f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libaudioutils \
2470f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libpdfium \
2480f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libimg_utils \
2490f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libnetd_client \
250633cb563f36001d6973b69291086cbdfe50612c5Eric Laurent    libradio \
2510f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libsoundtrigger \
2520f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libminikin \
2530f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libprocessgroup \
254633cb563f36001d6973b69291086cbdfe50612c5Eric Laurent    libnativebridge \
255633cb563f36001d6973b69291086cbdfe50612c5Eric Laurent    libradio_metadata
256755fd617258d3f1731b2829d681cab680db0fdd5Mike Lockwood
2579066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source ProjectLOCAL_SHARED_LIBRARIES += \
258a2732a2bf98f7dbd063f4e5679f5b8bfcbec2698John Reck    libhwui \
2590f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libdl
26088ba339aefd74ffe0ea978ebb659a430f82940f0Dan Albert
261bd882b1c8708686d373c56e07e6bb8b1cb6ffd9eJeff Brown# we need to access the private Bionic header
262bd882b1c8708686d373c56e07e6bb8b1cb6ffd9eJeff Brown# <bionic_tls.h> in com_google_android_gles_jni_GLImpl.cpp
26388ba339aefd74ffe0ea978ebb659a430f82940f0Dan AlbertLOCAL_C_INCLUDES += bionic/libc/private
2649066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project
2659ae000ca8c05ad6f700ad7bf119bbc92fb964b57Andreas HuberLOCAL_MODULE:= libandroid_runtime
2669066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project
26726109fd328aec626dde78366d961c34600fc7b15Andreas Gampe# -Wno-unknown-pragmas: necessary for Clang as the GL bindings need to turn
26826109fd328aec626dde78366d961c34600fc7b15Andreas Gampe#                       off a GCC warning that Clang doesn't know.
26985d99546a0dd6e38c2d60903c3b3e73577e1207cGlenn KastenLOCAL_CFLAGS += -Wall -Werror -Wno-error=deprecated-declarations -Wunused -Wunreachable-code \
27085d99546a0dd6e38c2d60903c3b3e73577e1207cGlenn Kasten        -Wno-unknown-pragmas
2710f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe
272ed6b9dff563c5e22f040ff37e12c0d771e0478aeAndreas Gampe# -Wno-c++11-extensions: Clang warns about Skia using the C++11 override keyword, but this project
273ed6b9dff563c5e22f040ff37e12c0d771e0478aeAndreas Gampe#                        is not being compiled with that level. Remove once this has changed.
274ed6b9dff563c5e22f040ff37e12c0d771e0478aeAndreas GampeLOCAL_CFLAGS += -Wno-c++11-extensions
275ed6b9dff563c5e22f040ff37e12c0d771e0478aeAndreas Gampe
276b08c24a3e4f5362bbddc3735802e844e1992cd46Andreas Gampe# b/22414716: thread_local (android/graphics/Paint.cpp) and Clang don't like each other at the
277b08c24a3e4f5362bbddc3735802e844e1992cd46Andreas Gampe#             moment.
278b08c24a3e4f5362bbddc3735802e844e1992cd46Andreas GampeLOCAL_CLANG := false
279b08c24a3e4f5362bbddc3735802e844e1992cd46Andreas Gampe
2809066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Projectinclude $(BUILD_SHARED_LIBRARY)
2819066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project
2829066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Projectinclude $(call all-makefiles-under,$(LOCAL_PATH))
283