319 lines
10 KiB
Makefile
Raw Normal View History

LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_CFLAGS += -DHAVE_CONFIG_H -DKHTML_NO_EXCEPTIONS -DGKWQ_NO_JAVA
LOCAL_CFLAGS += -DNO_SUPPORT_JS_BINDING -DQT_NO_WHEELEVENT -DKHTML_NO_XBL
LOCAL_CFLAGS += -U__APPLE__
LOCAL_CFLAGS += -Wno-unused-parameter
LOCAL_CFLAGS += -Wno-non-virtual-dtor
LOCAL_CFLAGS += -Wno-maybe-uninitialized -Wno-parentheses
LOCAL_CPPFLAGS += -Wno-conversion-null
ifeq ($(TARGET_ARCH), arm)
LOCAL_CFLAGS += -DPACKED="__attribute__ ((packed))"
else
LOCAL_CFLAGS += -DPACKED=""
endif
ifneq ($(ENABLE_CPUSETS),)
LOCAL_CFLAGS += -DENABLE_CPUSETS
endif
Linear blending, step 1 NOTE: Linear blending is currently disabled in this CL as the feature is still a work in progress Android currently performs all blending (any kind of linear math on colors really) on gamma-encoded colors. Since Android assumes that the default color space is sRGB, all bitmaps and colors are encoded with the sRGB Opto-Electronic Conversion Function (OECF, which can be approximated with a power function). Since the power curve is not linear, our linear math is incorrect. The result is that we generate colors that tend to be too dark; this affects blending but also anti-aliasing, gradients, blurs, etc. The solution is to convert gamma-encoded colors back to linear space before doing any math on them, using the sRGB Electo-Optical Conversion Function (EOCF). This is achieved in different ways in different parts of the pipeline: - Using hardware conversions when sampling from OpenGL textures or writing into OpenGL frame buffers - Using software conversion functions, to translate app-supplied colors to and from sRGB - Using Skia's color spaces Any type of processing on colors must roughly ollow these steps: [sRGB input]->EOCF->[linear data]->[processing]->OECF->[sRGB output] For the sRGB color space, the conversion functions are defined as follows: OECF(linear) := linear <= 0.0031308 ? linear * 12.92 : (pow(linear, 1/2.4) * 1.055) - 0.055 EOCF(srgb) := srgb <= 0.04045 ? srgb / 12.92 : pow((srgb + 0.055) / 1.055, 2.4) The EOCF is simply the reciprocal of the OECF. While it is highly recommended to use the exact sRGB conversion functions everywhere possible, it is sometimes useful or beneficial to rely on approximations: - pow(x,2.2) and pow(x,1/2.2) - x^2 and sqrt(x) The latter is particularly useful in fragment shaders (for instance to apply dithering in sRGB space), especially if the sqrt() can be replaced with an inversesqrt(). Here is a fairly exhaustive list of modifications implemented in this CL: - Set TARGET_ENABLE_LINEAR_BLENDING := false in BoardConfig.mk to disable linear blending. This is only for GLES 2.0 GPUs with no hardware sRGB support. This flag is currently assumed to be false (see note above) - sRGB writes are disabled when entering a functor (WebView). This will need to be fixed at some point - Skia bitmaps are created with the sRGB color space - Bitmaps using a 565 config are expanded to 888 - Linear blending is disabled when entering a functor - External textures are not properly sampled (see below) - Gradients are interpolated in linear space - Texture-based dithering was replaced with analytical dithering - Dithering is done in the quantization color space, which is why we must do EOCF(OECF(color)+dither) - Text is now gamma corrected differently depending on the luminance of the source pixel. The asumption is that a bright pixel will be blended on a dark background and the other way around. The source alpha is gamma corrected to thicken dark on bright and thin bright on dark to match the intended design of fonts. This also matches the behavior of popular design/drawing applications - Removed the asset atlas. It did not contain anything useful and could not be sampled in sRGB without a yet-to-be-defined GL extension - The last column of color matrices is converted to linear space because its value are added to linear colors Missing features: - Resource qualifier? - Regeneration of goldeng images for automated tests - Handle alpha8/grey8 properly - Disable sRGB write for layers with external textures Test: Manual testing while work in progress Bug: 29940137 Change-Id: I6a07b15ab49b554377cd33a36b6d9971a15e9a0b
2016-09-28 17:34:42 -07:00
# TODO: Linear blending should be enabled by default, but we are
# TODO: making it an opt-in while it's a work in progress
# TODO: The final test should be:
# TODO: ifneq ($(TARGET_ENABLE_LINEAR_BLENDING),false)
ifeq ($(TARGET_ENABLE_LINEAR_BLENDING),true)
LOCAL_CFLAGS += -DANDROID_ENABLE_LINEAR_BLENDING
Linear blending, step 1 NOTE: Linear blending is currently disabled in this CL as the feature is still a work in progress Android currently performs all blending (any kind of linear math on colors really) on gamma-encoded colors. Since Android assumes that the default color space is sRGB, all bitmaps and colors are encoded with the sRGB Opto-Electronic Conversion Function (OECF, which can be approximated with a power function). Since the power curve is not linear, our linear math is incorrect. The result is that we generate colors that tend to be too dark; this affects blending but also anti-aliasing, gradients, blurs, etc. The solution is to convert gamma-encoded colors back to linear space before doing any math on them, using the sRGB Electo-Optical Conversion Function (EOCF). This is achieved in different ways in different parts of the pipeline: - Using hardware conversions when sampling from OpenGL textures or writing into OpenGL frame buffers - Using software conversion functions, to translate app-supplied colors to and from sRGB - Using Skia's color spaces Any type of processing on colors must roughly ollow these steps: [sRGB input]->EOCF->[linear data]->[processing]->OECF->[sRGB output] For the sRGB color space, the conversion functions are defined as follows: OECF(linear) := linear <= 0.0031308 ? linear * 12.92 : (pow(linear, 1/2.4) * 1.055) - 0.055 EOCF(srgb) := srgb <= 0.04045 ? srgb / 12.92 : pow((srgb + 0.055) / 1.055, 2.4) The EOCF is simply the reciprocal of the OECF. While it is highly recommended to use the exact sRGB conversion functions everywhere possible, it is sometimes useful or beneficial to rely on approximations: - pow(x,2.2) and pow(x,1/2.2) - x^2 and sqrt(x) The latter is particularly useful in fragment shaders (for instance to apply dithering in sRGB space), especially if the sqrt() can be replaced with an inversesqrt(). Here is a fairly exhaustive list of modifications implemented in this CL: - Set TARGET_ENABLE_LINEAR_BLENDING := false in BoardConfig.mk to disable linear blending. This is only for GLES 2.0 GPUs with no hardware sRGB support. This flag is currently assumed to be false (see note above) - sRGB writes are disabled when entering a functor (WebView). This will need to be fixed at some point - Skia bitmaps are created with the sRGB color space - Bitmaps using a 565 config are expanded to 888 - Linear blending is disabled when entering a functor - External textures are not properly sampled (see below) - Gradients are interpolated in linear space - Texture-based dithering was replaced with analytical dithering - Dithering is done in the quantization color space, which is why we must do EOCF(OECF(color)+dither) - Text is now gamma corrected differently depending on the luminance of the source pixel. The asumption is that a bright pixel will be blended on a dark background and the other way around. The source alpha is gamma corrected to thicken dark on bright and thin bright on dark to match the intended design of fonts. This also matches the behavior of popular design/drawing applications - Removed the asset atlas. It did not contain anything useful and could not be sampled in sRGB without a yet-to-be-defined GL extension - The last column of color matrices is converted to linear space because its value are added to linear colors Missing features: - Resource qualifier? - Regeneration of goldeng images for automated tests - Handle alpha8/grey8 properly - Disable sRGB write for layers with external textures Test: Manual testing while work in progress Bug: 29940137 Change-Id: I6a07b15ab49b554377cd33a36b6d9971a15e9a0b
2016-09-28 17:34:42 -07:00
endif
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
LOCAL_CFLAGS += -DU_USING_ICU_NAMESPACE=0
LOCAL_SRC_FILES:= \
AndroidRuntime.cpp \
com_android_internal_content_NativeLibraryHelper.cpp \
com_google_android_gles_jni_EGLImpl.cpp \
com_google_android_gles_jni_GLImpl.cpp.arm \
android_app_Activity.cpp \
android_app_ApplicationLoaders.cpp \
android_app_NativeActivity.cpp \
android_app_admin_SecurityLog.cpp \
android_opengl_EGL14.cpp \
android_opengl_EGLExt.cpp \
android_opengl_GLES10.cpp \
android_opengl_GLES10Ext.cpp \
android_opengl_GLES11.cpp \
android_opengl_GLES11Ext.cpp \
android_opengl_GLES20.cpp \
android_opengl_GLES30.cpp \
android_opengl_GLES31.cpp \
android_opengl_GLES31Ext.cpp \
android_opengl_GLES32.cpp \
android_database_CursorWindow.cpp \
android_database_SQLiteCommon.cpp \
android_database_SQLiteConnection.cpp \
android_database_SQLiteGlobal.cpp \
android_database_SQLiteDebug.cpp \
android_graphics_drawable_AnimatedVectorDrawable.cpp \
android_graphics_drawable_VectorDrawable.cpp \
android_view_DisplayEventReceiver.cpp \
android_view_DisplayListCanvas.cpp \
android_view_HardwareLayer.cpp \
android_view_InputChannel.cpp \
android_view_InputDevice.cpp \
android_view_InputEventReceiver.cpp \
android_view_InputEventSender.cpp \
android_view_InputQueue.cpp \
android_view_KeyCharacterMap.cpp \
android_view_KeyEvent.cpp \
android_view_MotionEvent.cpp \
android_view_PointerIcon.cpp \
android_view_RenderNode.cpp \
android_view_RenderNodeAnimator.cpp \
android_view_Surface.cpp \
android_view_SurfaceControl.cpp \
android_view_SurfaceSession.cpp \
android_view_TextureView.cpp \
android_view_ThreadedRenderer.cpp \
android_view_VelocityTracker.cpp \
android_text_AndroidCharacter.cpp \
android_text_AndroidBidi.cpp \
android_text_StaticLayout.cpp \
android_os_Debug.cpp \
android_os_GraphicsEnvironment.cpp \
Initial commit of Java support for hardware binder. Squashed commit of the following: commit a536e55110a62871662d2f0b1771d7b66bb3cb27 Author: Andreas Huber <andih@google.com> Date: Mon Aug 15 09:04:45 2016 -0700 start HwBinder thread pool upon service registration Change-Id: I8e91d20e29a5647a36aad083c23d1b594fdc68c5 commit 0a1882999e0021b68ccebb0306905f17962b8a70 Author: Andreas Huber <andih@google.com> Date: Thu Aug 11 15:41:05 2016 -0700 IHwInterface, queryLocalInterface. also moved looking up a service into HwBinder. HwRemoteBinder is now an implementation detail. Change-Id: Ic0b818f5b36c42c608e570fe41a2c0272a6e48df commit d99b0b065bde6e0f071245719f8ab31ad25d91be Author: Andreas Huber <andih@google.com> Date: Mon Aug 8 09:07:51 2016 -0700 work in progress Change-Id: I4f5612944e9ac1c762ad1fa2e238836e37b484da commit 64f027e55780284b981f88a1605c00a0a0f091f4 Author: Andreas Huber <andih@google.com> Date: Thu Aug 4 10:10:52 2016 -0700 Squashed commit of the following: commit d023d5570ef810094a3d4382158f32faff46c480 Author: Andreas Huber <andih@google.com> Date: Thu Aug 4 10:09:41 2016 -0700 Some more cleanup, file organization more closely matches existing code in frameworks/base/core/jni/..., don't produce a separate shared library, this is now linked as part of libandroid_runtime.so Change-Id: I91024f137ff0faae26e72aa9a7163b80b97f0d05 commit 7cf5370748a9a99be68fac0f32c6793f5bfc4a15 Author: Andreas Huber <andih@google.com> Date: Thu Aug 4 09:37:44 2016 -0700 Some more cleanup. Change-Id: Ibb89280f51234f8a3dd29ca6d57d6eaaf80a03ea commit d70638398ed47c29401d6118e03d640245ecc9b2 Author: Andreas Huber <andih@google.com> Date: Thu Aug 4 09:31:49 2016 -0700 hidl::{Parcel,Binder & friends} => hardware::\1 Change-Id: I8f37a260d4a9afe66e02f7266c54af093502869f commit 0fc680aea7753d8de91b4a3806b892dcb4fface8 Author: Andreas Huber <andih@google.com> Date: Mon Aug 1 14:55:17 2016 -0700 Squashed commit of the following: commit daa714921e20bc209bd7c05aea458569ce539993 Author: Andreas Huber <andih@google.com> Date: Mon Aug 1 12:09:27 2016 -0700 Switch to NativeAllocationRegistry for pairing java- with native objects. Change-Id: I011fda51e8c24d9e03d6a0ddbcdac9196dc8ab72 commit 3a02606dba870f8313e1db919720647f686273b4 Author: Andreas Huber <andih@google.com> Date: Thu Jul 28 11:44:26 2016 -0700 Squashed commit of the following: commit e77b8ff331ed1b5554b4c7c1cd99ed99dbed5f45 Author: Andreas Huber <andih@google.com> Date: Thu Jul 28 11:15:12 2016 -0700 no more LOCAL_C_INCLUDES, read/writeEmbeddedBuffer APIs changed to take a size_t instead of a uint64_t for both handles and offsets. Use android-base/logging instead of utils/Log.h for logs/assertions. Change-Id: I1129c75da46e4335efbf94a3394f9bde7d0ad0c6 commit fbc3a7be0a8cde86b334a677a0e127123beb0051 Author: Andreas Huber <andih@google.com> Date: Wed Jul 27 16:20:24 2016 -0700 Squashed commit of the following: commit bda9396472eaa32c7643927017ccfdcba8a6aeb3 Author: Andreas Huber <andih@google.com> Date: Wed Jul 27 16:19:57 2016 -0700 Code review in progress. Change-Id: I66cc3a4ec8caf6feac0d526130c0c3902fd8e2cc commit 2887d9589562c3e9834e5d6bb513ab5eff9cdb5f Author: Andreas Huber <andih@google.com> Date: Mon Jul 25 12:00:38 2016 -0700 Squashed commit of the following: commit 8a565b0282577508db00a9f6146e75d962b854f4 Author: Andreas Huber <andih@google.com> Date: Mon Jul 25 12:00:13 2016 -0700 @hide everything Change-Id: I54411d1b0d9cd2ddb66acc1444c23b17b98e58a6 commit e55a1dd871a2c653bca300335ba9dcc78b3c5ea5 Author: Andreas Huber <andih@google.com> Date: Tue Jul 19 11:19:07 2016 -0700 Squashed commit of the following: commit c9ae58af694ae2c8451486fe83fab0f6e1398047 Author: Andreas Huber <andih@google.com> Date: Tue Jul 19 10:10:56 2016 -0700 switch to a better way of finishing/sending stub transactions Change-Id: I7e237f57f4dbd69d05caeb62de0876c40feaa1cf commit 0af00b5c41bf808f31300a565467d463d8df0636 Author: Andreas Huber <andih@google.com> Date: Mon Jul 18 15:32:09 2016 -0700 exceptions >> assertions Change-Id: I098d6e170525539b81aae5e8890c8460ec78df18 commit f5e1363c2e6b7713ae1460cd8dc22872deebedc4 Author: Andreas Huber <andih@google.com> Date: Mon Jul 18 11:57:04 2016 -0700 Squashed commit of the following: commit b8716cdf75ac1785f6decb6d236d689c087889cd Author: Andreas Huber <andih@google.com> Date: Mon Jul 18 11:56:35 2016 -0700 Support for {read,write}StringVector. Change-Id: I816e4fc22afde960a481c0fb4c3d8531bffa6e56 commit 34279699169c9ba5fdc03055a863432a2edd1901 Author: Andreas Huber <andih@google.com> Date: Mon Jul 18 10:08:32 2016 -0700 LEGO -> Hw Change-Id: Ib63ef44cfd13e5a2c3a358d055aad162163d8600 commit eb2b09c4a03ba785363a8b230a89718ef319c35b Author: Andreas Huber <andih@google.com> Date: Fri Jul 15 14:01:11 2016 -0700 Squashed commit of the following: commit c657839a54cf6054e1983a59a59bfcc0854cc952 Author: Andreas Huber <andih@google.com> Date: Fri Jul 15 12:55:04 2016 -0700 Support for {read,write}StringArray and stubs for {read,write}StringVector Also refactored existing code to take advantage of HidlSupport.h Change-Id: I55613d0c66706008d1f96576b9f7a500d52b2cd3 commit 5d29cd53c4f2a9fe0cdc9052e4041c92d0873042 Author: Andreas Huber <andih@google.com> Date: Thu Jul 14 16:38:09 2016 -0700 Squashed commit of the following: commit 0a7e49f20d18a7eebda889594cc1bc5511ce2fdc Author: Andreas Huber <andih@google.com> Date: Tue Jul 12 14:21:56 2016 -0700 support all primitive array and vector read/write operations on LEGOParcel Change-Id: I200d1dccedc0fd752c297714e8e0df967fdb653b commit e0401c2fabc548681d7fd304c09b4ca8838bb0b5 Author: Andreas Huber <andih@google.com> Date: Tue Jul 12 09:53:42 2016 -0700 Added LEGOParcel.{read,write}{Int8,Int16} Change-Id: I0d9cc149802837593db606692694dbce1b12e521 commit 9187f7a349c0861549df2c534803e03066d22b4a Author: Andreas Huber <andih@google.com> Date: Mon Jul 11 16:10:50 2016 -0700 Better handling of temporary storage in JLEGOParcel Change-Id: I31cdf7b6f1f4bd486661288346cf530c9e92beaa commit dc2e5f6f0bb737c739e1dab356efeac945c000c3 Author: Andreas Huber <andih@google.com> Date: Mon Jul 11 14:18:09 2016 -0700 proper (read/writeBuffer based) marshalling of strings and int32 arrays Change-Id: I2fadd2f831cc0acb50a41222525e71f29b57e79e commit 6463a03074fa514ea8b7cb61e475c246e6136b43 Author: Andreas Huber <andih@google.com> Date: Mon Jul 11 13:13:31 2016 -0700 support for ILEGOBinder marshalling Change-Id: I8ceea45dfcb8460e59a05999ccdcad319650dede commit 8c26a006ded339043677d3607884da0abb3e742d Author: Andreas Huber <andih@google.com> Date: Fri Jul 8 16:42:38 2016 -0700 A quick and dirty fix for the "storage must stay around until transact() returns" issue. Change-Id: I75ac09391cdc23dcc6e154b32eff945f29d00cc0 commit df7d2c1e4e33d6554ab16e33c90bdf30ce2a136d Author: Andreas Huber <andih@google.com> Date: Fri Jul 8 08:48:31 2016 -0700 Squashed commit of the following: commit c42764acbaefab5ffc829dd1a3b60aa252643ae6 Author: Andreas Huber <andih@google.com> Date: Thu Jul 7 16:51:10 2016 -0700 An attempt at LEGOParcel.{read,write}Int32Vector Change-Id: I9dc54828ad10c8cec8ca292db011925cd60893e2 commit faa502ac98d28f3eff10a4c16443059ca316c76b Author: Andreas Huber <andih@google.com> Date: Thu Jul 7 14:58:24 2016 -0700 Support for LEGOParcel.{read,write}{String,Int32Array} Change-Id: I38317f22ff977bed2f8203c24333bbb7de6f1cc5 commit ba048b13eb014472130094fafd0fe982363d7add Author: Andreas Huber <andih@google.com> Date: Wed Jul 6 16:41:14 2016 -0700 LEGO{Binder,Parcel,RemoteBinder} java classes Change-Id: If1098ab921a11bae8eca2a70a3c3070e4daa0ea2
2016-08-15 09:25:02 -07:00
android_os_HwBinder.cpp \
android_os_HwBlob.cpp \
Initial commit of Java support for hardware binder. Squashed commit of the following: commit a536e55110a62871662d2f0b1771d7b66bb3cb27 Author: Andreas Huber <andih@google.com> Date: Mon Aug 15 09:04:45 2016 -0700 start HwBinder thread pool upon service registration Change-Id: I8e91d20e29a5647a36aad083c23d1b594fdc68c5 commit 0a1882999e0021b68ccebb0306905f17962b8a70 Author: Andreas Huber <andih@google.com> Date: Thu Aug 11 15:41:05 2016 -0700 IHwInterface, queryLocalInterface. also moved looking up a service into HwBinder. HwRemoteBinder is now an implementation detail. Change-Id: Ic0b818f5b36c42c608e570fe41a2c0272a6e48df commit d99b0b065bde6e0f071245719f8ab31ad25d91be Author: Andreas Huber <andih@google.com> Date: Mon Aug 8 09:07:51 2016 -0700 work in progress Change-Id: I4f5612944e9ac1c762ad1fa2e238836e37b484da commit 64f027e55780284b981f88a1605c00a0a0f091f4 Author: Andreas Huber <andih@google.com> Date: Thu Aug 4 10:10:52 2016 -0700 Squashed commit of the following: commit d023d5570ef810094a3d4382158f32faff46c480 Author: Andreas Huber <andih@google.com> Date: Thu Aug 4 10:09:41 2016 -0700 Some more cleanup, file organization more closely matches existing code in frameworks/base/core/jni/..., don't produce a separate shared library, this is now linked as part of libandroid_runtime.so Change-Id: I91024f137ff0faae26e72aa9a7163b80b97f0d05 commit 7cf5370748a9a99be68fac0f32c6793f5bfc4a15 Author: Andreas Huber <andih@google.com> Date: Thu Aug 4 09:37:44 2016 -0700 Some more cleanup. Change-Id: Ibb89280f51234f8a3dd29ca6d57d6eaaf80a03ea commit d70638398ed47c29401d6118e03d640245ecc9b2 Author: Andreas Huber <andih@google.com> Date: Thu Aug 4 09:31:49 2016 -0700 hidl::{Parcel,Binder & friends} => hardware::\1 Change-Id: I8f37a260d4a9afe66e02f7266c54af093502869f commit 0fc680aea7753d8de91b4a3806b892dcb4fface8 Author: Andreas Huber <andih@google.com> Date: Mon Aug 1 14:55:17 2016 -0700 Squashed commit of the following: commit daa714921e20bc209bd7c05aea458569ce539993 Author: Andreas Huber <andih@google.com> Date: Mon Aug 1 12:09:27 2016 -0700 Switch to NativeAllocationRegistry for pairing java- with native objects. Change-Id: I011fda51e8c24d9e03d6a0ddbcdac9196dc8ab72 commit 3a02606dba870f8313e1db919720647f686273b4 Author: Andreas Huber <andih@google.com> Date: Thu Jul 28 11:44:26 2016 -0700 Squashed commit of the following: commit e77b8ff331ed1b5554b4c7c1cd99ed99dbed5f45 Author: Andreas Huber <andih@google.com> Date: Thu Jul 28 11:15:12 2016 -0700 no more LOCAL_C_INCLUDES, read/writeEmbeddedBuffer APIs changed to take a size_t instead of a uint64_t for both handles and offsets. Use android-base/logging instead of utils/Log.h for logs/assertions. Change-Id: I1129c75da46e4335efbf94a3394f9bde7d0ad0c6 commit fbc3a7be0a8cde86b334a677a0e127123beb0051 Author: Andreas Huber <andih@google.com> Date: Wed Jul 27 16:20:24 2016 -0700 Squashed commit of the following: commit bda9396472eaa32c7643927017ccfdcba8a6aeb3 Author: Andreas Huber <andih@google.com> Date: Wed Jul 27 16:19:57 2016 -0700 Code review in progress. Change-Id: I66cc3a4ec8caf6feac0d526130c0c3902fd8e2cc commit 2887d9589562c3e9834e5d6bb513ab5eff9cdb5f Author: Andreas Huber <andih@google.com> Date: Mon Jul 25 12:00:38 2016 -0700 Squashed commit of the following: commit 8a565b0282577508db00a9f6146e75d962b854f4 Author: Andreas Huber <andih@google.com> Date: Mon Jul 25 12:00:13 2016 -0700 @hide everything Change-Id: I54411d1b0d9cd2ddb66acc1444c23b17b98e58a6 commit e55a1dd871a2c653bca300335ba9dcc78b3c5ea5 Author: Andreas Huber <andih@google.com> Date: Tue Jul 19 11:19:07 2016 -0700 Squashed commit of the following: commit c9ae58af694ae2c8451486fe83fab0f6e1398047 Author: Andreas Huber <andih@google.com> Date: Tue Jul 19 10:10:56 2016 -0700 switch to a better way of finishing/sending stub transactions Change-Id: I7e237f57f4dbd69d05caeb62de0876c40feaa1cf commit 0af00b5c41bf808f31300a565467d463d8df0636 Author: Andreas Huber <andih@google.com> Date: Mon Jul 18 15:32:09 2016 -0700 exceptions >> assertions Change-Id: I098d6e170525539b81aae5e8890c8460ec78df18 commit f5e1363c2e6b7713ae1460cd8dc22872deebedc4 Author: Andreas Huber <andih@google.com> Date: Mon Jul 18 11:57:04 2016 -0700 Squashed commit of the following: commit b8716cdf75ac1785f6decb6d236d689c087889cd Author: Andreas Huber <andih@google.com> Date: Mon Jul 18 11:56:35 2016 -0700 Support for {read,write}StringVector. Change-Id: I816e4fc22afde960a481c0fb4c3d8531bffa6e56 commit 34279699169c9ba5fdc03055a863432a2edd1901 Author: Andreas Huber <andih@google.com> Date: Mon Jul 18 10:08:32 2016 -0700 LEGO -> Hw Change-Id: Ib63ef44cfd13e5a2c3a358d055aad162163d8600 commit eb2b09c4a03ba785363a8b230a89718ef319c35b Author: Andreas Huber <andih@google.com> Date: Fri Jul 15 14:01:11 2016 -0700 Squashed commit of the following: commit c657839a54cf6054e1983a59a59bfcc0854cc952 Author: Andreas Huber <andih@google.com> Date: Fri Jul 15 12:55:04 2016 -0700 Support for {read,write}StringArray and stubs for {read,write}StringVector Also refactored existing code to take advantage of HidlSupport.h Change-Id: I55613d0c66706008d1f96576b9f7a500d52b2cd3 commit 5d29cd53c4f2a9fe0cdc9052e4041c92d0873042 Author: Andreas Huber <andih@google.com> Date: Thu Jul 14 16:38:09 2016 -0700 Squashed commit of the following: commit 0a7e49f20d18a7eebda889594cc1bc5511ce2fdc Author: Andreas Huber <andih@google.com> Date: Tue Jul 12 14:21:56 2016 -0700 support all primitive array and vector read/write operations on LEGOParcel Change-Id: I200d1dccedc0fd752c297714e8e0df967fdb653b commit e0401c2fabc548681d7fd304c09b4ca8838bb0b5 Author: Andreas Huber <andih@google.com> Date: Tue Jul 12 09:53:42 2016 -0700 Added LEGOParcel.{read,write}{Int8,Int16} Change-Id: I0d9cc149802837593db606692694dbce1b12e521 commit 9187f7a349c0861549df2c534803e03066d22b4a Author: Andreas Huber <andih@google.com> Date: Mon Jul 11 16:10:50 2016 -0700 Better handling of temporary storage in JLEGOParcel Change-Id: I31cdf7b6f1f4bd486661288346cf530c9e92beaa commit dc2e5f6f0bb737c739e1dab356efeac945c000c3 Author: Andreas Huber <andih@google.com> Date: Mon Jul 11 14:18:09 2016 -0700 proper (read/writeBuffer based) marshalling of strings and int32 arrays Change-Id: I2fadd2f831cc0acb50a41222525e71f29b57e79e commit 6463a03074fa514ea8b7cb61e475c246e6136b43 Author: Andreas Huber <andih@google.com> Date: Mon Jul 11 13:13:31 2016 -0700 support for ILEGOBinder marshalling Change-Id: I8ceea45dfcb8460e59a05999ccdcad319650dede commit 8c26a006ded339043677d3607884da0abb3e742d Author: Andreas Huber <andih@google.com> Date: Fri Jul 8 16:42:38 2016 -0700 A quick and dirty fix for the "storage must stay around until transact() returns" issue. Change-Id: I75ac09391cdc23dcc6e154b32eff945f29d00cc0 commit df7d2c1e4e33d6554ab16e33c90bdf30ce2a136d Author: Andreas Huber <andih@google.com> Date: Fri Jul 8 08:48:31 2016 -0700 Squashed commit of the following: commit c42764acbaefab5ffc829dd1a3b60aa252643ae6 Author: Andreas Huber <andih@google.com> Date: Thu Jul 7 16:51:10 2016 -0700 An attempt at LEGOParcel.{read,write}Int32Vector Change-Id: I9dc54828ad10c8cec8ca292db011925cd60893e2 commit faa502ac98d28f3eff10a4c16443059ca316c76b Author: Andreas Huber <andih@google.com> Date: Thu Jul 7 14:58:24 2016 -0700 Support for LEGOParcel.{read,write}{String,Int32Array} Change-Id: I38317f22ff977bed2f8203c24333bbb7de6f1cc5 commit ba048b13eb014472130094fafd0fe982363d7add Author: Andreas Huber <andih@google.com> Date: Wed Jul 6 16:41:14 2016 -0700 LEGO{Binder,Parcel,RemoteBinder} java classes Change-Id: If1098ab921a11bae8eca2a70a3c3070e4daa0ea2
2016-08-15 09:25:02 -07:00
android_os_HwParcel.cpp \
android_os_HwRemoteBinder.cpp \
android_os_MemoryFile.cpp \
android_os_MessageQueue.cpp \
android_os_Parcel.cpp \
android_os_SELinux.cpp \
android_os_seccomp.cpp \
android_os_SystemClock.cpp \
android_os_SystemProperties.cpp \
android_os_Trace.cpp \
android_os_UEventObserver.cpp \
android_net_LocalSocketImpl.cpp \
android_net_NetUtils.cpp \
android_net_TrafficStats.cpp \
android_nio_utils.cpp \
android_util_AssetManager.cpp \
android_util_Binder.cpp \
android_util_EventLog.cpp \
android_util_MemoryIntArray.cpp \
android_util_Log.cpp \
android_util_PathParser.cpp \
android_util_Process.cpp \
android_util_StringBlock.cpp \
android_util_XmlBlock.cpp \
android_util_jar_StrictJarFile.cpp \
android_graphics_Canvas.cpp \
android_graphics_Picture.cpp \
android/graphics/Bitmap.cpp \
android/graphics/BitmapFactory.cpp \
android/graphics/Camera.cpp \
android/graphics/CanvasProperty.cpp \
android/graphics/ColorFilter.cpp \
android/graphics/DrawFilter.cpp \
android/graphics/FontFamily.cpp \
android/graphics/FontUtils.cpp \
android/graphics/CreateJavaOutputStreamAdaptor.cpp \
android/graphics/GIFMovie.cpp \
android/graphics/GraphicBuffer.cpp \
android/graphics/Graphics.cpp \
android/graphics/HarfBuzzNGFaceSkia.cpp \
android/graphics/Interpolator.cpp \
android/graphics/MaskFilter.cpp \
android/graphics/Matrix.cpp \
android/graphics/Movie.cpp \
android/graphics/MovieImpl.cpp \
android/graphics/NinePatch.cpp \
android/graphics/NinePatchPeeker.cpp \
android/graphics/Paint.cpp \
android/graphics/Path.cpp \
android/graphics/PathMeasure.cpp \
android/graphics/PathEffect.cpp \
android/graphics/Picture.cpp \
android/graphics/BitmapRegionDecoder.cpp \
android/graphics/Region.cpp \
android/graphics/Shader.cpp \
android/graphics/SurfaceTexture.cpp \
android/graphics/Typeface.cpp \
android/graphics/Utils.cpp \
android/graphics/YuvToJpegEncoder.cpp \
android/graphics/pdf/PdfDocument.cpp \
android/graphics/pdf/PdfEditor.cpp \
android/graphics/pdf/PdfRenderer.cpp \
android/graphics/pdf/PdfUtils.cpp \
android_media_AudioRecord.cpp \
android_media_AudioSystem.cpp \
android_media_AudioTrack.cpp \
android_media_DeviceCallback.cpp \
android_media_JetPlayer.cpp \
android_media_RemoteDisplay.cpp \
android_media_ToneGenerator.cpp \
android_hardware_Camera.cpp \
android_hardware_camera2_CameraMetadata.cpp \
android_hardware_camera2_legacy_LegacyCameraDevice.cpp \
android_hardware_camera2_legacy_PerfMeasurement.cpp \
android_hardware_camera2_DngCreator.cpp \
android_hardware_HardwareBuffer.cpp \
android_hardware_Radio.cpp \
android_hardware_SensorManager.cpp \
android_hardware_SerialPort.cpp \
android_hardware_SoundTrigger.cpp \
android_hardware_UsbDevice.cpp \
android_hardware_UsbDeviceConnection.cpp \
android_hardware_UsbRequest.cpp \
android_hardware_location_ActivityRecognitionHardware.cpp \
android_util_FileObserver.cpp \
android/opengl/poly_clip.cpp.arm \
android/opengl/util.cpp \
android_server_NetworkManagementSocketTagger.cpp \
android_server_Watchdog.cpp \
android_ddm_DdmHandleNativeHeap.cpp \
android_backup_BackupDataInput.cpp \
android_backup_BackupDataOutput.cpp \
android_backup_FileBackupHelperBase.cpp \
android_backup_BackupHelperDispatcher.cpp \
android_app_backup_FullBackup.cpp \
android_content_res_ObbScanner.cpp \
android_content_res_Configuration.cpp \
android_animation_PropertyValuesHolder.cpp \
com_android_internal_net_NetworkStatsFactory.cpp \
com_android_internal_os_FuseAppLoop.cpp \
com_android_internal_os_PathClassLoaderFactory.cpp \
com_android_internal_os_Zygote.cpp \
com_android_internal_util_VirtualRefBasePtr.cpp \
Initial commit of Java support for hardware binder. Squashed commit of the following: commit a536e55110a62871662d2f0b1771d7b66bb3cb27 Author: Andreas Huber <andih@google.com> Date: Mon Aug 15 09:04:45 2016 -0700 start HwBinder thread pool upon service registration Change-Id: I8e91d20e29a5647a36aad083c23d1b594fdc68c5 commit 0a1882999e0021b68ccebb0306905f17962b8a70 Author: Andreas Huber <andih@google.com> Date: Thu Aug 11 15:41:05 2016 -0700 IHwInterface, queryLocalInterface. also moved looking up a service into HwBinder. HwRemoteBinder is now an implementation detail. Change-Id: Ic0b818f5b36c42c608e570fe41a2c0272a6e48df commit d99b0b065bde6e0f071245719f8ab31ad25d91be Author: Andreas Huber <andih@google.com> Date: Mon Aug 8 09:07:51 2016 -0700 work in progress Change-Id: I4f5612944e9ac1c762ad1fa2e238836e37b484da commit 64f027e55780284b981f88a1605c00a0a0f091f4 Author: Andreas Huber <andih@google.com> Date: Thu Aug 4 10:10:52 2016 -0700 Squashed commit of the following: commit d023d5570ef810094a3d4382158f32faff46c480 Author: Andreas Huber <andih@google.com> Date: Thu Aug 4 10:09:41 2016 -0700 Some more cleanup, file organization more closely matches existing code in frameworks/base/core/jni/..., don't produce a separate shared library, this is now linked as part of libandroid_runtime.so Change-Id: I91024f137ff0faae26e72aa9a7163b80b97f0d05 commit 7cf5370748a9a99be68fac0f32c6793f5bfc4a15 Author: Andreas Huber <andih@google.com> Date: Thu Aug 4 09:37:44 2016 -0700 Some more cleanup. Change-Id: Ibb89280f51234f8a3dd29ca6d57d6eaaf80a03ea commit d70638398ed47c29401d6118e03d640245ecc9b2 Author: Andreas Huber <andih@google.com> Date: Thu Aug 4 09:31:49 2016 -0700 hidl::{Parcel,Binder & friends} => hardware::\1 Change-Id: I8f37a260d4a9afe66e02f7266c54af093502869f commit 0fc680aea7753d8de91b4a3806b892dcb4fface8 Author: Andreas Huber <andih@google.com> Date: Mon Aug 1 14:55:17 2016 -0700 Squashed commit of the following: commit daa714921e20bc209bd7c05aea458569ce539993 Author: Andreas Huber <andih@google.com> Date: Mon Aug 1 12:09:27 2016 -0700 Switch to NativeAllocationRegistry for pairing java- with native objects. Change-Id: I011fda51e8c24d9e03d6a0ddbcdac9196dc8ab72 commit 3a02606dba870f8313e1db919720647f686273b4 Author: Andreas Huber <andih@google.com> Date: Thu Jul 28 11:44:26 2016 -0700 Squashed commit of the following: commit e77b8ff331ed1b5554b4c7c1cd99ed99dbed5f45 Author: Andreas Huber <andih@google.com> Date: Thu Jul 28 11:15:12 2016 -0700 no more LOCAL_C_INCLUDES, read/writeEmbeddedBuffer APIs changed to take a size_t instead of a uint64_t for both handles and offsets. Use android-base/logging instead of utils/Log.h for logs/assertions. Change-Id: I1129c75da46e4335efbf94a3394f9bde7d0ad0c6 commit fbc3a7be0a8cde86b334a677a0e127123beb0051 Author: Andreas Huber <andih@google.com> Date: Wed Jul 27 16:20:24 2016 -0700 Squashed commit of the following: commit bda9396472eaa32c7643927017ccfdcba8a6aeb3 Author: Andreas Huber <andih@google.com> Date: Wed Jul 27 16:19:57 2016 -0700 Code review in progress. Change-Id: I66cc3a4ec8caf6feac0d526130c0c3902fd8e2cc commit 2887d9589562c3e9834e5d6bb513ab5eff9cdb5f Author: Andreas Huber <andih@google.com> Date: Mon Jul 25 12:00:38 2016 -0700 Squashed commit of the following: commit 8a565b0282577508db00a9f6146e75d962b854f4 Author: Andreas Huber <andih@google.com> Date: Mon Jul 25 12:00:13 2016 -0700 @hide everything Change-Id: I54411d1b0d9cd2ddb66acc1444c23b17b98e58a6 commit e55a1dd871a2c653bca300335ba9dcc78b3c5ea5 Author: Andreas Huber <andih@google.com> Date: Tue Jul 19 11:19:07 2016 -0700 Squashed commit of the following: commit c9ae58af694ae2c8451486fe83fab0f6e1398047 Author: Andreas Huber <andih@google.com> Date: Tue Jul 19 10:10:56 2016 -0700 switch to a better way of finishing/sending stub transactions Change-Id: I7e237f57f4dbd69d05caeb62de0876c40feaa1cf commit 0af00b5c41bf808f31300a565467d463d8df0636 Author: Andreas Huber <andih@google.com> Date: Mon Jul 18 15:32:09 2016 -0700 exceptions >> assertions Change-Id: I098d6e170525539b81aae5e8890c8460ec78df18 commit f5e1363c2e6b7713ae1460cd8dc22872deebedc4 Author: Andreas Huber <andih@google.com> Date: Mon Jul 18 11:57:04 2016 -0700 Squashed commit of the following: commit b8716cdf75ac1785f6decb6d236d689c087889cd Author: Andreas Huber <andih@google.com> Date: Mon Jul 18 11:56:35 2016 -0700 Support for {read,write}StringVector. Change-Id: I816e4fc22afde960a481c0fb4c3d8531bffa6e56 commit 34279699169c9ba5fdc03055a863432a2edd1901 Author: Andreas Huber <andih@google.com> Date: Mon Jul 18 10:08:32 2016 -0700 LEGO -> Hw Change-Id: Ib63ef44cfd13e5a2c3a358d055aad162163d8600 commit eb2b09c4a03ba785363a8b230a89718ef319c35b Author: Andreas Huber <andih@google.com> Date: Fri Jul 15 14:01:11 2016 -0700 Squashed commit of the following: commit c657839a54cf6054e1983a59a59bfcc0854cc952 Author: Andreas Huber <andih@google.com> Date: Fri Jul 15 12:55:04 2016 -0700 Support for {read,write}StringArray and stubs for {read,write}StringVector Also refactored existing code to take advantage of HidlSupport.h Change-Id: I55613d0c66706008d1f96576b9f7a500d52b2cd3 commit 5d29cd53c4f2a9fe0cdc9052e4041c92d0873042 Author: Andreas Huber <andih@google.com> Date: Thu Jul 14 16:38:09 2016 -0700 Squashed commit of the following: commit 0a7e49f20d18a7eebda889594cc1bc5511ce2fdc Author: Andreas Huber <andih@google.com> Date: Tue Jul 12 14:21:56 2016 -0700 support all primitive array and vector read/write operations on LEGOParcel Change-Id: I200d1dccedc0fd752c297714e8e0df967fdb653b commit e0401c2fabc548681d7fd304c09b4ca8838bb0b5 Author: Andreas Huber <andih@google.com> Date: Tue Jul 12 09:53:42 2016 -0700 Added LEGOParcel.{read,write}{Int8,Int16} Change-Id: I0d9cc149802837593db606692694dbce1b12e521 commit 9187f7a349c0861549df2c534803e03066d22b4a Author: Andreas Huber <andih@google.com> Date: Mon Jul 11 16:10:50 2016 -0700 Better handling of temporary storage in JLEGOParcel Change-Id: I31cdf7b6f1f4bd486661288346cf530c9e92beaa commit dc2e5f6f0bb737c739e1dab356efeac945c000c3 Author: Andreas Huber <andih@google.com> Date: Mon Jul 11 14:18:09 2016 -0700 proper (read/writeBuffer based) marshalling of strings and int32 arrays Change-Id: I2fadd2f831cc0acb50a41222525e71f29b57e79e commit 6463a03074fa514ea8b7cb61e475c246e6136b43 Author: Andreas Huber <andih@google.com> Date: Mon Jul 11 13:13:31 2016 -0700 support for ILEGOBinder marshalling Change-Id: I8ceea45dfcb8460e59a05999ccdcad319650dede commit 8c26a006ded339043677d3607884da0abb3e742d Author: Andreas Huber <andih@google.com> Date: Fri Jul 8 16:42:38 2016 -0700 A quick and dirty fix for the "storage must stay around until transact() returns" issue. Change-Id: I75ac09391cdc23dcc6e154b32eff945f29d00cc0 commit df7d2c1e4e33d6554ab16e33c90bdf30ce2a136d Author: Andreas Huber <andih@google.com> Date: Fri Jul 8 08:48:31 2016 -0700 Squashed commit of the following: commit c42764acbaefab5ffc829dd1a3b60aa252643ae6 Author: Andreas Huber <andih@google.com> Date: Thu Jul 7 16:51:10 2016 -0700 An attempt at LEGOParcel.{read,write}Int32Vector Change-Id: I9dc54828ad10c8cec8ca292db011925cd60893e2 commit faa502ac98d28f3eff10a4c16443059ca316c76b Author: Andreas Huber <andih@google.com> Date: Thu Jul 7 14:58:24 2016 -0700 Support for LEGOParcel.{read,write}{String,Int32Array} Change-Id: I38317f22ff977bed2f8203c24333bbb7de6f1cc5 commit ba048b13eb014472130094fafd0fe982363d7add Author: Andreas Huber <andih@google.com> Date: Wed Jul 6 16:41:14 2016 -0700 LEGO{Binder,Parcel,RemoteBinder} java classes Change-Id: If1098ab921a11bae8eca2a70a3c3070e4daa0ea2
2016-08-15 09:25:02 -07:00
com_android_internal_view_animation_NativeInterpolatorFactoryHelper.cpp \
hwbinder/EphemeralStorage.cpp \
fd_utils.cpp \
LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/include \
$(JNI_H_INCLUDE) \
$(LOCAL_PATH)/android/graphics \
$(LOCAL_PATH)/../../libs/hwui \
$(LOCAL_PATH)/../../../native/vulkan/include \
$(call include-path-for, bluedroid) \
$(call include-path-for, libhardware)/hardware \
$(call include-path-for, libhardware_legacy)/hardware_legacy \
$(TOP)/frameworks/base/media/jni \
$(TOP)/frameworks/rs/cpp \
$(TOP)/frameworks/rs \
$(TOP)/system/core/base/include \
$(TOP)/system/core/include \
$(TOP)/system/core/libappfuse/include \
$(TOP)/system/media/camera/include \
$(TOP)/system/netd/include \
external/giflib \
external/pdfium/public \
external/skia/include/private \
external/skia/src/codec \
external/skia/src/core \
external/skia/src/effects \
external/skia/src/image \
external/skia/src/images \
external/sqlite/dist \
external/sqlite/android \
external/tremor/Tremor \
external/harfbuzz_ng/src \
libcore/include \
$(call include-path-for, audio-utils) \
frameworks/minikin/include \
external/freetype/include
# TODO: clean up Minikin so it doesn't need the freetype include
LOCAL_STATIC_LIBRARIES := \
libgif \
libseccomp_policy \
libselinux \
libcrypto \
LOCAL_SHARED_LIBRARIES := \
libmemtrack \
libandroidfw \
libappfuse \
libbase \
libnativehelper \
liblog \
libcutils \
libdebuggerd_client \
libutils \
libbinder \
libui \
libgui \
libsensor \
libinput \
libcamera_client \
libcamera_metadata \
libskia \
libsqlite \
libEGL \
libGLESv1_CM \
libGLESv2 \
libvulkan \
libziparchive \
libETC1 \
libhardware \
libhardware_legacy \
libselinux \
libicuuc \
libmedia \
libaudioclient \
libjpeg \
libusbhost \
libharfbuzz_ng \
libz \
libpdfium \
libimg_utils \
libnetd_client \
libradio \
libsoundtrigger \
libminikin \
libprocessgroup \
libnativebridge \
libradio_metadata \
libnativeloader \
libmemunreachable \
libhidlbase \
libhidltransport \
Initial commit of Java support for hardware binder. Squashed commit of the following: commit a536e55110a62871662d2f0b1771d7b66bb3cb27 Author: Andreas Huber <andih@google.com> Date: Mon Aug 15 09:04:45 2016 -0700 start HwBinder thread pool upon service registration Change-Id: I8e91d20e29a5647a36aad083c23d1b594fdc68c5 commit 0a1882999e0021b68ccebb0306905f17962b8a70 Author: Andreas Huber <andih@google.com> Date: Thu Aug 11 15:41:05 2016 -0700 IHwInterface, queryLocalInterface. also moved looking up a service into HwBinder. HwRemoteBinder is now an implementation detail. Change-Id: Ic0b818f5b36c42c608e570fe41a2c0272a6e48df commit d99b0b065bde6e0f071245719f8ab31ad25d91be Author: Andreas Huber <andih@google.com> Date: Mon Aug 8 09:07:51 2016 -0700 work in progress Change-Id: I4f5612944e9ac1c762ad1fa2e238836e37b484da commit 64f027e55780284b981f88a1605c00a0a0f091f4 Author: Andreas Huber <andih@google.com> Date: Thu Aug 4 10:10:52 2016 -0700 Squashed commit of the following: commit d023d5570ef810094a3d4382158f32faff46c480 Author: Andreas Huber <andih@google.com> Date: Thu Aug 4 10:09:41 2016 -0700 Some more cleanup, file organization more closely matches existing code in frameworks/base/core/jni/..., don't produce a separate shared library, this is now linked as part of libandroid_runtime.so Change-Id: I91024f137ff0faae26e72aa9a7163b80b97f0d05 commit 7cf5370748a9a99be68fac0f32c6793f5bfc4a15 Author: Andreas Huber <andih@google.com> Date: Thu Aug 4 09:37:44 2016 -0700 Some more cleanup. Change-Id: Ibb89280f51234f8a3dd29ca6d57d6eaaf80a03ea commit d70638398ed47c29401d6118e03d640245ecc9b2 Author: Andreas Huber <andih@google.com> Date: Thu Aug 4 09:31:49 2016 -0700 hidl::{Parcel,Binder & friends} => hardware::\1 Change-Id: I8f37a260d4a9afe66e02f7266c54af093502869f commit 0fc680aea7753d8de91b4a3806b892dcb4fface8 Author: Andreas Huber <andih@google.com> Date: Mon Aug 1 14:55:17 2016 -0700 Squashed commit of the following: commit daa714921e20bc209bd7c05aea458569ce539993 Author: Andreas Huber <andih@google.com> Date: Mon Aug 1 12:09:27 2016 -0700 Switch to NativeAllocationRegistry for pairing java- with native objects. Change-Id: I011fda51e8c24d9e03d6a0ddbcdac9196dc8ab72 commit 3a02606dba870f8313e1db919720647f686273b4 Author: Andreas Huber <andih@google.com> Date: Thu Jul 28 11:44:26 2016 -0700 Squashed commit of the following: commit e77b8ff331ed1b5554b4c7c1cd99ed99dbed5f45 Author: Andreas Huber <andih@google.com> Date: Thu Jul 28 11:15:12 2016 -0700 no more LOCAL_C_INCLUDES, read/writeEmbeddedBuffer APIs changed to take a size_t instead of a uint64_t for both handles and offsets. Use android-base/logging instead of utils/Log.h for logs/assertions. Change-Id: I1129c75da46e4335efbf94a3394f9bde7d0ad0c6 commit fbc3a7be0a8cde86b334a677a0e127123beb0051 Author: Andreas Huber <andih@google.com> Date: Wed Jul 27 16:20:24 2016 -0700 Squashed commit of the following: commit bda9396472eaa32c7643927017ccfdcba8a6aeb3 Author: Andreas Huber <andih@google.com> Date: Wed Jul 27 16:19:57 2016 -0700 Code review in progress. Change-Id: I66cc3a4ec8caf6feac0d526130c0c3902fd8e2cc commit 2887d9589562c3e9834e5d6bb513ab5eff9cdb5f Author: Andreas Huber <andih@google.com> Date: Mon Jul 25 12:00:38 2016 -0700 Squashed commit of the following: commit 8a565b0282577508db00a9f6146e75d962b854f4 Author: Andreas Huber <andih@google.com> Date: Mon Jul 25 12:00:13 2016 -0700 @hide everything Change-Id: I54411d1b0d9cd2ddb66acc1444c23b17b98e58a6 commit e55a1dd871a2c653bca300335ba9dcc78b3c5ea5 Author: Andreas Huber <andih@google.com> Date: Tue Jul 19 11:19:07 2016 -0700 Squashed commit of the following: commit c9ae58af694ae2c8451486fe83fab0f6e1398047 Author: Andreas Huber <andih@google.com> Date: Tue Jul 19 10:10:56 2016 -0700 switch to a better way of finishing/sending stub transactions Change-Id: I7e237f57f4dbd69d05caeb62de0876c40feaa1cf commit 0af00b5c41bf808f31300a565467d463d8df0636 Author: Andreas Huber <andih@google.com> Date: Mon Jul 18 15:32:09 2016 -0700 exceptions >> assertions Change-Id: I098d6e170525539b81aae5e8890c8460ec78df18 commit f5e1363c2e6b7713ae1460cd8dc22872deebedc4 Author: Andreas Huber <andih@google.com> Date: Mon Jul 18 11:57:04 2016 -0700 Squashed commit of the following: commit b8716cdf75ac1785f6decb6d236d689c087889cd Author: Andreas Huber <andih@google.com> Date: Mon Jul 18 11:56:35 2016 -0700 Support for {read,write}StringVector. Change-Id: I816e4fc22afde960a481c0fb4c3d8531bffa6e56 commit 34279699169c9ba5fdc03055a863432a2edd1901 Author: Andreas Huber <andih@google.com> Date: Mon Jul 18 10:08:32 2016 -0700 LEGO -> Hw Change-Id: Ib63ef44cfd13e5a2c3a358d055aad162163d8600 commit eb2b09c4a03ba785363a8b230a89718ef319c35b Author: Andreas Huber <andih@google.com> Date: Fri Jul 15 14:01:11 2016 -0700 Squashed commit of the following: commit c657839a54cf6054e1983a59a59bfcc0854cc952 Author: Andreas Huber <andih@google.com> Date: Fri Jul 15 12:55:04 2016 -0700 Support for {read,write}StringArray and stubs for {read,write}StringVector Also refactored existing code to take advantage of HidlSupport.h Change-Id: I55613d0c66706008d1f96576b9f7a500d52b2cd3 commit 5d29cd53c4f2a9fe0cdc9052e4041c92d0873042 Author: Andreas Huber <andih@google.com> Date: Thu Jul 14 16:38:09 2016 -0700 Squashed commit of the following: commit 0a7e49f20d18a7eebda889594cc1bc5511ce2fdc Author: Andreas Huber <andih@google.com> Date: Tue Jul 12 14:21:56 2016 -0700 support all primitive array and vector read/write operations on LEGOParcel Change-Id: I200d1dccedc0fd752c297714e8e0df967fdb653b commit e0401c2fabc548681d7fd304c09b4ca8838bb0b5 Author: Andreas Huber <andih@google.com> Date: Tue Jul 12 09:53:42 2016 -0700 Added LEGOParcel.{read,write}{Int8,Int16} Change-Id: I0d9cc149802837593db606692694dbce1b12e521 commit 9187f7a349c0861549df2c534803e03066d22b4a Author: Andreas Huber <andih@google.com> Date: Mon Jul 11 16:10:50 2016 -0700 Better handling of temporary storage in JLEGOParcel Change-Id: I31cdf7b6f1f4bd486661288346cf530c9e92beaa commit dc2e5f6f0bb737c739e1dab356efeac945c000c3 Author: Andreas Huber <andih@google.com> Date: Mon Jul 11 14:18:09 2016 -0700 proper (read/writeBuffer based) marshalling of strings and int32 arrays Change-Id: I2fadd2f831cc0acb50a41222525e71f29b57e79e commit 6463a03074fa514ea8b7cb61e475c246e6136b43 Author: Andreas Huber <andih@google.com> Date: Mon Jul 11 13:13:31 2016 -0700 support for ILEGOBinder marshalling Change-Id: I8ceea45dfcb8460e59a05999ccdcad319650dede commit 8c26a006ded339043677d3607884da0abb3e742d Author: Andreas Huber <andih@google.com> Date: Fri Jul 8 16:42:38 2016 -0700 A quick and dirty fix for the "storage must stay around until transact() returns" issue. Change-Id: I75ac09391cdc23dcc6e154b32eff945f29d00cc0 commit df7d2c1e4e33d6554ab16e33c90bdf30ce2a136d Author: Andreas Huber <andih@google.com> Date: Fri Jul 8 08:48:31 2016 -0700 Squashed commit of the following: commit c42764acbaefab5ffc829dd1a3b60aa252643ae6 Author: Andreas Huber <andih@google.com> Date: Thu Jul 7 16:51:10 2016 -0700 An attempt at LEGOParcel.{read,write}Int32Vector Change-Id: I9dc54828ad10c8cec8ca292db011925cd60893e2 commit faa502ac98d28f3eff10a4c16443059ca316c76b Author: Andreas Huber <andih@google.com> Date: Thu Jul 7 14:58:24 2016 -0700 Support for LEGOParcel.{read,write}{String,Int32Array} Change-Id: I38317f22ff977bed2f8203c24333bbb7de6f1cc5 commit ba048b13eb014472130094fafd0fe982363d7add Author: Andreas Huber <andih@google.com> Date: Wed Jul 6 16:41:14 2016 -0700 LEGO{Binder,Parcel,RemoteBinder} java classes Change-Id: If1098ab921a11bae8eca2a70a3c3070e4daa0ea2
2016-08-15 09:25:02 -07:00
libhwbinder \
libvintf \
libnativewindow \
LOCAL_SHARED_LIBRARIES += \
libhwui \
libdl \
# our headers include libnativewindow's public headers
LOCAL_EXPORT_SHARED_LIBRARY_HEADERS := \
libnativewindow \
# we need to access the private Bionic header
# <bionic_tls.h> in com_google_android_gles_jni_GLImpl.cpp
LOCAL_C_INCLUDES += bionic/libc/private
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
# AndroidRuntime.h depends on nativehelper/jni.h
LOCAL_EXPORT_C_INCLUDE_DIRS += libnativehelper/include
LOCAL_MODULE:= libandroid_runtime
# -Wno-unknown-pragmas: necessary for Clang as the GL bindings need to turn
# off a GCC warning that Clang doesn't know.
LOCAL_CFLAGS += -Wall -Werror -Wno-error=deprecated-declarations -Wunused -Wunreachable-code \
-Wno-unknown-pragmas
# -Wno-c++11-extensions: Clang warns about Skia using the C++11 override keyword, but this project
# is not being compiled with that level. Remove once this has changed.
LOCAL_CLANG_CFLAGS += -Wno-c++11-extensions
include $(BUILD_SHARED_LIBRARY)
include $(call all-makefiles-under,$(LOCAL_PATH))