Changeset 121304 in webkit


Ignore:
Timestamp:
Jun 26, 2012 5:06:19 PM (12 years ago)
Author:
peter@chromium.org
Message:

[Chromium] Decrease the number of conditional blocks in features.gypi
https://bugs.webkit.org/show_bug.cgi?id=90013

Reviewed by Adam Barth.

Consolidate two Android-specific and accelerated-compositing-specific
conditional blocks into other blocks which serve an identical purpose.

  • features.gypi:
Location:
trunk/Source/WebKit/chromium
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/chromium/ChangeLog

    r121288 r121304  
     12012-06-26  Peter Beverloo  <peter@chromium.org>
     2
     3        [Chromium] Decrease the number of conditional blocks in features.gypi
     4        https://bugs.webkit.org/show_bug.cgi?id=90013
     5
     6        Reviewed by Adam Barth.
     7
     8        Consolidate two Android-specific and accelerated-compositing-specific
     9        conditional blocks into other blocks which serve an identical purpose.
     10
     11        * features.gypi:
     12
    1132012-06-26  Dave Tu  <dtu@chromium.org>
    214
  • trunk/Source/WebKit/chromium/features.gypi

    r121237 r121304  
    138138          'ENABLE_FONT_BOOSTING=1',
    139139          'ENABLE_INPUT_SPEECH=0',
     140          'ENABLE_INPUT_TYPE_COLOR=0',
    140141          'ENABLE_INPUT_TYPE_DATETIME=1',
    141142          'ENABLE_INPUT_TYPE_DATETIMELOCAL=1',
     
    158159        ],
    159160        'enable_touch_icon_loading': 1,
    160       }, {
     161      }, { # OS!="android"
    161162        'feature_defines': [
    162163          'ENABLE_CALENDAR_PICKER=1',
    163164          'ENABLE_FONT_BOOSTING=0',
    164165          'ENABLE_INPUT_SPEECH=1',
     166          'ENABLE_INPUT_TYPE_COLOR=1',
    165167          'ENABLE_JAVASCRIPT_I18N_API=1',
    166168          'ENABLE_LEGACY_NOTIFICATIONS=1',
     
    175177        ],
    176178      }],
    177       ['OS=="android"', {
    178         'feature_defines': [
    179           'ENABLE_INPUT_TYPE_COLOR=0',
    180         ],
    181       }, {
    182         'feature_defines': [
    183           'ENABLE_INPUT_TYPE_COLOR=1',
    184         ],
    185       }],
    186179      ['use_accelerated_compositing==1', {
    187180        'feature_defines': [
     181          'ENABLE_3D_RENDERING=1',
     182          'ENABLE_ACCELERATED_2D_CANVAS=1',
    188183          'WTF_USE_ACCELERATED_COMPOSITING=1',
    189           'ENABLE_3D_RENDERING=1',
    190         ],
    191       }],
    192       ['use_accelerated_compositing==1', {
    193         'feature_defines': [
    194           'ENABLE_ACCELERATED_2D_CANVAS=1',
    195184        ],
    196185      }],
Note: See TracChangeset for help on using the changeset viewer.