OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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_browser_extensions_test_support_sources': [ | 6 'chrome_browser_extensions_test_support_sources': [ |
7 # A list of sources which is shared between different browser tests. | 7 # A list of sources which is shared between different browser tests. |
8 'browser/apps/app_browsertest_util.cc', | 8 'browser/apps/app_browsertest_util.cc', |
9 'browser/apps/app_browsertest_util.h', | 9 'browser/apps/app_browsertest_util.h', |
10 'browser/extensions/browsertest_util.cc', | 10 'browser/extensions/browsertest_util.cc', |
(...skipping 1528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1539 'browser/sync/test/integration/performance/dictionary_sync_perf_test.cc', | 1539 'browser/sync/test/integration/performance/dictionary_sync_perf_test.cc', |
1540 'browser/sync/test/integration/performance/extensions_sync_perf_test.cc', | 1540 'browser/sync/test/integration/performance/extensions_sync_perf_test.cc', |
1541 'browser/sync/test/integration/performance/passwords_sync_perf_test.cc', | 1541 'browser/sync/test/integration/performance/passwords_sync_perf_test.cc', |
1542 'browser/sync/test/integration/performance/sessions_sync_perf_test.cc', | 1542 'browser/sync/test/integration/performance/sessions_sync_perf_test.cc', |
1543 'browser/sync/test/integration/performance/sync_timing_helper.cc', | 1543 'browser/sync/test/integration/performance/sync_timing_helper.cc', |
1544 'browser/sync/test/integration/performance/sync_timing_helper.h', | 1544 'browser/sync/test/integration/performance/sync_timing_helper.h', |
1545 'browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc', | 1545 'browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc', |
1546 'test/base/browser_perf_tests_main.cc', | 1546 'test/base/browser_perf_tests_main.cc', |
1547 'test/data/resource.rc', | 1547 'test/data/resource.rc', |
1548 ], | 1548 ], |
| 1549 'chrome_ui_perf_tests_sources': [ |
| 1550 'test/base/browser_with_content_test.cc', |
| 1551 'test/base/browser_with_content_test.h', |
| 1552 'test/base/interactive_test_utils.cc', |
| 1553 'test/base/interactive_test_utils.h', |
| 1554 'test/base/interactive_test_utils_aura.cc', |
| 1555 'test/base/interactive_test_utils_aura.h', |
| 1556 'test/base/interactive_test_utils_mac.mm', |
| 1557 'test/base/interactive_test_utils_views.cc', |
| 1558 'test/base/interactive_test_utils_win.cc', |
| 1559 'test/base/interactive_ui_tests_main.cc', |
| 1560 'browser/ui/energy_browsertest.cc', |
| 1561 ] |
1549 }, | 1562 }, |
1550 'includes': [ | 1563 'includes': [ |
1551 'js_unittest_vars.gypi', | 1564 'js_unittest_vars.gypi', |
1552 ], | 1565 ], |
1553 'targets': [ | 1566 'targets': [ |
1554 { | 1567 { |
1555 # This target contains non-unittest test utilities that don't belong in | 1568 # This target contains non-unittest test utilities that don't belong in |
1556 # production libraries but are used by more than one test executable. | 1569 # production libraries but are used by more than one test executable. |
1557 # | 1570 # |
1558 # GN version: //chrome/test:test_support_ui | 1571 # GN version: //chrome/test:test_support_ui |
(...skipping 1516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3075 'conditions': [ | 3088 'conditions': [ |
3076 ['enable_pepper_cdms==1', { | 3089 ['enable_pepper_cdms==1', { |
3077 'dependencies': [ | 3090 'dependencies': [ |
3078 # Runtime dependencies. | 3091 # Runtime dependencies. |
3079 '../media/media.gyp:clearkeycdmadapter', | 3092 '../media/media.gyp:clearkeycdmadapter', |
3080 '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter', | 3093 '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter', |
3081 ], | 3094 ], |
3082 }], | 3095 }], |
3083 ], | 3096 ], |
3084 }, # target 'load_library_perf_tests' | 3097 }, # target 'load_library_perf_tests' |
3085 ], | 3098 { |
| 3099 # Executable to measure power usage and interactive UI performance. |
| 3100 # GN version: //chrome/test:ui_perf_tests (TODO) |
| 3101 'target_name': 'ui_perf_tests', |
| 3102 'type': 'executable', |
| 3103 'dependencies': [ |
| 3104 'browser', |
| 3105 'chrome', |
| 3106 'chrome_resources.gyp:chrome_resources', |
| 3107 'chrome_resources.gyp:chrome_strings', |
| 3108 'chrome_resources.gyp:packed_extra_resources', |
| 3109 'chrome_resources.gyp:packed_resources', |
| 3110 'test_support_common', |
| 3111 'test_support_ui', |
| 3112 '../content/app/resources/content_resources.gyp:content_resources', |
| 3113 '../testing/gtest.gyp:gtest', |
| 3114 '../ui/base/ui_base.gyp:ui_base_test_support', |
| 3115 # Runtime dependencies |
| 3116 '../third_party/mesa/mesa.gyp:osmesa', |
| 3117 ], |
| 3118 'include_dirs': [ |
| 3119 '..', |
| 3120 ], |
| 3121 'defines': [ |
| 3122 'HAS_OUT_OF_PROC_TEST_RUNNER', |
| 3123 ], |
| 3124 'sources': [ |
| 3125 '<@(chrome_ui_perf_tests_sources)', |
| 3126 ], |
| 3127 'conditions': [ |
| 3128 ['OS=="mac"', { |
| 3129 # See comment about the same line in chrome/chrome_tests.gypi. |
| 3130 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, |
| 3131 }], |
| 3132 ['toolkit_views==1', { |
| 3133 'dependencies': [ |
| 3134 '../ui/views/views.gyp:views', |
| 3135 '../ui/views/views.gyp:views_test_support', |
| 3136 ], |
| 3137 }], |
| 3138 ['mac_views_browser==1', { |
| 3139 'sources': [ |
| 3140 # mac_views_browser=1 strips these out of the browser, but |
| 3141 # interactive_test_utils_mac.mm still wants access to them for now. |
| 3142 'browser/ui/cocoa/view_id_util.h', |
| 3143 'browser/ui/cocoa/view_id_util.mm', |
| 3144 ], |
| 3145 }], |
| 3146 ['chromeos==1', { |
| 3147 'dependencies': [ |
| 3148 '../ash/ash_resources.gyp:ash_resources', |
| 3149 '../chromeos/chromeos.gyp:chromeos', |
| 3150 ], |
| 3151 }], |
| 3152 ['OS=="win"', { |
| 3153 'include_dirs': [ |
| 3154 '../third_party/wtl/include', |
| 3155 ], |
| 3156 'dependencies': [ |
| 3157 '../ui/resources/ui_resources.gyp:ui_resources', |
| 3158 'chrome.gyp:chrome_version_resources', |
| 3159 ], |
| 3160 'sources': [ |
| 3161 # TODO: It would be nice to have these pulled in |
| 3162 # automatically from direct_dependent_settings in |
| 3163 # their various targets (net.gyp:net_resources, etc.), |
| 3164 # but that causes errors in other targets when |
| 3165 # resulting .res files get referenced multiple times. |
| 3166 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc', |
| 3167 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc', |
| 3168 ], |
| 3169 'msvs_settings': { |
| 3170 'VCLinkerTool': { |
| 3171 'conditions': [ |
| 3172 ['incremental_chrome_dll==1', { |
| 3173 'UseLibraryDependencyInputs': "true", |
| 3174 }], |
| 3175 ], |
| 3176 }, |
| 3177 }, |
| 3178 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 3179 'msvs_disabled_warnings': [ 4267, ], |
| 3180 }], # OS != "win" |
| 3181 ], # conditions |
| 3182 }, # target_name:ui_perf_tests |
| 3183 ], # targets |
3086 'conditions': [ | 3184 'conditions': [ |
3087 ['OS == "android"', { | 3185 ['OS == "android"', { |
3088 'targets': [ | 3186 'targets': [ |
3089 { | 3187 { |
3090 # GN: //chrome/android:chrome_junit_tests | 3188 # GN: //chrome/android:chrome_junit_tests |
3091 'target_name': 'chrome_junit_tests', | 3189 'target_name': 'chrome_junit_tests', |
3092 'type': 'none', | 3190 'type': 'none', |
3093 'dependencies': [ | 3191 'dependencies': [ |
3094 'chrome_java', | 3192 'chrome_java', |
3095 '../base/base.gyp:base', | 3193 '../base/base.gyp:base', |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3428 'utility', | 3526 'utility', |
3429 ], | 3527 ], |
3430 'sources': [ | 3528 'sources': [ |
3431 'tools/service_discovery_sniffer/service_discovery_sniffer.cc', | 3529 'tools/service_discovery_sniffer/service_discovery_sniffer.cc', |
3432 'tools/service_discovery_sniffer/service_discovery_sniffer.h', | 3530 'tools/service_discovery_sniffer/service_discovery_sniffer.h', |
3433 ], | 3531 ], |
3434 }] | 3532 }] |
3435 }], | 3533 }], |
3436 ], # 'conditions' | 3534 ], # 'conditions' |
3437 } | 3535 } |
OLD | NEW |