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

Side by Side Diff: chrome/chrome_tests_unit.gypi

Issue 278443003: Android: cleanup gtest_target_type conditions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « cc/cc_tests.gyp ('k') | components/components_tests.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'targets': [ 5 'targets': [
6 { 6 {
7 # This target contains mocks and test utilities that don't belong in 7 # This target contains mocks and test utilities that don't belong in
8 # production libraries but are used by more than one test executable. 8 # production libraries but are used by more than one test executable.
9 'target_name': 'test_support_common', 9 'target_name': 'test_support_common',
10 'type': 'static_library', 10 'type': 'static_library',
(...skipping 2583 matching lines...) Expand 10 before | Expand all | Expand 10 after
2594 ['exclude', '^browser/ui/webui/ntp/'], 2594 ['exclude', '^browser/ui/webui/ntp/'],
2595 ['exclude', '^browser/ui/webui/options/'], 2595 ['exclude', '^browser/ui/webui/options/'],
2596 ['exclude', '^browser/ui/webui/options/'], 2596 ['exclude', '^browser/ui/webui/options/'],
2597 ['exclude', '^browser/ui/webui/signin/'], 2597 ['exclude', '^browser/ui/webui/signin/'],
2598 ['exclude', '^browser/ui/webui/suggestions_internals'], 2598 ['exclude', '^browser/ui/webui/suggestions_internals'],
2599 ['exclude', '^browser/ui/webui/sync_promo'], 2599 ['exclude', '^browser/ui/webui/sync_promo'],
2600 ['exclude', '^tools/profile_reset/'], 2600 ['exclude', '^tools/profile_reset/'],
2601 ['exclude', '^utility/importer/'], 2601 ['exclude', '^utility/importer/'],
2602 ['exclude', '^utility/media_galleries/'], 2602 ['exclude', '^utility/media_galleries/'],
2603 ], 2603 ],
2604 'conditions': [ 2604 'dependencies': [
2605 ['gtest_target_type == "shared_library"', { 2605 '../testing/android/native_test.gyp:native_test_native_code',
2606 'dependencies': [
2607 '../testing/android/native_test.gyp:native_test_native_code',
2608 ],
2609 }],
2610 ], 2606 ],
2611 }], # OS == android 2607 }], # OS == android
2612 ['OS!="android" and OS!="ios" and chromeos==0 and configuration_policy== 1', { 2608 ['OS!="android" and OS!="ios" and chromeos==0 and configuration_policy== 1', {
2613 'sources': [ 2609 'sources': [
2614 'browser/net/disk_cache_dir_policy_handler_unittest.cc', 2610 'browser/net/disk_cache_dir_policy_handler_unittest.cc',
2615 ], 2611 ],
2616 }], 2612 }],
2617 ['OS!="android" and OS!="ios" and configuration_policy==1', { 2613 ['OS!="android" and OS!="ios" and configuration_policy==1', {
2618 'sources': [ 2614 'sources': [
2619 'browser/download/download_dir_policy_handler_unittest.cc' 2615 'browser/download/download_dir_policy_handler_unittest.cc'
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
2774 'VCLinkerTool': { 2770 'VCLinkerTool': {
2775 'AdditionalDependencies': [ 'wintrust.lib' ], 2771 'AdditionalDependencies': [ 'wintrust.lib' ],
2776 }, 2772 },
2777 }, 2773 },
2778 }], 2774 }],
2779 ], 2775 ],
2780 }, 2776 },
2781 ], 2777 ],
2782 2778
2783 'conditions': [ 2779 'conditions': [
2784 # Special target to wrap a gtest_target_type==shared_library 2780 ['OS == "android"', {
2785 # unit_tests into an android apk for execution.
2786 ['OS == "android" and gtest_target_type == "shared_library"', {
2787 'targets': [ 2781 'targets': [
2788 { 2782 {
2789 'target_name': 'unit_tests_java', 2783 'target_name': 'unit_tests_java',
2790 'type': 'none', 2784 'type': 'none',
2791 'variables': { 2785 'variables': {
2792 'java_in_dir': 'test/android/unit_tests_apk', 2786 'java_in_dir': 'test/android/unit_tests_apk',
2793 }, 2787 },
2794 'dependencies': [ 2788 'dependencies': [
2795 'chrome_java', 2789 'chrome_java',
2796 ], 2790 ],
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
2844 # more details. 2838 # more details.
2845 'DebugInformationFormat': '3', 2839 'DebugInformationFormat': '3',
2846 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/unit_tests.exe.pdb', 2840 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/unit_tests.exe.pdb',
2847 }, 2841 },
2848 }, 2842 },
2849 }, 2843 },
2850 ], 2844 ],
2851 }], 2845 }],
2852 ], # 'conditions' 2846 ], # 'conditions'
2853 } 2847 }
OLDNEW
« no previous file with comments | « cc/cc_tests.gyp ('k') | components/components_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698