19066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source ProjectLOCAL_PATH:= $(call my-dir)
29066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Projectinclude $(CLEAR_VARS)
39066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project
49066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source ProjectLOCAL_CFLAGS += -DHAVE_CONFIG_H -DKHTML_NO_EXCEPTIONS -DGKWQ_NO_JAVA
59066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source ProjectLOCAL_CFLAGS += -DNO_SUPPORT_JS_BINDING -DQT_NO_WHEELEVENT -DKHTML_NO_XBL
69066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source ProjectLOCAL_CFLAGS += -U__APPLE__
710caf0390d39f0bd46876eee6ab2c9a73d4e1d39Dan AlbertLOCAL_CFLAGS += -Wno-unused-parameter
82961769ea94f69c191a2dd785b2504666c7292d0SvetoslavLOCAL_CFLAGS += -Wno-non-virtual-dtor
9f5fabdf83d2a1b30fcbd2a25882f98e282e4f762Kristian MonsenLOCAL_CFLAGS += -Wno-maybe-uninitialized -Wno-parentheses
10f0a76088f8132ca3ea10241c55c5e81aebe072c2Chris CraikLOCAL_CFLAGS += -DHWUI_NEW_OPS
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 \
364449ef5b6a85ef4e16dbd5d939db7b11eac0b586Dimitry Ivanov    android_app_Activity.cpp \
370997908c95151ce24609c10731990e648156b95dDimitry Ivanov    android_app_ApplicationLoaders.cpp \
380f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_app_NativeActivity.cpp \
396235a94ffaed1d82cee2317481c18776f601da1bMichal Karpinski    android_app_admin_SecurityLog.cpp \
400f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_EGL14.cpp \
410f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_EGLExt.cpp \
420f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_GLES10.cpp \
430f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_GLES10Ext.cpp \
440f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_GLES11.cpp \
450f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_GLES11Ext.cpp \
460f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_GLES20.cpp \
470f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_GLES30.cpp \
480f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_GLES31.cpp \
490f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_opengl_GLES31Ext.cpp \
5038c1a7e732660212687cf375f5e5ed354b91e431Pablo Ceballos    android_opengl_GLES32.cpp \
510f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_database_CursorWindow.cpp \
520f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_database_SQLiteCommon.cpp \
530f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_database_SQLiteConnection.cpp \
540f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_database_SQLiteGlobal.cpp \
550f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_database_SQLiteDebug.cpp \
56766431aa57c16ece8842287a92b2e7208e3b8ac3Doris Liu    android_graphics_drawable_AnimatedVectorDrawable.cpp \
574bbc2931263b232fba61807fca00e127573eff42Doris Liu    android_graphics_drawable_VectorDrawable.cpp \
580f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_DisplayEventReceiver.cpp \
59c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_DisplayListCanvas.cpp \
60c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_GraphicBuffer.cpp \
61c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_HardwareLayer.cpp \
620f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_InputChannel.cpp \
630f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_InputDevice.cpp \
640f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_InputEventReceiver.cpp \
650f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_InputEventSender.cpp \
660f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_InputQueue.cpp \
670f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_KeyCharacterMap.cpp \
68c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_KeyEvent.cpp \
690f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_MotionEvent.cpp \
700f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_PointerIcon.cpp \
710f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_RenderNode.cpp \
720f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_RenderNodeAnimator.cpp \
73c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_Surface.cpp \
74c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_SurfaceControl.cpp \
75c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_SurfaceSession.cpp \
76c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_TextureView.cpp \
77c9070ebd13263a341511cf779087a46750021196Chris Craik    android_view_ThreadedRenderer.cpp \
780f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_view_VelocityTracker.cpp \
790f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_text_AndroidCharacter.cpp \
800f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_text_AndroidBidi.cpp \
810f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_text_StaticLayout.cpp \
820f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_Debug.cpp \
8379bf392dc6d50436ff16693267c808fc115ab07cJesse Hall    android_os_GraphicsEnvironment.cpp \
840f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_MemoryFile.cpp \
850f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_MessageQueue.cpp \
860f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_Parcel.cpp \
870f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_SELinux.cpp \
880f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_SystemClock.cpp \
890f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_SystemProperties.cpp \
900f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_Trace.cpp \
910f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_os_UEventObserver.cpp \
920f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_net_LocalSocketImpl.cpp \
930f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_net_NetUtils.cpp \
940f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_net_TrafficStats.cpp \
950f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_nio_utils.cpp \
960f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_util_AssetManager.cpp \
970f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_util_Binder.cpp \
980f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_util_EventLog.cpp \
9953a441ca8eda5a3e6209a952b1bbd32a39e19a1cSvet Ganov    android_util_MemoryIntArray.cpp \
1000f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_util_Log.cpp \
101cdd23f9d45ea2974c3f295754b89f5462bdd2c0dDoris Liu    android_util_PathParser.cpp \
1020f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_util_Process.cpp \
1030f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_util_StringBlock.cpp \
1040f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_util_XmlBlock.cpp \
1058a7c1606d88873c5a1b5764c16cb046b6f2275b2Przemyslaw Szczepaniak    android_util_jar_StrictJarFile.cpp \
1060f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_graphics_Canvas.cpp \
1070f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_graphics_Picture.cpp \
1080f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Bitmap.cpp \
1090f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/BitmapFactory.cpp \
1100f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Camera.cpp \
1110f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/CanvasProperty.cpp \
1120f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/ColorFilter.cpp \
1130f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/DrawFilter.cpp \
1140f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/FontFamily.cpp \
1150f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/CreateJavaOutputStreamAdaptor.cpp \
1160f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Graphics.cpp \
1170f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/HarfBuzzNGFaceSkia.cpp \
1180f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Interpolator.cpp \
1190f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/MaskFilter.cpp \
1200f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Matrix.cpp \
1210f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Movie.cpp \
1220f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/NinePatch.cpp \
1230f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/NinePatchPeeker.cpp \
1240f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Paint.cpp \
1250f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Path.cpp \
1260f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/PathMeasure.cpp \
1270f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/PathEffect.cpp \
1280f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Picture.cpp \
1290f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/PorterDuff.cpp \
1300f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/BitmapRegionDecoder.cpp \
1310f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Rasterizer.cpp \
1320f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Region.cpp \
1330f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Shader.cpp \
1340f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/SurfaceTexture.cpp \
1350f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Typeface.cpp \
1360f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Utils.cpp \
1370f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/Xfermode.cpp \
1380f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/YuvToJpegEncoder.cpp \
1390f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/pdf/PdfDocument.cpp \
1400f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/pdf/PdfEditor.cpp \
1410f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/graphics/pdf/PdfRenderer.cpp \
1420f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_media_AudioRecord.cpp \
1430f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_media_AudioSystem.cpp \
1440f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_media_AudioTrack.cpp \
1454bcdba848449b33d7022de527c526943aff1f5fdEric Laurent    android_media_DeviceCallback.cpp \
1460f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_media_JetPlayer.cpp \
1470f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_media_RemoteDisplay.cpp \
1480f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_media_ToneGenerator.cpp \
1490f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_Camera.cpp \
1500f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_camera2_CameraMetadata.cpp \
1510f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_camera2_legacy_LegacyCameraDevice.cpp \
1520f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_camera2_legacy_PerfMeasurement.cpp \
1530f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_camera2_DngCreator.cpp \
154633cb563f36001d6973b69291086cbdfe50612c5Eric Laurent    android_hardware_Radio.cpp \
1550f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_SensorManager.cpp \
1560f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_SerialPort.cpp \
1570f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_SoundTrigger.cpp \
1580f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_UsbDevice.cpp \
1590f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_UsbDeviceConnection.cpp \
1600f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_UsbRequest.cpp \
1619ff7d2235427b211344fa58b608424805a21aa24Peng Xu    android_hardware_location_ContextHubService.cpp \
1620f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_hardware_location_ActivityRecognitionHardware.cpp \
1630f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_util_FileObserver.cpp \
1640f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android/opengl/poly_clip.cpp.arm \
165f4faeac3525fe1ce3707ab785a1651aec367589dJohn Reck    android/opengl/util.cpp \
1660f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_server_NetworkManagementSocketTagger.cpp \
1670f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_server_Watchdog.cpp \
1680f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_ddm_DdmHandleNativeHeap.cpp \
1690f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_backup_BackupDataInput.cpp \
1700f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_backup_BackupDataOutput.cpp \
1710f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_backup_FileBackupHelperBase.cpp \
1720f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_backup_BackupHelperDispatcher.cpp \
1730f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_app_backup_FullBackup.cpp \
1740f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_content_res_ObbScanner.cpp \
1750f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_content_res_Configuration.cpp \
1760f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    android_animation_PropertyValuesHolder.cpp \
1770f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    com_android_internal_net_NetworkStatsFactory.cpp \
178b1ef62bb3834af6bdf8017e56b2cc614a566229eDimitry Ivanov    com_android_internal_os_PathClassLoaderFactory.cpp \
1790f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    com_android_internal_os_Zygote.cpp \
1800f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    com_android_internal_util_VirtualRefBasePtr.cpp \
181f8754ac2127f8adf40bd4731f39b16340acdb2f7Polina Bondarenko    com_android_internal_view_animation_NativeInterpolatorFactoryHelper.cpp
1829066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project
1839066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source ProjectLOCAL_C_INCLUDES += \
1840f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(JNI_H_INCLUDE) \
1850f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(LOCAL_PATH)/android/graphics \
1860f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(LOCAL_PATH)/../../libs/hwui \
1870f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(LOCAL_PATH)/../../../native/opengl/libs \
18803d8f76836c5950374bc9030a78706d25ac233e9Michael Lentine    $(LOCAL_PATH)/../../../native/vulkan/include \
1890f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(call include-path-for, bluedroid) \
1900f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(call include-path-for, libhardware)/hardware \
1910f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(call include-path-for, libhardware_legacy)/hardware_legacy \
192fe48e0dfb9862356cd4af645fb010236fc273a4aAndy Hung    $(TOP)/frameworks/base/media/jni \
1938413db8c36f4ba5979cdc2b1c3e1429e6ba34d6aAndreas Gampe    $(TOP)/system/core/base/include \
1948413db8c36f4ba5979cdc2b1c3e1429e6ba34d6aAndreas Gampe    $(TOP)/system/core/include \
1950f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(TOP)/system/media/camera/include \
1960f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(TOP)/system/netd/include \
1970f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/pdfium/core/include/fpdfapi \
1980f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/pdfium/fpdfsdk/include \
199fbd02886559e7ca2b619ed0d9bff76b10cdb23c3Svet Ganov    external/pdfium/public \
20079bd8d48ad69c39834291809fe78ea478d067b68Philip P. Moltmann    external/pdfium \
201f35b989d26bb98900f6c5fa2e586326b30b6e161Leon Scroggins III    external/skia/include/private \
2020f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/skia/src/core \
2030f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/skia/src/effects \
2040f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/skia/src/images \
2050f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/sqlite/dist \
2060f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/sqlite/android \
2070f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/expat/lib \
2080f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/tremor/Tremor \
2090f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/harfbuzz_ng/src \
2100f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libcore/include \
2110f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    $(call include-path-for, audio-utils) \
2120f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    frameworks/minikin/include \
2130f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    external/freetype/include
2143660789f06c5fbcb81e6c7c79612048bff8f0f66Raph Levien# TODO: clean up Minikin so it doesn't need the freetype include
2159066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project
2169066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source ProjectLOCAL_SHARED_LIBRARIES := \
2170f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libmemtrack \
2180f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libandroidfw \
2190f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libexpat \
2200f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libnativehelper \
2210f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    liblog \
2220f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libcutils \
2230f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libutils \
2240f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libbinder \
2250f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libnetutils \
2260f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libui \
2270f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libgui \
2280f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libinput \
2290f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libinputflinger \
2300f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libcamera_client \
2310f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libcamera_metadata \
2320f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libskia \
2330f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libsqlite \
2340f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libEGL \
2350f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libGLESv1_CM \
2360f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libGLESv2 \
23703d8f76836c5950374bc9030a78706d25ac233e9Michael Lentine    libvulkan \
2380f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libETC1 \
2390f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libhardware \
2400f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libhardware_legacy \
2410f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libselinux \
2420f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libsonivox \
2430f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libcrypto \
2440f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libssl \
2450f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libicuuc \
2460f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libicui18n \
2470f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libmedia \
2485c3252ec97977f9e554d9395527637069e4b71cdMatt Sarett    libjpeg \
2490f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libusbhost \
2500f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libharfbuzz_ng \
2510f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libz \
2520f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libaudioutils \
2530f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libpdfium \
2540f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libimg_utils \
2550f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libnetd_client \
256633cb563f36001d6973b69291086cbdfe50612c5Eric Laurent    libradio \
2570f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libsoundtrigger \
2580f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libminikin \
2590f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libprocessgroup \
260633cb563f36001d6973b69291086cbdfe50612c5Eric Laurent    libnativebridge \
261048a0db7b512326d0fae0efa7fef7ea2d17a3dd8Dmitriy Ivanov    libradio_metadata \
262c4fb5f9d4b8012bc007f0c7e472d4ff4801254f5Colin Cross    libnativeloader \
263c4fb5f9d4b8012bc007f0c7e472d4ff4801254f5Colin Cross    libmemunreachable \
264755fd617258d3f1731b2829d681cab680db0fdd5Mike Lockwood
2659066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source ProjectLOCAL_SHARED_LIBRARIES += \
266a2732a2bf98f7dbd063f4e5679f5b8bfcbec2698John Reck    libhwui \
2670f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe    libdl
26888ba339aefd74ffe0ea978ebb659a430f82940f0Dan Albert
269bd882b1c8708686d373c56e07e6bb8b1cb6ffd9eJeff Brown# we need to access the private Bionic header
270bd882b1c8708686d373c56e07e6bb8b1cb6ffd9eJeff Brown# <bionic_tls.h> in com_google_android_gles_jni_GLImpl.cpp
27188ba339aefd74ffe0ea978ebb659a430f82940f0Dan AlbertLOCAL_C_INCLUDES += bionic/libc/private
2729066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project
27381944da434de1966670242638edd2a5d4547e0b4Dan Willemsen# AndroidRuntime.h depends on nativehelper/jni.h
27481944da434de1966670242638edd2a5d4547e0b4Dan WillemsenLOCAL_EXPORT_C_INCLUDE_DIRS := libnativehelper/include
27581944da434de1966670242638edd2a5d4547e0b4Dan Willemsen
2769ae000ca8c05ad6f700ad7bf119bbc92fb964b57Andreas HuberLOCAL_MODULE:= libandroid_runtime
2779066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project
27826109fd328aec626dde78366d961c34600fc7b15Andreas Gampe# -Wno-unknown-pragmas: necessary for Clang as the GL bindings need to turn
27926109fd328aec626dde78366d961c34600fc7b15Andreas Gampe#                       off a GCC warning that Clang doesn't know.
28085d99546a0dd6e38c2d60903c3b3e73577e1207cGlenn KastenLOCAL_CFLAGS += -Wall -Werror -Wno-error=deprecated-declarations -Wunused -Wunreachable-code \
28185d99546a0dd6e38c2d60903c3b3e73577e1207cGlenn Kasten        -Wno-unknown-pragmas
2820f0b4919667f418b249c497f5ad3e83fdf4437e5Andreas Gampe
283ed6b9dff563c5e22f040ff37e12c0d771e0478aeAndreas Gampe# -Wno-c++11-extensions: Clang warns about Skia using the C++11 override keyword, but this project
284ed6b9dff563c5e22f040ff37e12c0d771e0478aeAndreas Gampe#                        is not being compiled with that level. Remove once this has changed.
2850eadf57cadf2f39db1923c25767e4a00e7f00135Dan AlbertLOCAL_CLANG_CFLAGS += -Wno-c++11-extensions
286ed6b9dff563c5e22f040ff37e12c0d771e0478aeAndreas Gampe
2872bc67a1b5f9d4662ef7da4645ca8e580302b3553Andreas Gampe# b/22414716: thread_local (android/graphics/Paint.cpp) and Clang don't like each other at the
2882bc67a1b5f9d4662ef7da4645ca8e580302b3553Andreas Gampe#             moment.
2892bc67a1b5f9d4662ef7da4645ca8e580302b3553Andreas GampeLOCAL_CLANG := false
2902bc67a1b5f9d4662ef7da4645ca8e580302b3553Andreas Gampe
2919066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Projectinclude $(BUILD_SHARED_LIBRARY)
2929066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project
2939066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Projectinclude $(call all-makefiles-under,$(LOCAL_PATH))
294