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

Side by Side Diff: chrome/chrome_tests_unit.gypi

Issue 1003853005: Remove Chrome OS-only sources only if the OS is Chrome OS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 2328 matching lines...) Expand 10 before | Expand all | Expand 10 after
2339 ['enable_captive_portal_detection==1', { 2339 ['enable_captive_portal_detection==1', {
2340 'sources': [ '<@(chrome_unit_tests_captive_portal_sources)' ], 2340 'sources': [ '<@(chrome_unit_tests_captive_portal_sources)' ],
2341 }], 2341 }],
2342 ['enable_session_service==1', { 2342 ['enable_session_service==1', {
2343 'sources': [ '<@(chrome_unit_tests_session_service_sources)' ], 2343 'sources': [ '<@(chrome_unit_tests_session_service_sources)' ],
2344 }], 2344 }],
2345 ['enable_webrtc==1', { 2345 ['enable_webrtc==1', {
2346 'sources': [ '<@(chrome_unit_tests_webrtc_sources)' ], 2346 'sources': [ '<@(chrome_unit_tests_webrtc_sources)' ],
2347 }], 2347 }],
2348 ['chromeos==1', { 2348 ['chromeos==1', {
2349 'sources': [ '<@(chrome_unit_tests_chromeos_sources)' ], 2349 'sources': [ '<@(chrome_unit_tests_chromeos_sources)' ],
wtc 2015/03/13 00:42:54 This 'chromeos==1' section is the right place to r
2350 'dependencies': [ 2350 'dependencies': [
2351 '../ash/ash_resources.gyp:ash_resources', 2351 '../ash/ash_resources.gyp:ash_resources',
2352 '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources', 2352 '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources',
2353 ], 2353 ],
2354 'sources!': [ 2354 'sources!': [
2355 'browser/signin/signin_global_error_unittest.cc', 2355 'browser/signin/signin_global_error_unittest.cc',
2356 'browser/signin/signin_manager_unittest.cc', 2356 'browser/signin/signin_manager_unittest.cc',
2357 'browser/signin/signin_names_io_thread_unittest.cc', 2357 'browser/signin/signin_names_io_thread_unittest.cc',
2358 'browser/ui/views/app_list/linux/app_list_linux_unittest.cc', 2358 'browser/ui/views/app_list/linux/app_list_linux_unittest.cc',
2359 'browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc ', 2359 'browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc ',
2360 ], 2360 ],
2361 'conditions': [
2362 ['use_ozone==1', {
2363 'sources!': [
2364 # crbug.com/354036
2365 'browser/chromeos/events/event_rewriter_unittest.cc',
2366 ],
2367 }],
2368 ],
2361 }], 2369 }],
2362 ['use_x11==1', { 2370 ['use_x11==1', {
2363 'dependencies': [ 2371 'dependencies': [
2364 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 2372 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2365 '../ui/events/devices/events_devices.gyp:events_devices', 2373 '../ui/events/devices/events_devices.gyp:events_devices',
2366 ], 2374 ],
2367 }], 2375 }],
2368 [ 'cld_version==0 or cld_version==2', { 2376 [ 'cld_version==0 or cld_version==2', {
2369 'dependencies': [ 2377 'dependencies': [
2370 # Unit tests should be independent of the CLD2 access mechanism, 2378 # Unit tests should be independent of the CLD2 access mechanism,
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
2592 'dependencies': [ 2600 'dependencies': [
2593 '../third_party/cld/cld.gyp:cld', 2601 '../third_party/cld/cld.gyp:cld',
2594 ], 2602 ],
2595 }], 2603 }],
2596 ['enable_app_list==1', { 2604 ['enable_app_list==1', {
2597 'sources': [ '<@(chrome_unit_tests_app_list_sources)' ], 2605 'sources': [ '<@(chrome_unit_tests_app_list_sources)' ],
2598 'dependencies': [ 2606 'dependencies': [
2599 '../ui/app_list/app_list.gyp:app_list_test_support', 2607 '../ui/app_list/app_list.gyp:app_list_test_support',
2600 ], 2608 ],
2601 }], 2609 }],
2602 ['use_ozone==1', {
2603 'sources!': [
2604 # crbug.com/354036
2605 'browser/chromeos/events/event_rewriter_unittest.cc',
2606 ],
2607 }],
2608 ['enable_plugin_installation==0', { 2610 ['enable_plugin_installation==0', {
2609 'sources!': [ 2611 'sources!': [
2610 'browser/plugins/plugin_installer_unittest.cc', 2612 'browser/plugins/plugin_installer_unittest.cc',
2611 ], 2613 ],
2612 }], 2614 }],
2613 # Adding more conditions? Don't forget to update the GN build. 2615 # Adding more conditions? Don't forget to update the GN build.
2614 ], 2616 ],
2615 }, 2617 },
2616 { 2618 {
2617 # GN: //chrome/test:chrome_app_unittests 2619 # GN: //chrome/test:chrome_app_unittests
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
2759 'dependencies': [ 2761 'dependencies': [
2760 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 2762 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2761 ], 2763 ],
2762 }], 2764 }],
2763 ], 2765 ],
2764 }, 2766 },
2765 ], 2767 ],
2766 }], 2768 }],
2767 ], # 'conditions' 2769 ], # 'conditions'
2768 } 2770 }
OLDNEW
« chrome/chrome_tests.gypi ('K') | « chrome/chrome_tests.gypi ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698