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

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: remove todo and enable for cros 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', {
2302 'sources!': [ 2307 'sources!': [
2303 'browser/safe_browsing/download_protection_service_unittest.cc', 2308 'browser/safe_browsing/download_protection_service_unittest.cc',
2304 ], 2309 ],
2305 }], 2310 }],
2306 ['OS == "android"', { 2311 ['OS == "android"', {
2312 'dependencies!': [
2313 'ipc_protobuf_message_test_proto',
2314 ],
2307 'sources!': [ 2315 'sources!': [
2308 # Android doesn't support download feedbacks. 2316 # Android doesn't support download feedbacks.
2309 'browser/safe_browsing/download_feedback_service_unittest.cc', 2317 'browser/safe_browsing/download_feedback_service_unittest.cc',
2310 'browser/safe_browsing/download_feedback_unittest.cc', 2318 'browser/safe_browsing/download_feedback_unittest.cc',
2311 'browser/safe_browsing/download_protection_service_unittest.cc', 2319 'browser/safe_browsing/download_protection_service_unittest.cc',
2312 'browser/safe_browsing/two_phase_uploader_unittest.cc', 2320 'browser/safe_browsing/two_phase_uploader_unittest.cc',
2321 'common/safe_browsing/ipc_protobuf_message_test_messages.h',
2322 'common/safe_browsing/ipc_protobuf_message_unittest.cc',
2313 ], 2323 ],
2314 }], 2324 }],
2315 ], 2325 ],
2316 }], 2326 }],
2317 ['enable_autofill_dialog==1 and OS!="android"', { 2327 ['enable_autofill_dialog==1 and OS!="android"', {
2318 'sources': [ '<@(chrome_unit_tests_autofill_dialog_sources)' ], 2328 'sources': [ '<@(chrome_unit_tests_autofill_dialog_sources)' ],
2319 }], 2329 }],
2320 ['enable_plugins==1', { 2330 ['enable_plugins==1', {
2321 'sources': [ '<@(chrome_unit_tests_plugins_sources)' ], 2331 'sources': [ '<@(chrome_unit_tests_plugins_sources)' ],
2322 }], 2332 }],
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
2658 }], 2668 }],
2659 ], 2669 ],
2660 'msvs_settings': { 2670 'msvs_settings': {
2661 'VCLinkerTool': { 2671 'VCLinkerTool': {
2662 'AdditionalDependencies': [ 'wintrust.lib' ], 2672 'AdditionalDependencies': [ 'wintrust.lib' ],
2663 }, 2673 },
2664 }, 2674 },
2665 }], 2675 }],
2666 ], 2676 ],
2667 }, 2677 },
2678 {
2679 # Protobuf compiler / generator for IPC protobuf message tests.
2680
2681 # GN version: //chrome/test:test_proto
2682 'target_name': 'ipc_protobuf_message_test_proto',
2683 'type': 'static_library',
2684 'sources': [
2685 'common/safe_browsing/ipc_protobuf_message_test.proto'
2686 ],
2687 'variables': {
2688 'proto_in_dir': 'common/safe_browsing',
2689 'proto_out_dir': 'chrome/common/safe_browsing',
2690 },
2691 'includes': [ '../build/protoc.gypi' ],
2692 },
2668 ], 2693 ],
2669 2694
2670 'conditions': [ 2695 'conditions': [
2671 ['OS == "android"', { 2696 ['OS == "android"', {
2672 'targets': [ 2697 'targets': [
2673 { 2698 {
2674 'target_name': 'unit_tests_java', 2699 'target_name': 'unit_tests_java',
2675 'type': 'none', 2700 'type': 'none',
2676 'variables': { 2701 'variables': {
2677 'java_in_dir': 'test/android/unit_tests_apk', 2702 'java_in_dir': 'test/android/unit_tests_apk',
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
2745 'dependencies': [ 2770 'dependencies': [
2746 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 2771 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2747 ], 2772 ],
2748 }], 2773 }],
2749 ], 2774 ],
2750 }, 2775 },
2751 ], 2776 ],
2752 }], 2777 }],
2753 ], # 'conditions' 2778 ], # 'conditions'
2754 } 2779 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698