Changeset 84953 in webkit


Ignore:
Timestamp:
Apr 26, 2011 2:12:44 PM (13 years ago)
Author:
evan@chromium.org
Message:

2011-04-26 Evan Martin <evan@chromium.org>

Reviewed by Tony Chang.

[chromium] refactor duplicated list of test source files
https://bugs.webkit.org/show_bug.cgi?id=59478

The platform-specific unit test files were listed twice in
WebKit.gyp: once for the components build, once for the normal
build. Refactor this into the unified webkit_unittest_files
variable. (It appears the omission of WebPageSerializerTest
in one instance was an oversight.)

  • WebKit.gyp:
  • WebKit.gypi:
Location:
trunk/Source/WebKit/chromium
Files:
3 edited

Legend:

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

    r84951 r84953  
     12011-04-26  Evan Martin  <evan@chromium.org>
     2
     3        Reviewed by Tony Chang.
     4
     5        [chromium] refactor duplicated list of test source files
     6        https://bugs.webkit.org/show_bug.cgi?id=59478
     7
     8        The platform-specific unit test files were listed twice in
     9        WebKit.gyp: once for the components build, once for the normal
     10        build.  Refactor this into the unified webkit_unittest_files
     11        variable.  (It appears the omission of WebPageSerializerTest
     12        in one instance was an oversight.)
     13
     14        * WebKit.gyp:
     15        * WebKit.gypi:
     16
    1172011-04-26  Robert Sesek  <rsesek@chromium.org>
    218
  • trunk/Source/WebKit/chromium/WebKit.gyp

    r84951 r84953  
    630630                            'sources': [
    631631                                '<@(webkit_unittest_files)',
    632                                 'tests/PopupMenuTest.cpp',
    633                                 'tests/TransparencyWinTest.cpp',
    634                                 'tests/UniscribeHelperTest.cpp',
    635                                 'tests/WebUnitTests.cpp'
     632                                'tests/WebUnitTests.cpp',   # Components test runner support.
    636633                            ],
    637634                            'sources!' : [
    638                                 # We should not include files dpending on webkit_support.
     635                                # We should not include files depending on webkit_support.
    639636                                'tests/CCThreadTest.cpp',
    640637                                # WebFrameTest.cpp depends on webkit_support and
     
    845842                    ],
    846843                    'conditions': [
    847                         ['OS=="win"', {
    848                             'sources': [
    849                                 # FIXME: Port PopupMenuTest to Linux and Mac.
    850                                 'tests/PopupMenuTest.cpp',
    851                                 'tests/TransparencyWinTest.cpp',
    852                                 'tests/UniscribeHelperTest.cpp',
    853                                 'tests/WebPageSerializerTest.cpp',
    854                             ],
    855                         }],
    856                         ['OS=="mac"', {
    857                             'sources!': [
    858                                 # FIXME: Port DragImageTest to Mac.
    859                                 'tests/DragImageTest.cpp',
    860                             ],
    861                         }],
    862844                        ['OS=="linux" or OS=="freebsd"', {
    863                             'sources': [
    864                                 'tests/WebInputEventFactoryTestGtk.cpp',
    865                             ],
    866845                            'include_dirs': [
    867846                                'public/gtk',
  • trunk/Source/WebKit/chromium/WebKit.gypi

    r83366 r84953  
    6969            'tests/WebFrameTest.cpp',
    7070        ],
     71
     72        'conditions': [
     73            ['OS=="win"', {
     74                'webkit_unittest_files': [
     75                    # FIXME: Port DragImageTest to Mac.
     76                    'tests/DragImageTest.cpp',
     77                    # FIXME: Port PopupMenuTest to Linux and Mac.
     78                    'tests/PopupMenuTest.cpp',
     79                    'tests/TransparencyWinTest.cpp',
     80                    'tests/UniscribeHelperTest.cpp',
     81                    'tests/WebPageSerializerTest.cpp',
     82                ],
     83            }],
     84            ['OS=="linux" or OS=="freebsd"', {
     85                'webkit_unittest_files': [
     86                    # FIXME: Port DragImageTest to Mac.
     87                    'tests/DragImageTest.cpp',
     88                    'tests/WebInputEventFactoryTestGtk.cpp',
     89                ],
     90            }],
     91        ],
    7192    },
    7293}
Note: See TracChangeset for help on using the changeset viewer.