Changeset 51228 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Nov 19, 2009, 10:03:15 PM (16 years ago)
Author:
[email protected]
Message:

2009-11-19 Steve Block <[email protected]>

Android port lacks configuration in Platform.h and config.h.
https://bugs.webkit.org/show_bug.cgi?id=31671

  • wtf/Platform.h: Modified. Added Android-specific configuration.

2009-11-19 Steve Block <[email protected]>

Reviewed by Darin Fisher.

Android port lacks configuration in Platform.h and config.h.
https://bugs.webkit.org/show_bug.cgi?id=31671

Build change only. No new tests possible.

  • config.h: Modified. Added Android-specific configuration.
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r51222 r51228  
     12009-11-19  Steve Block  <[email protected]>
     2
     3        Android port lacks configuration in Platform.h and config.h.
     4        https://bugs.webkit.org/show_bug.cgi?id=31671
     5
     6        * wtf/Platform.h: Modified. Added Android-specific configuration.
     7
    182009-11-19  Alexey Proskuryakov  <[email protected]>
    29
  • trunk/JavaScriptCore/wtf/Platform.h

    r51197 r51228  
    133133   || defined(_AIX)        \
    134134   || defined(__HAIKU__)   \
    135    || defined(__QNXNTO__)
     135   || defined(__QNXNTO__)  \
     136   || defined(ANDROID)
    136137#define WTF_PLATFORM_UNIX 1
    137138#endif
     
    183184#endif
    184185
     186/* PLATFORM(ANDROID) */
     187#if defined(ANDROID)
     188#define WTF_PLATFORM_ANDROID 1
     189#endif
     190
    185191/* Graphics engines */
    186192
     
    206212/* Makes PLATFORM(WIN) default to PLATFORM(CAIRO) */
    207213/* FIXME: This should be changed from a blacklist to a whitelist */
    208 #if !PLATFORM(MAC) && !PLATFORM(QT) && !PLATFORM(WX) && !PLATFORM(CHROMIUM) && !PLATFORM(WINCE) && !PLATFORM(HAIKU)
     214#if !PLATFORM(MAC) && !PLATFORM(QT) && !PLATFORM(WX) && !PLATFORM(CHROMIUM) && !PLATFORM(WINCE) && !PLATFORM(HAIKU) && !PLATFORM(ANDROID)
    209215#define WTF_PLATFORM_CAIRO 1
    210216#endif
     
    253259#elif !defined(__ARM_EABI__) \
    254260   && !defined(__EABI__) \
    255    && !defined(__VFP_FP__)
     261   && !defined(__VFP_FP__) \
     262   && !defined(ANDROID)
    256263#define WTF_PLATFORM_MIDDLE_ENDIAN 1
    257264
     
    525532#endif
    526533
     534#if PLATFORM(ANDROID)
     535#define WTF_USE_PTHREADS 1
     536#define WTF_PLATFORM_SGL 1
     537#define USE_SYSTEM_MALLOC 1
     538#define ENABLE_MAC_JAVA_BRIDGE 1
     539#define LOG_DISABLED 1
     540// Prevents Webkit from drawing the caret in textfields and textareas
     541// This prevents unnecessary invals.
     542#define ENABLE_TEXT_CARET 1
     543#define ENABLE_JAVASCRIPT_DEBUGGER 0
     544#endif
     545
    527546#if PLATFORM(WIN)
    528547#define WTF_USE_WININET 1
     
    560579
    561580#if !PLATFORM(WIN_OS) && !PLATFORM(SOLARIS) && !PLATFORM(QNX) \
    562     && !PLATFORM(SYMBIAN) && !PLATFORM(HAIKU) && !COMPILER(RVCT)
     581    && !PLATFORM(SYMBIAN) && !PLATFORM(HAIKU) && !COMPILER(RVCT) \
     582    && !PLATFORM(ANDROID)
    563583#define HAVE_TM_GMTOFF 1
    564584#define HAVE_TM_ZONE 1
     
    613633
    614634#define HAVE_ERRNO_H 1
     635#define HAVE_MMAP 1
     636#define HAVE_SBRK 1
     637#define HAVE_STRINGS_H 1
     638#define HAVE_SYS_PARAM_H 1
     639#define HAVE_SYS_TIME_H 1
     640
     641#elif PLATFORM(ANDROID)
     642
     643#define HAVE_ERRNO_H 1
     644#define HAVE_LANGINFO_H 0
    615645#define HAVE_MMAP 1
    616646#define HAVE_SBRK 1
Note: See TracChangeset for help on using the changeset viewer.