Changeset 57702 in webkit


Ignore:
Timestamp:
Apr 15, 2010 6:13:22 PM (14 years ago)
Author:
tony@chromium.org
Message:

2010-04-15 Tony Chang <tony@chromium.org>

Reviewed by Dimitri Glazkov.

build DRT on chromium mac
https://bugs.webkit.org/show_bug.cgi?id=37639

  • gyp_webkit: generate build files for DRT on mac

2010-04-15 Tony Chang <tony@chromium.org>

Reviewed by Dimitri Glazkov.

build DRT on chromium mac
https://bugs.webkit.org/show_bug.cgi?id=37639

  • DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
  • Scripts/build-dumprendertree: enable build-dumprendertree --chromium
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/chromium/ChangeLog

    r57701 r57702  
     12010-04-15  Tony Chang  <tony@chromium.org>
     2
     3        Reviewed by Dimitri Glazkov.
     4
     5        build DRT on chromium mac
     6        https://bugs.webkit.org/show_bug.cgi?id=37639
     7
     8        * gyp_webkit: generate build files for DRT on mac
     9
    1102010-04-15  Yury Semikhatsky  <yurys@google.com>
    211
  • trunk/WebKit/chromium/gyp_webkit

    r57461 r57702  
    7979
    8080  # On linux, we want gyp to output a makefile (default is scons).
    81   if (platform.system() == 'Linux'):
     81  if platform.system() == 'Linux':
    8282    args.extend(['-fmake'])
    8383
     
    9595               'WebKit.gyp'])
    9696
     97  # Generate DRT build files on the platforms that support it.
     98  if platform.system() == 'Darwin':
     99    args.append('../../WebKitTools/DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp')
     100
    97101  print 'Updating webkit projects from gyp files...'
    98102  sys.stdout.flush()
  • trunk/WebKitTools/ChangeLog

    r57690 r57702  
     12010-04-15  Tony Chang  <tony@chromium.org>
     2
     3        Reviewed by Dimitri Glazkov.
     4
     5        build DRT on chromium mac
     6        https://bugs.webkit.org/show_bug.cgi?id=37639
     7
     8        * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
     9        * Scripts/build-dumprendertree: enable build-dumprendertree --chromium
     10
    1112010-04-15  Kent Tamura  <tkent@chromium.org>
    212
  • trunk/WebKitTools/DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp

    r57690 r57702  
    4949        ],
    5050    },
     51    'target_defaults': {
     52        'target_conditions': [
     53            ['OS!="linux" and OS!="freebsd" and OS!="openbsd"', {
     54                'sources/': [
     55                    ['exclude', '(Gtk|Linux)\\.cpp$']
     56                ]
     57            }],
     58            ['OS!="win"', {
     59                'sources/': [
     60                    ['exclude', 'Win\\.cpp$'],
     61                ]
     62            }],
     63            ['OS!="mac"', {
     64                'sources/': [
     65                    # .mm is already excluded by common.gypi
     66                    ['exclude', 'Mac\\.cpp$'],
     67                ]
     68            }],
     69        ],
     70    },
    5171    'targets': [
    5272        {
     
    5979                '<(chromium_src_dir)/third_party/npapi/npapi.gyp:npapi',
    6080                '<(chromium_src_dir)/skia/skia.gyp:skia',
    61                 '<(chromium_src_dir)/webkit/webkit.gyp:webkit_support',
     81                '<(chromium_src_dir)/webkit/support/webkit_support.gyp:webkit_support',
    6282            ],
    6383            'include_dirs': [
     
    93113                '../chromium/TestShell.cpp',
    94114                '../chromium/TestShell.h',
     115                '../chromium/TestShellMac.mm',
     116                '../chromium/TestShellWin.cpp',
    95117                '../chromium/TextInputController.cpp',
    96118                '../chromium/TextInputController.h',
    97119                '../chromium/WebViewHost.cpp',
    98120                '../chromium/WebViewHost.h',
    99             ],
    100             'conditions': [
    101                 ['OS=="win"', {
    102                     'sources': [
    103                         '../chromium/TestShellWin.cpp',
    104                     ],
    105                 }],
    106                 ['OS=="mac"', {
    107                     'sources': [
    108                         '../chromium/TestShellMac.mm',
    109                     ],
    110                 }],
    111121            ],
    112122            'mac_bundle_resources': [
  • trunk/WebKitTools/Scripts/build-dumprendertree

    r45268 r57702  
    4646  --qt          Build the Qt port
    4747  --wx          Build the wxWindows port
     48  --chromium    Build the Chromium port
    4849EOF
    4950
     
    7374    # Qt, Gtk and wxWindows build everything in one shot. No need to build anything here.
    7475    $result = 0;
     76} elsif (isChromium()) {
     77    if (isDarwin()) {
     78        $result = buildXCodeProject("DumpRenderTree.gyp/DumpRenderTree", $clean, @ARGV);
     79    } else {
     80        die "Building not defined for this platform!\n";
     81    }
    7582} else {
    7683    die "Building not defined for this platform!\n";
Note: See TracChangeset for help on using the changeset viewer.