| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # Product name is used for Mac bundle. | 7 # Product name is used for Mac bundle. |
| 8 'app_shell_product_name': 'App Shell', | 8 'app_shell_product_name': 'App Shell', |
| 9 # The version is high enough to be supported by Omaha (at least 31) | 9 # The version is high enough to be supported by Omaha (at least 31) |
| 10 # but fake enough to be obviously not a Chrome release. | 10 # but fake enough to be obviously not a Chrome release. |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 # executable. | 282 # executable. |
| 283 'postbuild_name': 'Verify No Objective-C', | 283 'postbuild_name': 'Verify No Objective-C', |
| 284 'action': [ | 284 'action': [ |
| 285 '../../build/mac/verify_no_objc.sh', | 285 '../../build/mac/verify_no_objc.sh', |
| 286 ], | 286 ], |
| 287 }, | 287 }, |
| 288 ], | 288 ], |
| 289 }], | 289 }], |
| 290 ], | 290 ], |
| 291 }, | 291 }, |
| 292 | |
| 293 { | |
| 294 'target_name': 'app_shell_browsertests', | |
| 295 'type': '<(gtest_target_type)', | |
| 296 'dependencies': [ | |
| 297 'app_shell_lib', | |
| 298 # TODO(yoz): find the right deps | |
| 299 '<(DEPTH)/base/base.gyp:test_support_base', | |
| 300 '<(DEPTH)/components/components.gyp:storage_monitor_test_support', | |
| 301 '<(DEPTH)/content/content.gyp:content_app_both', | |
| 302 '<(DEPTH)/content/content_shell_and_tests.gyp:content_browser_test_suppo
rt', | |
| 303 '<(DEPTH)/content/content_shell_and_tests.gyp:test_support_content', | |
| 304 '<(DEPTH)/extensions/extensions.gyp:extensions_test_support', | |
| 305 '<(DEPTH)/testing/gmock.gyp:gmock', | |
| 306 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 307 ], | |
| 308 'defines': [ | |
| 309 'HAS_OUT_OF_PROC_TEST_RUNNER', | |
| 310 ], | |
| 311 'sources': [ | |
| 312 # TODO(yoz): Refactor once we have a second test target. | |
| 313 # TODO(yoz): Something is off here; should this .gyp file be | |
| 314 # in the parent directory? Test target extensions_browsertests? | |
| 315 '../browser/api/audio/audio_apitest.cc', | |
| 316 '../browser/api/dns/dns_apitest.cc', | |
| 317 '../browser/api/hid/hid_apitest.cc', | |
| 318 '../browser/api/printer_provider/printer_provider_apitest.cc', | |
| 319 '../browser/api/socket/socket_apitest.cc', | |
| 320 '../browser/api/sockets_tcp/sockets_tcp_apitest.cc', | |
| 321 '../browser/api/sockets_tcp_server/sockets_tcp_server_apitest.cc', | |
| 322 '../browser/api/sockets_udp/sockets_udp_apitest.cc', | |
| 323 '../browser/api/system_cpu/system_cpu_apitest.cc', | |
| 324 '../browser/api/system_display/system_display_apitest.cc', | |
| 325 '../browser/api/system_memory/system_memory_apitest.cc', | |
| 326 '../browser/api/system_network/system_network_apitest.cc', | |
| 327 '../browser/api/system_storage/storage_api_test_util.cc', | |
| 328 '../browser/api/system_storage/storage_api_test_util.h', | |
| 329 '../browser/api/system_storage/system_storage_apitest.cc', | |
| 330 '../browser/api/system_storage/system_storage_eject_apitest.cc', | |
| 331 '../browser/api/usb/usb_apitest.cc', | |
| 332 '../browser/guest_view/app_view/app_view_apitest.cc', | |
| 333 '../browser/guest_view/web_view/web_view_apitest.h', | |
| 334 '../browser/guest_view/web_view/web_view_apitest.cc', | |
| 335 '../browser/guest_view/web_view/web_view_media_access_apitest.cc', | |
| 336 '../browser/updater/update_service_browsertest.cc', | |
| 337 'browser/geolocation/geolocation_apitest.cc', | |
| 338 'browser/shell_browsertest.cc', | |
| 339 'test/shell_apitest.cc', | |
| 340 'test/shell_apitest.h', | |
| 341 'test/shell_test.cc', | |
| 342 'test/shell_test.h', | |
| 343 'test/shell_test_launcher_delegate.cc', | |
| 344 'test/shell_test_launcher_delegate.h', | |
| 345 'test/shell_tests_main.cc', | |
| 346 ], | |
| 347 'conditions': [ | |
| 348 ['OS=="win" and win_use_allocator_shim==1', { | |
| 349 'dependencies': [ | |
| 350 '<(DEPTH)/base/allocator/allocator.gyp:allocator', | |
| 351 ], | |
| 352 }], | |
| 353 ['OS=="mac"', { | |
| 354 'dependencies': [ | |
| 355 'app_shell', # Needed for App Shell.app's Helper. | |
| 356 ], | |
| 357 }], | |
| 358 ], | |
| 359 }, | |
| 360 { | 292 { |
| 361 'target_name': 'app_shell_unittests', | 293 'target_name': 'app_shell_unittests', |
| 362 'type': 'executable', | 294 'type': 'executable', |
| 363 'dependencies': [ | 295 'dependencies': [ |
| 364 'app_shell_lib', | 296 'app_shell_lib', |
| 365 '<(DEPTH)/base/base.gyp:base', | 297 '<(DEPTH)/base/base.gyp:base', |
| 366 '<(DEPTH)/base/base.gyp:test_support_base', | 298 '<(DEPTH)/base/base.gyp:test_support_base', |
| 367 '<(DEPTH)/content/content.gyp:content_app_both', | 299 '<(DEPTH)/content/content.gyp:content_app_both', |
| 368 '<(DEPTH)/content/content_shell_and_tests.gyp:test_support_content', | 300 '<(DEPTH)/content/content_shell_and_tests.gyp:test_support_content', |
| 369 '<(DEPTH)/extensions/extensions.gyp:extensions_shell_and_test_pak', | 301 '<(DEPTH)/extensions/extensions.gyp:extensions_shell_and_test_pak', |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 581 'action': [ | 513 'action': [ |
| 582 '../../build/mac/verify_no_objc.sh', | 514 '../../build/mac/verify_no_objc.sh', |
| 583 ], | 515 ], |
| 584 }, | 516 }, |
| 585 ], | 517 ], |
| 586 }, # target app_shell_helper | 518 }, # target app_shell_helper |
| 587 ], | 519 ], |
| 588 }], # OS=="mac" | 520 }], # OS=="mac" |
| 589 ], | 521 ], |
| 590 } | 522 } |
| OLD | NEW |