Changeset 58927 in webkit


Ignore:
Timestamp:
May 6, 2010 6:56:33 PM (14 years ago)
Author:
tkent@chromium.org
Message:

2010-05-06 Kent Tamura <tkent@chromium.org>

Reviewed by Dimitri Glazkov.

[DRT/Chromium] Add support for resources on Mac
https://bugs.webkit.org/show_bug.cgi?id=38637

  • DEPS: Check out tools/data_pack.

2010-05-06 Kent Tamura <tkent@chromium.org>

Reviewed by Dimitri Glazkov.

[DRT/Chromium] Add support for resources on Mac
https://bugs.webkit.org/show_bug.cgi?id=38637

Repack webkit_chromium_resources.pak, webkit_strings_en-US.pak,
and webkit_resources.pak, and put them as Mac bundle resource.
The 'actions' section is almost same as a part of test_shell.gypi.

  • DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/chromium/ChangeLog

    r58890 r58927  
     12010-05-06  Kent Tamura  <tkent@chromium.org>
     2
     3        Reviewed by Dimitri Glazkov.
     4
     5        [DRT/Chromium] Add support for resources on Mac
     6        https://bugs.webkit.org/show_bug.cgi?id=38637
     7
     8        * DEPS: Check out tools/data_pack.
     9
    1102010-05-06  Pavel Feldman  <pfeldman@chromium.org>
    211
  • trunk/WebKit/chromium/DEPS

    r58518 r58927  
    4545  'build':
    4646    Var('chromium_svn')+'/build@'+Var('chromium_rev'),
     47  'tools/data_pack':
     48    Var('chromium_svn')+'/tools/data_pack@'+Var('chromium_rev'),
    4749  'tools/gyp':
    4850    From('chromium_deps', 'src/tools/gyp'),
  • trunk/WebKitTools/ChangeLog

    r58920 r58927  
     12010-05-06  Kent Tamura  <tkent@chromium.org>
     2
     3        Reviewed by Dimitri Glazkov.
     4
     5        [DRT/Chromium] Add support for resources on Mac
     6        https://bugs.webkit.org/show_bug.cgi?id=38637
     7
     8        Repack webkit_chromium_resources.pak, webkit_strings_en-US.pak,
     9        and webkit_resources.pak, and put them as Mac bundle resource.
     10        The 'actions' section is almost same as a part of test_shell.gypi.
     11
     12        * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
     13
    1142010-05-06  Csaba Osztrogonác  <ossy@webkit.org>
    215
  • trunk/WebKitTools/DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp

    r58889 r58927  
    125125                '../chromium/WebViewHost.h',
    126126            ],
    127             'mac_bundle_resources': [
    128                 '../qt/fonts/AHEM____.TTF',
    129                 '../fonts/WebKitWeightWatcher100.ttf',
    130                 '../fonts/WebKitWeightWatcher200.ttf',
    131                 '../fonts/WebKitWeightWatcher300.ttf',
    132                 '../fonts/WebKitWeightWatcher400.ttf',
    133                 '../fonts/WebKitWeightWatcher500.ttf',
    134                 '../fonts/WebKitWeightWatcher600.ttf',
    135                 '../fonts/WebKitWeightWatcher700.ttf',
    136                 '../fonts/WebKitWeightWatcher800.ttf',
    137                 '../fonts/WebKitWeightWatcher900.ttf',
    138             ],
    139127            'conditions': [
    140128                ['OS=="mac"', {
    141129                    'dependencies': ['LayoutTestHelper'],
    142                 }],
    143             ],
     130                    'mac_bundle_resources': [
     131                        '../qt/fonts/AHEM____.TTF',
     132                        '../fonts/WebKitWeightWatcher100.ttf',
     133                        '../fonts/WebKitWeightWatcher200.ttf',
     134                        '../fonts/WebKitWeightWatcher300.ttf',
     135                        '../fonts/WebKitWeightWatcher400.ttf',
     136                        '../fonts/WebKitWeightWatcher500.ttf',
     137                        '../fonts/WebKitWeightWatcher600.ttf',
     138                        '../fonts/WebKitWeightWatcher700.ttf',
     139                        '../fonts/WebKitWeightWatcher800.ttf',
     140                        '../fonts/WebKitWeightWatcher900.ttf',
     141                    ],
     142                    'actions': [
     143                        {
     144                            'action_name': 'repack_locale',
     145                            'variables': {
     146                                'repack_path': '<(chromium_src_dir)/tools/data_pack/repack.py',
     147                                'pak_inputs': [
     148                                    '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.pak',
     149                                    '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.pak',
     150                                    '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.pak',
     151                            ]},
     152                            'inputs': [
     153                                '<(repack_path)',
     154                                '<@(pak_inputs)',
     155                            ],
     156                            'outputs': [
     157                                '<(INTERMEDIATE_DIR)/repack/DumpRenderTree.pak',
     158                            ],
     159                            'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'],
     160                            'process_outputs_as_mac_bundle_resources': 1,
     161                        },
     162                    ], # actions
     163                }], # mac
     164            ], # conditions
    144165        },
    145166
Note: See TracChangeset for help on using the changeset viewer.