| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 'test_shell_windows_resource_files': [ | 8 'test_shell_windows_resource_files': [ |
| 9 'resources/test_shell.rc', | 9 'resources/test_shell.rc', |
| 10 'resources/pan_east.cur', | 10 'resources/pan_east.cur', |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 }], | 175 }], |
| 176 ], | 176 ], |
| 177 }, | 177 }, |
| 178 { | 178 { |
| 179 'target_name': 'test_shell', | 179 'target_name': 'test_shell', |
| 180 'type': 'executable', | 180 'type': 'executable', |
| 181 'mac_bundle': 1, | 181 'mac_bundle': 1, |
| 182 'msvs_guid': 'FA39524D-3067-4141-888D-28A86C66F2B9', | 182 'msvs_guid': 'FA39524D-3067-4141-888D-28A86C66F2B9', |
| 183 'dependencies': [ | 183 'dependencies': [ |
| 184 'test_shell_common', | 184 'test_shell_common', |
| 185 'npapi_layout_test_plugin', |
| 186 '../../../tools/image_diff/image_diff.gyp:image_diff', |
| 185 ], | 187 ], |
| 186 'sources': [ | 188 'sources': [ |
| 187 'test_shell_main.cc', | 189 'test_shell_main.cc', |
| 188 ], | 190 ], |
| 189 'mac_bundle_resources': [ | 191 'mac_bundle_resources': [ |
| 190 '../../data/test_shell/', | 192 '../../data/test_shell/', |
| 191 'mac/English.lproj/InfoPlist.strings', | 193 'mac/English.lproj/InfoPlist.strings', |
| 192 'mac/English.lproj/MainMenu.nib', | 194 'mac/English.lproj/MainMenu.nib', |
| 193 'mac/Info.plist', | 195 'mac/Info.plist', |
| 194 'mac/test_shell.icns', | 196 'mac/test_shell.icns', |
| 195 'resources/AHEM____.TTF', | 197 'resources/AHEM____.TTF', |
| 196 ], | 198 ], |
| 197 'mac_bundle_resources!': [ | 199 'mac_bundle_resources!': [ |
| 198 # TODO(mark): Come up with a fancier way to do this (mac_info_plist?) | 200 # TODO(mark): Come up with a fancier way to do this (mac_info_plist?) |
| 199 # that automatically sets the correct INFOPLIST_FILE setting and adds | 201 # that automatically sets the correct INFOPLIST_FILE setting and adds |
| 200 # the file to a source group. | 202 # the file to a source group. |
| 201 'mac/Info.plist', | 203 'mac/Info.plist', |
| 202 ], | 204 ], |
| 203 'xcode_settings': { | 205 'xcode_settings': { |
| 204 'INFOPLIST_FILE': 'mac/Info.plist', | 206 'INFOPLIST_FILE': 'mac/Info.plist', |
| 205 }, | 207 }, |
| 206 'conditions': [ | 208 'conditions': [ |
| 207 ['OS=="win"', { | 209 ['OS=="win"', { |
| 210 'dependencies': ['test_worker'], |
| 208 'resource_include_dirs': [ | 211 'resource_include_dirs': [ |
| 209 '<(SHARED_INTERMEDIATE_DIR)/webkit', | 212 '<(SHARED_INTERMEDIATE_DIR)/webkit', |
| 210 ], | 213 ], |
| 211 'sources': [ | 214 'sources': [ |
| 212 '<@(test_shell_windows_resource_files)', | 215 '<@(test_shell_windows_resource_files)', |
| 213 # TODO: It would be nice to have these pulled in | 216 # TODO: It would be nice to have these pulled in |
| 214 # automatically from direct_dependent_settings in | 217 # automatically from direct_dependent_settings in |
| 215 # their various targets (net.gyp:net_resources, etc.), | 218 # their various targets (net.gyp:net_resources, etc.), |
| 216 # but that causes errors in other targets when | 219 # but that causes errors in other targets when |
| 217 # resulting .res files get referenced multiple times. | 220 # resulting .res files get referenced multiple times. |
| (...skipping 24 matching lines...) Expand all Loading... |
| 242 ], | 245 ], |
| 243 'copies': [ | 246 'copies': [ |
| 244 { | 247 { |
| 245 'destination': '<(PRODUCT_DIR)', | 248 'destination': '<(PRODUCT_DIR)', |
| 246 'files': ['<(INTERMEDIATE_DIR)/repack/test_shell.pak'], | 249 'files': ['<(INTERMEDIATE_DIR)/repack/test_shell.pak'], |
| 247 }, | 250 }, |
| 248 ], | 251 ], |
| 249 }], | 252 }], |
| 250 ['OS=="mac"', { | 253 ['OS=="mac"', { |
| 251 'product_name': 'TestShell', | 254 'product_name': 'TestShell', |
| 252 'dependencies': ['layout_test_helper'], | 255 'dependencies': ['layout_test_helper', 'test_worker'], |
| 253 'variables': { | 256 'variables': { |
| 254 'repack_path': '../../../tools/data_pack/repack.py', | 257 'repack_path': '../../../tools/data_pack/repack.py', |
| 255 }, | 258 }, |
| 256 'actions': [ | 259 'actions': [ |
| 257 { | 260 { |
| 258 # TODO(mark): Make this work with more languages than the | 261 # TODO(mark): Make this work with more languages than the |
| 259 # hardcoded en-US. | 262 # hardcoded en-US. |
| 260 'action_name': 'repack_locale', | 263 'action_name': 'repack_locale', |
| 261 'variables': { | 264 'variables': { |
| 262 'pak_inputs': [ | 265 'pak_inputs': [ |
| (...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 631 'link_settings': { | 634 'link_settings': { |
| 632 'libraries': [ | 635 'libraries': [ |
| 633 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', | 636 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', |
| 634 ], | 637 ], |
| 635 }, | 638 }, |
| 636 }, | 639 }, |
| 637 ] | 640 ] |
| 638 }], | 641 }], |
| 639 ], | 642 ], |
| 640 } | 643 } |
| OLD | NEW |