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

Side by Side Diff: chrome/chrome_tests_unit.gypi

Issue 1004323003: Add support for sending protobuf messages over IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@zip
Patch Set: GN Created 5 years, 9 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 2012 The Chromium Authors. All rights reserved. 1 # Copyright 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 'variables': { 5 'variables': {
6 'chrome_unit_tests_sources': [ 6 'chrome_unit_tests_sources': [
7 '../components/autofill/content/renderer/test_password_autofill_agent.cc', 7 '../components/autofill/content/renderer/test_password_autofill_agent.cc',
8 '../components/autofill/content/renderer/test_password_autofill_agent.h', 8 '../components/autofill/content/renderer/test_password_autofill_agent.h',
9 '../components/autofill/content/renderer/test_password_generation_agent.cc ', 9 '../components/autofill/content/renderer/test_password_generation_agent.cc ',
10 '../components/autofill/content/renderer/test_password_generation_agent.h' , 10 '../components/autofill/content/renderer/test_password_generation_agent.h' ,
(...skipping 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 'browser/safe_browsing/ping_manager_unittest.cc', 1033 'browser/safe_browsing/ping_manager_unittest.cc',
1034 'browser/safe_browsing/prefix_set_unittest.cc', 1034 'browser/safe_browsing/prefix_set_unittest.cc',
1035 'browser/safe_browsing/protocol_manager_unittest.cc', 1035 'browser/safe_browsing/protocol_manager_unittest.cc',
1036 'browser/safe_browsing/protocol_parser_unittest.cc', 1036 'browser/safe_browsing/protocol_parser_unittest.cc',
1037 'browser/safe_browsing/safe_browsing_blocking_page_unittest.cc', 1037 'browser/safe_browsing/safe_browsing_blocking_page_unittest.cc',
1038 'browser/safe_browsing/safe_browsing_database_unittest.cc', 1038 'browser/safe_browsing/safe_browsing_database_unittest.cc',
1039 'browser/safe_browsing/safe_browsing_store_file_unittest.cc', 1039 'browser/safe_browsing/safe_browsing_store_file_unittest.cc',
1040 'browser/safe_browsing/safe_browsing_store_unittest.cc', 1040 'browser/safe_browsing/safe_browsing_store_unittest.cc',
1041 'browser/safe_browsing/safe_browsing_util_unittest.cc', 1041 'browser/safe_browsing/safe_browsing_util_unittest.cc',
1042 'browser/safe_browsing/two_phase_uploader_unittest.cc', 1042 'browser/safe_browsing/two_phase_uploader_unittest.cc',
1043 'common/safe_browsing/ipc_protobuf_message_test_messages.h',
1044 'common/safe_browsing/ipc_protobuf_message_unittest.cc',
1043 'renderer/safe_browsing/features_unittest.cc', 1045 'renderer/safe_browsing/features_unittest.cc',
1044 'renderer/safe_browsing/murmurhash3_util_unittest.cc', 1046 'renderer/safe_browsing/murmurhash3_util_unittest.cc',
1045 'renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc', 1047 'renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc',
1046 'renderer/safe_browsing/phishing_url_feature_extractor_unittest.cc', 1048 'renderer/safe_browsing/phishing_url_feature_extractor_unittest.cc',
1047 'renderer/safe_browsing/scorer_unittest.cc', 1049 'renderer/safe_browsing/scorer_unittest.cc',
1048 ], 1050 ],
1049 # These are the enable_autofill_dialog = 1 sources. Some autofill tests 1051 # These are the enable_autofill_dialog = 1 sources. Some autofill tests
1050 # are always compiled. 1052 # are always compiled.
1051 'chrome_unit_tests_autofill_dialog_sources': [ 1053 'chrome_unit_tests_autofill_dialog_sources': [
1052 'browser/ui/autofill/account_chooser_model_unittest.cc', 1054 'browser/ui/autofill/account_chooser_model_unittest.cc',
(...skipping 1237 matching lines...) Expand 10 before | Expand all | Expand 10 after
2290 'browser/notifications/message_center_notifications_unittest.cc' , 2292 'browser/notifications/message_center_notifications_unittest.cc' ,
2291 'browser/notifications/message_center_settings_controller_unitte st.cc', 2293 'browser/notifications/message_center_settings_controller_unitte st.cc',
2292 ], 2294 ],
2293 }], 2295 }],
2294 ], 2296 ],
2295 }], 2297 }],
2296 ['safe_browsing==1', { 2298 ['safe_browsing==1', {
2297 # TODO(sgurun): enable tests for safe_browsing==2. 2299 # TODO(sgurun): enable tests for safe_browsing==2.
2298 'sources': [ '<@(chrome_unit_tests_full_safe_browsing_sources)' ], 2300 'sources': [ '<@(chrome_unit_tests_full_safe_browsing_sources)' ],
2299 'defines': [ 'FULL_SAFE_BROWSING' ], 2301 'defines': [ 'FULL_SAFE_BROWSING' ],
2302 'dependencies': [
2303 'ipc_protobuf_message_test_proto',
2304 ],
2300 'conditions': [ 2305 'conditions': [
2301 ['chromeos == 1', { 2306 ['chromeos == 1', {
2307 'dependencies!': [
2308 'ipc_protobuf_message_test_proto',
2309 ],
2302 'sources!': [ 2310 'sources!': [
2303 'browser/safe_browsing/download_protection_service_unittest.cc', 2311 'browser/safe_browsing/download_protection_service_unittest.cc',
2312 'common/safe_browsing/ipc_protobuf_message_test_messages.h',
2313 'common/safe_browsing/ipc_protobuf_message_unittest.cc',
2304 ], 2314 ],
2305 }], 2315 }],
2306 ['OS == "android"', { 2316 ['OS == "android"', {
2317 'dependencies!': [
2318 'ipc_protobuf_message_test_proto',
2319 ],
2307 'sources!': [ 2320 'sources!': [
2308 # Android doesn't support download feedbacks. 2321 # Android doesn't support download feedbacks.
2309 'browser/safe_browsing/download_feedback_service_unittest.cc', 2322 'browser/safe_browsing/download_feedback_service_unittest.cc',
2310 'browser/safe_browsing/download_feedback_unittest.cc', 2323 'browser/safe_browsing/download_feedback_unittest.cc',
2311 'browser/safe_browsing/download_protection_service_unittest.cc', 2324 'browser/safe_browsing/download_protection_service_unittest.cc',
2312 'browser/safe_browsing/two_phase_uploader_unittest.cc', 2325 'browser/safe_browsing/two_phase_uploader_unittest.cc',
2326 'common/safe_browsing/ipc_protobuf_message_test_messages.h',
2327 'common/safe_browsing/ipc_protobuf_message_unittest.cc',
2313 ], 2328 ],
2314 }], 2329 }],
2315 ], 2330 ],
2316 }], 2331 }],
2317 ['enable_autofill_dialog==1 and OS!="android"', { 2332 ['enable_autofill_dialog==1 and OS!="android"', {
2318 'sources': [ '<@(chrome_unit_tests_autofill_dialog_sources)' ], 2333 'sources': [ '<@(chrome_unit_tests_autofill_dialog_sources)' ],
2319 }], 2334 }],
2320 ['enable_plugins==1', { 2335 ['enable_plugins==1', {
2321 'sources': [ '<@(chrome_unit_tests_plugins_sources)' ], 2336 'sources': [ '<@(chrome_unit_tests_plugins_sources)' ],
2322 }], 2337 }],
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
2658 }], 2673 }],
2659 ], 2674 ],
2660 'msvs_settings': { 2675 'msvs_settings': {
2661 'VCLinkerTool': { 2676 'VCLinkerTool': {
2662 'AdditionalDependencies': [ 'wintrust.lib' ], 2677 'AdditionalDependencies': [ 'wintrust.lib' ],
2663 }, 2678 },
2664 }, 2679 },
2665 }], 2680 }],
2666 ], 2681 ],
2667 }, 2682 },
2683 {
2684 # Protobuf compiler / generator for IPC protobuf message tests.
2685
2686 # GN version: TODO(grt)
mattm 2015/03/17 22:15:50 still todo?
grt (UTC plus 2) 2015/03/18 16:48:01 Done.
2687 'target_name': 'ipc_protobuf_message_test_proto',
2688 'type': 'static_library',
2689 'sources': [
2690 'common/safe_browsing/ipc_protobuf_message_test.proto'
2691 ],
2692 'variables': {
2693 'proto_in_dir': 'common/safe_browsing',
2694 'proto_out_dir': 'chrome/common/safe_browsing',
2695 },
2696 'includes': [ '../build/protoc.gypi' ],
2697 },
2668 ], 2698 ],
2669 2699
2670 'conditions': [ 2700 'conditions': [
2671 ['OS == "android"', { 2701 ['OS == "android"', {
2672 'targets': [ 2702 'targets': [
2673 { 2703 {
2674 'target_name': 'unit_tests_java', 2704 'target_name': 'unit_tests_java',
2675 'type': 'none', 2705 'type': 'none',
2676 'variables': { 2706 'variables': {
2677 'java_in_dir': 'test/android/unit_tests_apk', 2707 'java_in_dir': 'test/android/unit_tests_apk',
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
2745 'dependencies': [ 2775 'dependencies': [
2746 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 2776 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2747 ], 2777 ],
2748 }], 2778 }],
2749 ], 2779 ],
2750 }, 2780 },
2751 ], 2781 ],
2752 }], 2782 }],
2753 ], # 'conditions' 2783 ], # 'conditions'
2754 } 2784 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698