Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: content/content_tests.gypi

Issue 10905138: Add test jar generation logic for ant builds. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'test_support_content', 8 'target_name': 'test_support_content',
9 'type': 'static_library', 9 'type': 'static_library',
10 'defines!': ['CONTENT_IMPLEMENTATION'], 10 'defines!': ['CONTENT_IMPLEMENTATION'],
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 '../webkit/media/buffered_resource_loader_unittest.cc', 440 '../webkit/media/buffered_resource_loader_unittest.cc',
441 '../webkit/media/cache_util_unittest.cc', 441 '../webkit/media/cache_util_unittest.cc',
442 '../webkit/media/crypto/proxy_decryptor_unittest.cc', 442 '../webkit/media/crypto/proxy_decryptor_unittest.cc',
443 '../webkit/media/skcanvas_video_renderer_unittest.cc', 443 '../webkit/media/skcanvas_video_renderer_unittest.cc',
444 '../webkit/media/test_response_generator.cc', 444 '../webkit/media/test_response_generator.cc',
445 '../webkit/media/test_response_generator.h', 445 '../webkit/media/test_response_generator.h',
446 '../webkit/mocks/mock_weburlloader.cc', 446 '../webkit/mocks/mock_weburlloader.cc',
447 '../webkit/mocks/mock_weburlloader.h', 447 '../webkit/mocks/mock_weburlloader.h',
448 '../webkit/plugins/npapi/plugin_lib_unittest.cc', 448 '../webkit/plugins/npapi/plugin_lib_unittest.cc',
449 '../webkit/plugins/npapi/plugin_list_unittest.cc', 449 '../webkit/plugins/npapi/plugin_list_unittest.cc',
450 '../webkit/plugins/npapi/plugin_utils_unittest.cc', 450 '../webkit/plugins/npapi/plugin_utils_unittest.cc',
451 '../webkit/plugins/npapi/webplugin_impl_unittest.cc', 451 '../webkit/plugins/npapi/webplugin_impl_unittest.cc',
452 '../webkit/quota/mock_quota_manager.cc', 452 '../webkit/quota/mock_quota_manager.cc',
453 '../webkit/quota/mock_quota_manager.h', 453 '../webkit/quota/mock_quota_manager.h',
454 '../webkit/quota/mock_quota_manager_unittest.cc', 454 '../webkit/quota/mock_quota_manager_unittest.cc',
455 '../webkit/quota/mock_storage_client.cc', 455 '../webkit/quota/mock_storage_client.cc',
456 '../webkit/quota/mock_storage_client.h', 456 '../webkit/quota/mock_storage_client.h',
457 '../webkit/quota/quota_database_unittest.cc', 457 '../webkit/quota/quota_database_unittest.cc',
458 '../webkit/quota/quota_manager_unittest.cc', 458 '../webkit/quota/quota_manager_unittest.cc',
459 '../webkit/quota/quota_temporary_storage_evictor_unittest.cc', 459 '../webkit/quota/quota_temporary_storage_evictor_unittest.cc',
460 ], 460 ],
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 '../webkit/webkit.gyp:test_shell_test_support', 498 '../webkit/webkit.gyp:test_shell_test_support',
499 ], 499 ],
500 }], 500 }],
501 ['enable_webrtc==1', { 501 ['enable_webrtc==1', {
502 'sources': [ 502 'sources': [
503 'browser/renderer_host/p2p/socket_host_test_utils.h', 503 'browser/renderer_host/p2p/socket_host_test_utils.h',
504 'browser/renderer_host/p2p/socket_host_tcp_unittest.cc', 504 'browser/renderer_host/p2p/socket_host_tcp_unittest.cc',
505 'browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc', 505 'browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc',
506 'browser/renderer_host/p2p/socket_host_udp_unittest.cc', 506 'browser/renderer_host/p2p/socket_host_udp_unittest.cc',
507 'renderer/media/media_stream_dependency_factory_unittest.cc', 507 'renderer/media/media_stream_dependency_factory_unittest.cc',
508 'renderer/media/media_stream_dispatcher_unittest.cc', 508 'renderer/media/media_stream_dispatcher_unittest.cc',
509 'renderer/media/media_stream_impl_unittest.cc', 509 'renderer/media/media_stream_impl_unittest.cc',
510 'renderer/media/peer_connection_handler_jsep_unittest.cc', 510 'renderer/media/peer_connection_handler_jsep_unittest.cc',
511 'renderer/media/rtc_peer_connection_handler_unittest.cc', 511 'renderer/media/rtc_peer_connection_handler_unittest.cc',
512 'renderer/media/rtc_video_decoder_unittest.cc', 512 'renderer/media/rtc_video_decoder_unittest.cc',
513 'renderer/media/webrtc_audio_device_unittest.cc', 513 'renderer/media/webrtc_audio_device_unittest.cc',
514 ], 514 ],
515 'dependencies': [ 515 'dependencies': [
516 '../third_party/libjingle/libjingle.gyp:libjingle_peerconnection', 516 '../third_party/libjingle/libjingle.gyp:libjingle_peerconnection',
517 '../third_party/webrtc/modules/modules.gyp:video_capture_module', 517 '../third_party/webrtc/modules/modules.gyp:video_capture_module',
518 '../third_party/webrtc/system_wrappers/source/system_wrappers.gyp:sy stem_wrappers', 518 '../third_party/webrtc/system_wrappers/source/system_wrappers.gyp:sy stem_wrappers',
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
869 }, 869 },
870 'includes': [ '../build/java.gypi' ], 870 'includes': [ '../build/java.gypi' ],
871 }, 871 },
872 { 872 {
873 'target_name': 'content_shell_test_apk', 873 'target_name': 'content_shell_test_apk',
874 'type': 'none', 874 'type': 'none',
875 'dependencies': [ 875 'dependencies': [
876 'content_java', 876 'content_java',
877 'content_javatests', 877 'content_javatests',
878 'content_shell_apk', 878 'content_shell_apk',
879 '../base/base.gyp:base_java',
880 '../base/base.gyp:base_java_test_support', 879 '../base/base.gyp:base_java_test_support',
881 '../media/media.gyp:media_java',
882 '../media/media.gyp:media_test_support',
883 '../net/net.gyp:net_java',
884 '../net/net.gyp:net_javatests', 880 '../net/net.gyp:net_javatests',
885 '../tools/android/forwarder/forwarder.gyp:forwarder', 881 '../tools/android/forwarder/forwarder.gyp:forwarder',
886 ], 882 ],
887 'actions': [ 883 'actions': [
888 { 884 {
889 'action_name': 'content_shell_test_generate_apk', 885 'action_name': 'content_shell_test_generate_apk',
890 'inputs': [ 886 'inputs': [
891 '../build/android/ant/common.xml', 887 '../build/android/ant/common.xml',
892 '../build/android/ant/sdk-targets.xml', 888 '../build/android/ant/sdk-targets.xml',
893 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk .xml', 889 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk .xml',
894 '<(DEPTH)/content/shell/android/javatests/AndroidManifest.xml', 890 '<(DEPTH)/content/shell/android/javatests/AndroidManifest.xml',
895 '>@(input_jars_paths)', 891 '>@(input_jars_paths)',
896 '<!@(find <(DEPTH)/content/shell/android/javatests/ -name "*.jav a")' 892 '<!@(find <(DEPTH)/content/shell/android/javatests/ -name "*.jav a")',
897 ], 893 ],
898 'outputs': [ 894 'outputs': [
899 '<(PRODUCT_DIR)/content_shell_test/ContentShellTest-debug.apk', 895 '<(PRODUCT_DIR)/apks/ContentShellTest-debug.apk',
896 '<(PRODUCT_DIR)/test.lib.java/ContentShellTest-debug.jar',
900 ], 897 ],
901 'action': [ 898 'action': [
902 'ant', 899 'ant',
903 '-DPRODUCT_DIR=<(ant_build_out)', 900 '-DPRODUCT_DIR=<(ant_build_out)',
904 '-DAPP_ABI=<(android_app_abi)', 901 '-DAPP_ABI=<(android_app_abi)',
905 '-DANDROID_SDK=<(android_sdk)', 902 '-DANDROID_SDK=<(android_sdk)',
906 '-DANDROID_SDK_ROOT=<(android_sdk_root)', 903 '-DANDROID_SDK_ROOT=<(android_sdk_root)',
907 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)', 904 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)',
908 '-DANDROID_SDK_VERSION=<(android_sdk_version)', 905 '-DANDROID_SDK_VERSION=<(android_sdk_version)',
909 '-DANDROID_GDBSERVER=<(android_gdbserver)', 906 '-DANDROID_GDBSERVER=<(android_gdbserver)',
910 '-DINPUT_JARS_PATHS=>(input_jars_paths)', 907 '-DINPUT_JARS_PATHS=>(input_jars_paths)',
908 '-DCHROMIUM_SRC=<(ant_build_out)/../..',
911 '-buildfile', 909 '-buildfile',
912 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk .xml', 910 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk .xml',
913 ] 911 ]
914 } 912 }
915 ], 913 ],
916 }, 914 },
917 ], 915 ],
918 }], 916 }],
919 ], 917 ],
920 } 918 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698