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__ |
Dan Albert | 10caf03 | 2015-02-23 10:41:10 -0800 | [diff] [blame] | 7 | LOCAL_CFLAGS += -Wno-unused-parameter |
Svetoslav | 2961769 | 2014-04-24 18:40:42 -0700 | [diff] [blame] | 8 | LOCAL_CFLAGS += -Wno-non-virtual-dtor |
Kristian Monsen | f5fabdf | 2013-12-11 19:46:41 -0800 | [diff] [blame] | 9 | LOCAL_CFLAGS += -Wno-maybe-uninitialized -Wno-parentheses |
| 10 | LOCAL_CPPFLAGS += -Wno-conversion-null |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 11 | |
| 12 | ifeq ($(TARGET_ARCH), arm) |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 13 | LOCAL_CFLAGS += -DPACKED="__attribute__ ((packed))" |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 14 | else |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 15 | LOCAL_CFLAGS += -DPACKED="" |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 16 | endif |
| 17 | |
Tim Murray | 9e41c74 | 2015-06-08 14:56:53 -0700 | [diff] [blame] | 18 | ifneq ($(ENABLE_CPUSETS),) |
| 19 | LOCAL_CFLAGS += -DENABLE_CPUSETS |
| 20 | endif |
| 21 | |
Tim Murray | 6d43a861 | 2015-08-05 14:31:05 -0700 | [diff] [blame] | 22 | ifneq ($(ENABLE_SCHED_BOOST),) |
| 23 | LOCAL_CFLAGS += -DENABLE_SCHED_BOOST |
| 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 | |
Elliott Hughes | 4c5806b | 2015-03-07 11:00:50 -0800 | [diff] [blame] | 28 | LOCAL_CFLAGS += -DU_USING_ICU_NAMESPACE=0 |
| 29 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 30 | LOCAL_SRC_FILES:= \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 31 | AndroidRuntime.cpp \ |
| 32 | com_android_internal_content_NativeLibraryHelper.cpp \ |
| 33 | com_google_android_gles_jni_EGLImpl.cpp \ |
| 34 | com_google_android_gles_jni_GLImpl.cpp.arm \ |
Dimitry Ivanov | 4449ef5 | 2016-02-25 17:41:13 -0800 | [diff] [blame] | 35 | android_app_Activity.cpp \ |
Dimitry Ivanov | 0997908 | 2016-04-19 11:11:01 -0700 | [diff] [blame] | 36 | android_app_ApplicationLoaders.cpp \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 37 | android_app_NativeActivity.cpp \ |
Michal Karpinski | 6235a94 | 2016-03-15 12:07:23 +0000 | [diff] [blame] | 38 | android_app_admin_SecurityLog.cpp \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 39 | android_opengl_EGL14.cpp \ |
| 40 | android_opengl_EGLExt.cpp \ |
| 41 | android_opengl_GLES10.cpp \ |
| 42 | android_opengl_GLES10Ext.cpp \ |
| 43 | android_opengl_GLES11.cpp \ |
| 44 | android_opengl_GLES11Ext.cpp \ |
| 45 | android_opengl_GLES20.cpp \ |
| 46 | android_opengl_GLES30.cpp \ |
| 47 | android_opengl_GLES31.cpp \ |
| 48 | android_opengl_GLES31Ext.cpp \ |
Pablo Ceballos | 38c1a7e | 2015-10-30 10:34:30 -0700 | [diff] [blame] | 49 | android_opengl_GLES32.cpp \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 50 | android_database_CursorWindow.cpp \ |
| 51 | android_database_SQLiteCommon.cpp \ |
| 52 | android_database_SQLiteConnection.cpp \ |
| 53 | android_database_SQLiteGlobal.cpp \ |
| 54 | android_database_SQLiteDebug.cpp \ |
Doris Liu | 766431a | 2016-02-04 22:17:11 +0000 | [diff] [blame] | 55 | android_graphics_drawable_AnimatedVectorDrawable.cpp \ |
Doris Liu | 4bbc293 | 2015-12-01 17:59:40 -0800 | [diff] [blame] | 56 | android_graphics_drawable_VectorDrawable.cpp \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 57 | android_view_DisplayEventReceiver.cpp \ |
Chris Craik | c9070eb | 2015-03-09 18:50:14 -0700 | [diff] [blame] | 58 | android_view_DisplayListCanvas.cpp \ |
| 59 | android_view_GraphicBuffer.cpp \ |
| 60 | android_view_HardwareLayer.cpp \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 61 | android_view_InputChannel.cpp \ |
| 62 | android_view_InputDevice.cpp \ |
| 63 | android_view_InputEventReceiver.cpp \ |
| 64 | android_view_InputEventSender.cpp \ |
| 65 | android_view_InputQueue.cpp \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 66 | android_view_KeyCharacterMap.cpp \ |
Chris Craik | c9070eb | 2015-03-09 18:50:14 -0700 | [diff] [blame] | 67 | android_view_KeyEvent.cpp \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 68 | android_view_MotionEvent.cpp \ |
| 69 | android_view_PointerIcon.cpp \ |
| 70 | android_view_RenderNode.cpp \ |
| 71 | android_view_RenderNodeAnimator.cpp \ |
Chris Craik | c9070eb | 2015-03-09 18:50:14 -0700 | [diff] [blame] | 72 | android_view_Surface.cpp \ |
| 73 | android_view_SurfaceControl.cpp \ |
| 74 | android_view_SurfaceSession.cpp \ |
| 75 | android_view_TextureView.cpp \ |
| 76 | android_view_ThreadedRenderer.cpp \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 77 | android_view_VelocityTracker.cpp \ |
| 78 | android_text_AndroidCharacter.cpp \ |
| 79 | android_text_AndroidBidi.cpp \ |
| 80 | android_text_StaticLayout.cpp \ |
| 81 | android_os_Debug.cpp \ |
| 82 | android_os_MemoryFile.cpp \ |
| 83 | android_os_MessageQueue.cpp \ |
| 84 | android_os_Parcel.cpp \ |
| 85 | android_os_SELinux.cpp \ |
| 86 | android_os_SystemClock.cpp \ |
| 87 | android_os_SystemProperties.cpp \ |
| 88 | android_os_Trace.cpp \ |
| 89 | android_os_UEventObserver.cpp \ |
| 90 | android_net_LocalSocketImpl.cpp \ |
| 91 | android_net_NetUtils.cpp \ |
| 92 | android_net_TrafficStats.cpp \ |
| 93 | android_nio_utils.cpp \ |
| 94 | android_util_AssetManager.cpp \ |
| 95 | android_util_Binder.cpp \ |
| 96 | android_util_EventLog.cpp \ |
Svet Ganov | 53a441c | 2016-04-19 19:38:00 -0700 | [diff] [blame] | 97 | android_util_MemoryIntArray.cpp \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 98 | android_util_Log.cpp \ |
Doris Liu | cdd23f9 | 2015-11-11 14:31:13 -0800 | [diff] [blame] | 99 | android_util_PathParser.cpp \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 100 | android_util_Process.cpp \ |
| 101 | android_util_StringBlock.cpp \ |
| 102 | android_util_XmlBlock.cpp \ |
Przemyslaw Szczepaniak | 8a7c160 | 2015-11-03 09:47:56 +0000 | [diff] [blame] | 103 | android_util_jar_StrictJarFile.cpp \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 104 | android_graphics_Canvas.cpp \ |
| 105 | android_graphics_Picture.cpp \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 106 | android/graphics/Bitmap.cpp \ |
| 107 | android/graphics/BitmapFactory.cpp \ |
| 108 | android/graphics/Camera.cpp \ |
| 109 | android/graphics/CanvasProperty.cpp \ |
| 110 | android/graphics/ColorFilter.cpp \ |
| 111 | android/graphics/DrawFilter.cpp \ |
| 112 | android/graphics/FontFamily.cpp \ |
| 113 | android/graphics/CreateJavaOutputStreamAdaptor.cpp \ |
| 114 | android/graphics/Graphics.cpp \ |
| 115 | android/graphics/HarfBuzzNGFaceSkia.cpp \ |
| 116 | android/graphics/Interpolator.cpp \ |
| 117 | android/graphics/MaskFilter.cpp \ |
| 118 | android/graphics/Matrix.cpp \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 119 | android/graphics/Movie.cpp \ |
| 120 | android/graphics/NinePatch.cpp \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 121 | android/graphics/NinePatchPeeker.cpp \ |
| 122 | android/graphics/Paint.cpp \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 123 | android/graphics/Path.cpp \ |
| 124 | android/graphics/PathMeasure.cpp \ |
| 125 | android/graphics/PathEffect.cpp \ |
| 126 | android/graphics/Picture.cpp \ |
| 127 | android/graphics/PorterDuff.cpp \ |
| 128 | android/graphics/BitmapRegionDecoder.cpp \ |
| 129 | android/graphics/Rasterizer.cpp \ |
| 130 | android/graphics/Region.cpp \ |
| 131 | android/graphics/Shader.cpp \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 132 | android/graphics/SurfaceTexture.cpp \ |
| 133 | android/graphics/Typeface.cpp \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 134 | android/graphics/Utils.cpp \ |
| 135 | android/graphics/Xfermode.cpp \ |
| 136 | android/graphics/YuvToJpegEncoder.cpp \ |
| 137 | android/graphics/pdf/PdfDocument.cpp \ |
| 138 | android/graphics/pdf/PdfEditor.cpp \ |
| 139 | android/graphics/pdf/PdfRenderer.cpp \ |
Philip P. Moltmann | 12328c0 | 2016-06-10 14:47:16 -0700 | [diff] [blame] | 140 | android/graphics/pdf/PdfUtils.cpp \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 141 | android_media_AudioRecord.cpp \ |
| 142 | android_media_AudioSystem.cpp \ |
| 143 | android_media_AudioTrack.cpp \ |
Eric Laurent | 4bcdba8 | 2015-05-01 11:37:49 -0700 | [diff] [blame] | 144 | android_media_DeviceCallback.cpp \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 145 | android_media_JetPlayer.cpp \ |
| 146 | android_media_RemoteDisplay.cpp \ |
| 147 | android_media_ToneGenerator.cpp \ |
| 148 | android_hardware_Camera.cpp \ |
| 149 | android_hardware_camera2_CameraMetadata.cpp \ |
| 150 | android_hardware_camera2_legacy_LegacyCameraDevice.cpp \ |
| 151 | android_hardware_camera2_legacy_PerfMeasurement.cpp \ |
| 152 | android_hardware_camera2_DngCreator.cpp \ |
Eric Laurent | 633cb56 | 2015-03-05 15:17:20 -0800 | [diff] [blame] | 153 | android_hardware_Radio.cpp \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 154 | android_hardware_SensorManager.cpp \ |
| 155 | android_hardware_SerialPort.cpp \ |
| 156 | android_hardware_SoundTrigger.cpp \ |
| 157 | android_hardware_UsbDevice.cpp \ |
| 158 | android_hardware_UsbDeviceConnection.cpp \ |
| 159 | android_hardware_UsbRequest.cpp \ |
Peng Xu | 9ff7d22 | 2016-02-11 13:02:05 -0800 | [diff] [blame] | 160 | android_hardware_location_ContextHubService.cpp \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 161 | android_hardware_location_ActivityRecognitionHardware.cpp \ |
| 162 | android_util_FileObserver.cpp \ |
| 163 | android/opengl/poly_clip.cpp.arm \ |
John Reck | f4faeac | 2015-03-05 13:50:31 -0800 | [diff] [blame] | 164 | android/opengl/util.cpp \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 165 | android_server_NetworkManagementSocketTagger.cpp \ |
| 166 | android_server_Watchdog.cpp \ |
| 167 | android_ddm_DdmHandleNativeHeap.cpp \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 168 | android_backup_BackupDataInput.cpp \ |
| 169 | android_backup_BackupDataOutput.cpp \ |
| 170 | android_backup_FileBackupHelperBase.cpp \ |
| 171 | android_backup_BackupHelperDispatcher.cpp \ |
| 172 | android_app_backup_FullBackup.cpp \ |
| 173 | android_content_res_ObbScanner.cpp \ |
| 174 | android_content_res_Configuration.cpp \ |
| 175 | android_animation_PropertyValuesHolder.cpp \ |
| 176 | com_android_internal_net_NetworkStatsFactory.cpp \ |
Dimitry Ivanov | 5d7d777 | 2016-04-20 14:09:32 -0700 | [diff] [blame] | 177 | com_android_internal_os_PathClassLoaderFactory.cpp \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 178 | com_android_internal_os_Zygote.cpp \ |
| 179 | com_android_internal_util_VirtualRefBasePtr.cpp \ |
Polina Bondarenko | f8754ac | 2016-02-12 20:38:23 +0100 | [diff] [blame] | 180 | com_android_internal_view_animation_NativeInterpolatorFactoryHelper.cpp |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 181 | |
| 182 | LOCAL_C_INCLUDES += \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 183 | $(JNI_H_INCLUDE) \ |
| 184 | $(LOCAL_PATH)/android/graphics \ |
| 185 | $(LOCAL_PATH)/../../libs/hwui \ |
| 186 | $(LOCAL_PATH)/../../../native/opengl/libs \ |
Michael Lentine | 03d8f768 | 2016-01-31 15:37:11 -0600 | [diff] [blame] | 187 | $(LOCAL_PATH)/../../../native/vulkan/include \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 188 | $(call include-path-for, bluedroid) \ |
| 189 | $(call include-path-for, libhardware)/hardware \ |
| 190 | $(call include-path-for, libhardware_legacy)/hardware_legacy \ |
Andy Hung | fe48e0d | 2015-04-27 18:14:02 -0700 | [diff] [blame] | 191 | $(TOP)/frameworks/base/media/jni \ |
Andreas Gampe | 8413db8 | 2015-12-14 13:54:51 -0800 | [diff] [blame] | 192 | $(TOP)/system/core/base/include \ |
| 193 | $(TOP)/system/core/include \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 194 | $(TOP)/system/media/camera/include \ |
| 195 | $(TOP)/system/netd/include \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 196 | external/pdfium/core/include/fpdfapi \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 197 | external/pdfium/fpdfsdk/include \ |
Svet Ganov | fbd0288 | 2015-06-04 14:49:16 -0700 | [diff] [blame] | 198 | external/pdfium/public \ |
Philip P. Moltmann | 79bd8d4 | 2016-03-07 09:19:45 -0800 | [diff] [blame] | 199 | external/pdfium \ |
Leon Scroggins III | f35b989 | 2015-07-31 10:38:40 -0400 | [diff] [blame] | 200 | external/skia/include/private \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 201 | external/skia/src/core \ |
| 202 | external/skia/src/effects \ |
| 203 | external/skia/src/images \ |
| 204 | external/sqlite/dist \ |
| 205 | external/sqlite/android \ |
| 206 | external/expat/lib \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 207 | external/tremor/Tremor \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 208 | external/harfbuzz_ng/src \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 209 | libcore/include \ |
| 210 | $(call include-path-for, audio-utils) \ |
| 211 | frameworks/minikin/include \ |
| 212 | external/freetype/include |
Raph Levien | 3660789 | 2014-06-25 16:32:13 -0700 | [diff] [blame] | 213 | # TODO: clean up Minikin so it doesn't need the freetype include |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 214 | |
| 215 | LOCAL_SHARED_LIBRARIES := \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 216 | libmemtrack \ |
| 217 | libandroidfw \ |
| 218 | libexpat \ |
| 219 | libnativehelper \ |
| 220 | liblog \ |
| 221 | libcutils \ |
| 222 | libutils \ |
| 223 | libbinder \ |
| 224 | libnetutils \ |
| 225 | libui \ |
| 226 | libgui \ |
| 227 | libinput \ |
| 228 | libinputflinger \ |
| 229 | libcamera_client \ |
| 230 | libcamera_metadata \ |
| 231 | libskia \ |
| 232 | libsqlite \ |
| 233 | libEGL \ |
| 234 | libGLESv1_CM \ |
| 235 | libGLESv2 \ |
Michael Lentine | 03d8f768 | 2016-01-31 15:37:11 -0600 | [diff] [blame] | 236 | libvulkan \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 237 | libETC1 \ |
| 238 | libhardware \ |
| 239 | libhardware_legacy \ |
| 240 | libselinux \ |
| 241 | libsonivox \ |
| 242 | libcrypto \ |
| 243 | libssl \ |
| 244 | libicuuc \ |
| 245 | libicui18n \ |
| 246 | libmedia \ |
Matt Sarett | 5c3252e | 2015-11-23 15:22:39 -0500 | [diff] [blame] | 247 | libjpeg \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 248 | libusbhost \ |
| 249 | libharfbuzz_ng \ |
| 250 | libz \ |
| 251 | libaudioutils \ |
| 252 | libpdfium \ |
| 253 | libimg_utils \ |
| 254 | libnetd_client \ |
Eric Laurent | 633cb56 | 2015-03-05 15:17:20 -0800 | [diff] [blame] | 255 | libradio \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 256 | libsoundtrigger \ |
| 257 | libminikin \ |
| 258 | libprocessgroup \ |
Eric Laurent | 633cb56 | 2015-03-05 15:17:20 -0800 | [diff] [blame] | 259 | libnativebridge \ |
Dmitriy Ivanov | 048a0db | 2015-11-15 14:58:36 -0800 | [diff] [blame] | 260 | libradio_metadata \ |
Colin Cross | c4fb5f9 | 2016-02-02 16:51:15 -0800 | [diff] [blame] | 261 | libnativeloader \ |
| 262 | libmemunreachable \ |
Mike Lockwood | 755fd61 | 2010-05-25 19:08:48 -0400 | [diff] [blame] | 263 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 264 | LOCAL_SHARED_LIBRARIES += \ |
John Reck | a2732a2 | 2014-12-18 13:52:33 -0800 | [diff] [blame] | 265 | libhwui \ |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 266 | libdl |
Dan Albert | 88ba339 | 2014-09-11 16:20:16 -0700 | [diff] [blame] | 267 | |
Jeff Brown | bd882b1 | 2011-07-11 22:12:16 -0700 | [diff] [blame] | 268 | # we need to access the private Bionic header |
| 269 | # <bionic_tls.h> in com_google_android_gles_jni_GLImpl.cpp |
Dan Albert | 88ba339 | 2014-09-11 16:20:16 -0700 | [diff] [blame] | 270 | LOCAL_C_INCLUDES += bionic/libc/private |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 271 | |
Dan Willemsen | 81944da | 2015-09-24 20:45:35 -0700 | [diff] [blame] | 272 | # AndroidRuntime.h depends on nativehelper/jni.h |
| 273 | LOCAL_EXPORT_C_INCLUDE_DIRS := libnativehelper/include |
| 274 | |
Andreas Huber | 9ae000c | 2014-02-13 17:22:33 +0000 | [diff] [blame] | 275 | LOCAL_MODULE:= libandroid_runtime |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 276 | |
Andreas Gampe | 26109fd | 2014-11-18 14:38:00 -0800 | [diff] [blame] | 277 | # -Wno-unknown-pragmas: necessary for Clang as the GL bindings need to turn |
| 278 | # off a GCC warning that Clang doesn't know. |
Glenn Kasten | 85d9954 | 2015-05-18 12:27:57 -0700 | [diff] [blame] | 279 | LOCAL_CFLAGS += -Wall -Werror -Wno-error=deprecated-declarations -Wunused -Wunreachable-code \ |
| 280 | -Wno-unknown-pragmas |
Andreas Gampe | 0f0b491 | 2014-11-12 08:03:48 -0800 | [diff] [blame] | 281 | |
Andreas Gampe | ed6b9df | 2014-11-20 22:02:20 -0800 | [diff] [blame] | 282 | # -Wno-c++11-extensions: Clang warns about Skia using the C++11 override keyword, but this project |
| 283 | # is not being compiled with that level. Remove once this has changed. |
Dan Albert | 0eadf57 | 2015-11-05 00:59:09 -0800 | [diff] [blame] | 284 | LOCAL_CLANG_CFLAGS += -Wno-c++11-extensions |
Andreas Gampe | ed6b9df | 2014-11-20 22:02:20 -0800 | [diff] [blame] | 285 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 286 | include $(BUILD_SHARED_LIBRARY) |
| 287 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 288 | include $(call all-makefiles-under,$(LOCAL_PATH)) |