Changeset 87089 in webkit


Ignore:
Timestamp:
May 23, 2011 12:05:57 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-05-23 Ruben <chromium@hybridsource.org>

Reviewed by Tony Chang.

Chromium gyp patch to use new POSIX defines toolkit_uses_gtk and os_posix
https://bugs.webkit.org/show_bug.cgi?id=61219

2011-05-23 Ruben <chromium@hybridsource.org>

Reviewed by Tony Chang.

Chromium gyp patch to use new POSIX defines toolkit_uses_gtk and os_posix
https://bugs.webkit.org/show_bug.cgi?id=61219

No new tests, just changing gyp defines.

  • WebCore.gyp/WebCore.gyp:

2011-05-23 Ruben <chromium@hybridsource.org>

Reviewed by Tony Chang.

Chromium gyp patch to use new POSIX defines toolkit_uses_gtk and os_posix
https://bugs.webkit.org/show_bug.cgi?id=61219

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

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r87076 r87089  
     12011-05-23  Ruben  <chromium@hybridsource.org>
     2
     3        Reviewed by Tony Chang.
     4
     5        Chromium gyp patch to use new POSIX defines toolkit_uses_gtk and os_posix
     6        https://bugs.webkit.org/show_bug.cgi?id=61219
     7
     8        * JavaScriptCore.gyp/JavaScriptCore.gyp:
     9
    1102011-05-23  Thouraya ANDOLSI  <thouraya.andolsi@st.com>
    211
  • trunk/Source/JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp

    r86965 r87089  
    8484            ],
    8585          }],
    86           ['OS=="linux" or OS=="freebsd"', {
     86          ['os_posix == 1 and OS != "mac"', {
    8787            'defines': [
    8888              'WTF_USE_PTHREADS=1',
  • trunk/Source/WebCore/ChangeLog

    r87083 r87089  
     12011-05-23  Ruben  <chromium@hybridsource.org>
     2
     3        Reviewed by Tony Chang.
     4
     5        Chromium gyp patch to use new POSIX defines toolkit_uses_gtk and os_posix
     6        https://bugs.webkit.org/show_bug.cgi?id=61219
     7
     8        No new tests, just changing gyp defines.
     9
     10        * WebCore.gyp/WebCore.gyp:
     11
    1122011-05-23  Abhishek Arya  <inferno@chromium.org>
    213
  • trunk/Source/WebCore/WebCore.gyp/WebCore.gyp

    r86965 r87089  
    10851085          ],
    10861086        }],
    1087         ['OS=="linux" or OS=="freebsd"', {
     1087        ['toolkit_uses_gtk == 1', {
    10881088          'dependencies': [
    10891089            '<(chromium_src_dir)/build/linux/system.gyp:fontconfig',
     
    12981298      ],
    12991299      'conditions': [
    1300         ['OS=="linux" or OS=="freebsd"', {
     1300        ['toolkit_uses_gtk == 1', {
    13011301          'sources/': [
    13021302            # Cherry-pick files excluded by the broader regular expressions above.
     
    14171417          ],
    14181418        }],
    1419         ['OS!="linux" and OS!="freebsd"', {
     1419        ['toolkit_uses_gtk == 0', {
    14201420          'sources/': [
    14211421            ['exclude', '(Gtk|Linux)\\.cpp$'],
     
    14851485          ],
    14861486        }],
    1487         ['(OS=="linux" or OS=="freebsd" or OS=="openbsd") and gcc_version==42', {
     1487        ['os_posix == 1 and OS != "mac" and gcc_version == 42', {
    14881488          # Due to a bug in gcc 4.2.1 (the current version on hardy), we get
    14891489          # warnings about uninitialized this.
    14901490          'cflags': ['-Wno-uninitialized'],
    14911491        }],
    1492         ['OS!="linux" and OS!="freebsd"', {
     1492        ['toolkit_uses_gtk == 0', {
    14931493          'sources/': [
    14941494            ['exclude', '(Gtk|Linux)\\.cpp$'],
     
    16181618          ],
    16191619        }],
    1620         ['(OS=="linux" or OS=="freebsd" or OS=="openbsd") and gcc_version==42', {
     1620        ['os_posix == 1 and OS != "mac" and gcc_version == 42', {
    16211621          # Due to a bug in gcc 4.2.1 (the current version on hardy), we get
    16221622          # warnings about uninitialized this.
    16231623          'cflags': ['-Wno-uninitialized'],
    16241624        }],
    1625         ['OS!="linux" and OS!="freebsd"', {
     1625        ['toolkit_uses_gtk == 0', {
    16261626          'sources/': [
    16271627            ['exclude', '(Gtk|Linux)\\.cpp$'],
  • trunk/Source/WebKit/chromium/ChangeLog

    r87074 r87089  
     12011-05-23  Ruben  <chromium@hybridsource.org>
     2
     3        Reviewed by Tony Chang.
     4
     5        Chromium gyp patch to use new POSIX defines toolkit_uses_gtk and os_posix
     6        https://bugs.webkit.org/show_bug.cgi?id=61219
     7
     8        * WebKit.gyp:
     9        * WebKit.gypi:
     10
    1112011-05-23  Yury Semikhatsky  <yurys@chromium.org>
    212
  • trunk/Source/WebKit/chromium/WebKit.gyp

    r86965 r87089  
    651651                    ],
    652652                }],
    653                 ['OS=="linux" or OS=="freebsd"', {
     653                ['toolkit_uses_gtk == 1', {
    654654                    'dependencies': [
    655655                        '<(chromium_src_dir)/build/linux/system.gyp:fontconfig',
     
    662662                        'public/linux',
    663663                    ],
    664                 }, { # else: OS!="linux" and OS!="freebsd"
     664                }, { # else: toolkit_uses_gtk != 1
    665665                    'sources/': [
    666666                        ['exclude', '/gtk/'],
     
    886886                    ],
    887887                    'conditions': [
    888                         ['OS=="linux" or OS=="freebsd"', {
     888                        ['toolkit_uses_gtk == 1', {
    889889                            'include_dirs': [
    890890                                'public/gtk',
     
    10411041                    ],
    10421042                }],
    1043                 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
     1043                ['toolkit_uses_gtk == 1', {
    10441044                    'dependencies': [
    10451045                        '<(chromium_src_dir)/build/linux/system.gyp:fontconfig',
     
    10611061                      'chromium_code': 1,
    10621062                    },
    1063                 },{ # OS!="linux" and OS!="freebsd" and OS!="openbsd" and OS!="solaris"
     1063                },{ # toolkit_uses_gtk != 1
    10641064                    'sources/': [
    10651065                        ['exclude', '(Gtk|Linux)\\.cpp$']
     
    11141114                    },
    11151115                }],
    1116                 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
     1116                ['os_posix == 1 and OS != "mac"', {
    11171117                    'cflags': [
    11181118                        '-fvisibility=default',
     
    11541154                    }],
    11551155                }],
    1156                 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
     1156                ['os_posix == 1 and OS != "mac"', {
    11571157                    'copies': [{
    11581158                        'destination': '<(PRODUCT_DIR)/plugins',
  • trunk/Source/WebKit/chromium/WebKit.gypi

    r87015 r87089  
    8585                ],
    8686            }],
    87             ['OS=="linux" or OS=="freebsd"', {
     87            ['toolkit_uses_gtk == 1', {
    8888                'webkit_unittest_files': [
    8989                    # FIXME: Port DragImageTest to Mac.
Note: See TracChangeset for help on using the changeset viewer.