From 4e7442d7d8b6245632a24526868267ab268dfbfd Mon Sep 17 00:00:00 2001 From: Robert O'Callahan Date: Tue, 6 May 2014 17:40:47 +1200 Subject: [PATCH] Bug 1006248. Part 3: Add lots of system header wrappers for B2G/Android. r=glandium --HG-- extra : rebase_source : 8ea21e177bf6f5ba7bb9d53c8f564b46e8b97cd6 --- config/system-headers | 221 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 221 insertions(+) diff --git a/config/system-headers b/config/system-headers index 0710a7a95fe1..9633c797f727 100644 --- a/config/system-headers +++ b/config/system-headers @@ -164,7 +164,13 @@ all.h alloca.h alloc.h alsa/asoundlib.h +#ifdef ANDROID +android/ashmem.h android/log.h +android/looper.h +android/native_window.h +android_audio/AudioSystem.h +#endif ansi_parms.h a.out.h app/Cursor.h @@ -177,6 +183,7 @@ app/Message.h app/MessageRunner.h arpa/inet.h arpa/nameser.h +asm/page.h asm/sigcontext.h asm/signal.h ASRegistry.h @@ -192,6 +199,12 @@ atlimpl.cpp atlwin.cpp ATSTypes.h ATSUnicode.h +#ifdef ANDROID +AudioParameter.h +AudioSystem.h +AudioTrack.h +avc_utils.h +#endif Balloons.h base/pblock.h base/PCR_Base.h @@ -202,6 +215,18 @@ Beep.h be/kernel/image.h be/kernel/OS.h bfd.h +#ifdef ANDROID +binder/Binder.h +binder/BinderService.h +binder/IBinder.h +binder/IInterface.h +binder/IMemory.h +binder/IPCThreadState.h +binder/IPermissionController.h +binder/IServiceManager.h +binder/Parcel.h +binder/ProcessState.h +#endif Bitmap.h bitset blapi.h @@ -283,6 +308,10 @@ dfb_types.h directfb_strings.h directfb_keyboard.h callconv.h +#ifdef ANDROID +camera/Camera.h +camera/CameraParameters.h +#endif Carbon/Carbon.h CarbonEvents.h Carbon.h @@ -308,6 +337,9 @@ Clipboard.h cmplrs/stsupport.h Cocoa/Cocoa.h CodeFragments.h +#ifdef ANDROID +ColorConverter.h +#endif comdef.h commctrl.h COMMCTRL.H @@ -340,6 +372,15 @@ ctype.h curl/curl.h curl/easy.h curses.h +#ifdef ANDROID +cutils/android_reboot.h +cutils/atomic.h +cutils/compiler.h +cutils/log.h +cutils/native_handle.h +cutils/properties.h +cutils/sockets.h +#endif cxxabi.h DateTimeUtils.h dbus/dbus.h @@ -366,6 +407,9 @@ DriverServices.h DriverSynchronization.h DropInPanel.h dvidef.h +#ifdef ANDROID +EffectApi.h +#endif elf.h endian.h Entry.h @@ -396,6 +440,19 @@ fontconfig/fontconfig.h fontconfig/fcfreetype.h Font.h Fonts.h +#ifdef ANDROID +foundation/ABase.h +foundation/ABitReader.h +foundation/ABuffer.h +foundation/ADebug.h +foundation/AHandler.h +foundation/AHandlerReflector.h +foundation/ALooper.h +foundation/AMessage.h +foundation/AString.h +foundation/base64.h +foundation/hexdump.h +#endif fp.h fpieee.h frame/log.h @@ -458,9 +515,41 @@ gtk/gtkx.h gtk/gtkprinter.h gtk/gtkprintjob.h gtk/gtkprintunixdialog.h +#ifdef ANDROID +gui/GraphicBufferAlloc.h +gui/IConsumerListener.h +gui/IGraphicBufferAlloc.h +gui/IGraphicBufferProducer.h +gui/ISurfaceComposer.h +gui/ISurfaceComposerClient.h +gui/ISurfaceTexture.h +gui/Surface.h +gui/SurfaceComposerClient.h +gui/SurfaceTextureClient.h +hardware/audio.h +hardware/gralloc.h +hardware/hardware.h +hardware/hwcomposer.h +hardware/lights.h +hardware/power.h +hardware_legacy/power.h +hardware_legacy/uevent.h +hardware_legacy/vibrator.h +#endif HIToolbox/HIToolbox.h hlink.h +#ifdef ANDROID +HTTPBase.h +#endif ia64/sys/inline.h +#ifdef ANDROID +IAudioFlingerClient.h +IAudioFlinger.h +IAudioRecord.h +IAudioTrack.h +IEffect.h +IEffectClient.h +#endif Icons.h iconv.h ieeefp.h @@ -560,6 +649,9 @@ lib$routines.h limits limits.h link.h +linux/android_alarm.h +linux/ashmem.h +linux/ioprio.h linux/kernel.h linux/limits.h linux/rtc.h @@ -646,6 +738,47 @@ mapix.h Math64.h math.h mbstring.h +#ifdef ANDROID +media/ICrypto.h +media/IOMX.h +media/MediaProfiles.h +media/MediaRecorderBase.h +media/openmax/OMX_Audio.h +media/stagefright/AACWriter.h +media/stagefright/AMRWriter.h +media/stagefright/AudioSource.h +media/stagefright/DataSource.h +media/stagefright/foundation/ABase.h +media/stagefright/foundation/ABitReader.h +media/stagefright/foundation/ABuffer.h +media/stagefright/foundation/ADebug.h +media/stagefright/foundation/AHandler.h +media/stagefright/foundation/AHandlerReflector.h +media/stagefright/foundation/ALooper.h +media/stagefright/foundation/AMessage.h +media/stagefright/foundation/AString.h +media/stagefright/foundation/base64.h +media/stagefright/foundation/hexdump.h +media/stagefright/MediaBuffer.h +media/stagefright/MediaBufferGroup.h +media/stagefright/MediaCodec.h +media/stagefright/MediaDefs.h +media/stagefright/MediaErrors.h +media/stagefright/MediaExtractor.h +media/stagefright/MediaSource.h +media/stagefright/MediaWriter.h +media/stagefright/MetaData.h +media/stagefright/MPEG2TSWriter.h +media/stagefright/MPEG4Writer.h +media/stagefright/OMXClient.h +media/stagefright/OMXCodec.h +media/stagefright/openmax/OMX_Core.h +media/stagefright/openmax/OMX_Index.h +media/stagefright/openmax/OMX_IVCommon.h +media/stagefright/openmax/OMX_Types.h +media/stagefright/openmax/OMX_Video.h +media/stagefright/Utils.h +#endif mem.h memory memory.h @@ -687,6 +820,10 @@ Objsafe.h ojiapitests.h ole2.h oleidl.h +#ifdef ANDROID +OMX.h +OMX_Component.h +#endif OpenGL/OpenGL.h OpenTptInternet.h OpenTransport.h @@ -733,7 +870,10 @@ PP_Resources.h PP_Types.h Printing.h Print/PMPrintingDialogExtensions.h +#ifdef ANDROID +private/android_filesystem_config.h private/qucomextra_p.h +#endif Processes.h process.h Process.h @@ -783,6 +923,7 @@ set setjmp.h SFNTLayoutTypes.h SFNTTypes.h +sha1.h share.h shellapi.h shlguid.h @@ -800,6 +941,43 @@ sqlite3.h ssdef.h sstream stack +#ifdef ANDROID +stagefright/AACWriter.h +stagefright/AMRWriter.h +stagefright/AudioSource.h +stagefright/DataSource.h +stagefright/foundation/ABase.h +stagefright/foundation/ABitReader.h +stagefright/foundation/ABuffer.h +stagefright/foundation/ADebug.h +stagefright/foundation/AHandler.h +stagefright/foundation/AHandlerReflector.h +stagefright/foundation/ALooper.h +stagefright/foundation/AMessage.h +stagefright/foundation/AString.h +stagefright/foundation/base64.h +stagefright/foundation/hexdump.h +stagefright/MediaBuffer.h +stagefright/MediaBufferGroup.h +stagefright/MediaCodec.h +stagefright/MediaDefs.h +stagefright/MediaErrors.h +stagefright/MediaExtractor.h +stagefright/MediaSource.h +stagefright/MediaWriter.h +stagefright/MetaData.h +stagefright/MPEG2TSWriter.h +stagefright/MPEG4Writer.h +stagefright/OMXCodec.h +stagefright/OMXClient.h +stagefright/openmax/OMX_Component.h +stagefright/openmax/OMX_Core.h +stagefright/openmax/OMX_Index.h +stagefright/openmax/OMX_IVCommon.h +stagefright/openmax/OMX_Types.h +stagefright/openmax/OMX_Video.h +stagefright/Utils.h +#endif StandardFile.h starlet.h stat.h @@ -828,6 +1006,9 @@ SupportDefs.h support/String.h support/SupportDefs.h support/TLS.h +#ifdef ANDROID +suspend/autosuspend.h +#endif svrcore.h symconst.h sym.h @@ -841,6 +1022,7 @@ sys/cdefs.h sys/cfgodm.h sys/elf.h sys/endian.h +sys/epoll.h sys/errno.h sys/fault.h sys/fcntl.h @@ -848,10 +1030,12 @@ sys/file.h sys/filio.h sys/frame.h sys/immu.h +sys/inotify.h sys/inttypes.h sys/ioccom.h sys/ioctl.h sys/ipc.h +sys/klog.h sys/ldr.h sys/link.h sys/locking.h @@ -910,6 +1094,12 @@ sys/unistd.h sys/utsname.h sys/vfs.h sys/wait.h +#ifdef ANDROID +sysutils/NetlinkEvent.h +system/audio.h +system/graphics.h +system/window.h +#endif tables.h TArray.h TArrayIterator.h @@ -952,6 +1142,15 @@ UEventMgr.h UException.h UExtractFromAEDesc.h UGWorld.h +#ifdef ANDROID +ui/ANativeObjectBase.h +ui/egl/android_natives.h +ui/Fence.h +ui/FramebufferNativeWindow.h +ui/GraphicBuffer.h +ui/Rect.h +ui/Region.h +#endif UKeyFilters.h ulocks.h ulserrno.h @@ -975,6 +1174,28 @@ URegions.h URegistrar.h UResourceMgr.h utility +#ifdef ANDROID +utils/BitSet.h +utils/CallStack.h +utils/Errors.h +utils/FileMap.h +utils/KeyedVector.h +utils/List.h +utils/Log.h +utils/Looper.h +utils/PropertyMap.h +utils/RefBase.h +utils/String16.h +utils/String8.h +utils/threads.h +utils/TextOutput.h +utils/Timers.h +utils/Trace.h +utils/TypeHelpers.h +utils/Unicode.h +utils/Vector.h +utils/VectorImpl.h +#endif urlhist.h urlmon.h UScrap.h