OLD | NEW |
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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 ['toolkit_uses_gtk == 1', { | 352 ['toolkit_uses_gtk == 1', { |
353 'dependencies': [ | 353 'dependencies': [ |
354 '../build/linux/system.gyp:gtk', | 354 '../build/linux/system.gyp:gtk', |
355 ], | 355 ], |
356 }], | 356 }], |
357 ['toolkit_uses_gtk == 1 or chromeos==1 or (OS=="linux" and use_aura==1)'
, { | 357 ['toolkit_uses_gtk == 1 or chromeos==1 or (OS=="linux" and use_aura==1)'
, { |
358 'dependencies': [ | 358 'dependencies': [ |
359 '../build/linux/system.gyp:ssl', | 359 '../build/linux/system.gyp:ssl', |
360 ], | 360 ], |
361 }], | 361 }], |
362 ['OS!="android" and OS!="ios"', { | 362 ['enable_printing==1', { |
363 'dependencies': [ | 363 'dependencies': [ |
364 'service', | 364 'service', |
365 ], | 365 ], |
366 }], | 366 }], |
| 367 ['enable_printing==0', { |
| 368 'sources/': [ |
| 369 ['exclude', '^renderer/mock_printer.cc'], |
| 370 ['exclude', '^renderer/mock_printer.h'], |
| 371 ], |
| 372 }], |
367 ['OS=="android"', { | 373 ['OS=="android"', { |
368 'sources/': [ | 374 'sources/': [ |
369 ['exclude', '^browser/media_galleries/'], | 375 ['exclude', '^browser/media_galleries/'], |
370 ], | 376 ], |
371 }], | 377 }], |
372 ['OS=="win"', { | 378 ['OS=="win"', { |
373 'dependencies': [ | 379 'dependencies': [ |
374 '../ui/snapshot/snapshot.gyp:snapshot_test_support', | 380 '../ui/snapshot/snapshot.gyp:snapshot_test_support', |
375 ], | 381 ], |
376 'include_dirs': [ | 382 'include_dirs': [ |
(...skipping 2173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2550 ['exclude', '^browser/ui/toolbar/'], | 2556 ['exclude', '^browser/ui/toolbar/'], |
2551 ['exclude', '^browser/ui/webui/downloads_'], | 2557 ['exclude', '^browser/ui/webui/downloads_'], |
2552 ['exclude', '^browser/ui/webui/feedback_'], | 2558 ['exclude', '^browser/ui/webui/feedback_'], |
2553 ['exclude', '^browser/ui/webui/flags_'], | 2559 ['exclude', '^browser/ui/webui/flags_'], |
2554 ['exclude', '^browser/ui/webui/help/'], | 2560 ['exclude', '^browser/ui/webui/help/'], |
2555 ['exclude', '^browser/ui/webui/options/'], | 2561 ['exclude', '^browser/ui/webui/options/'], |
2556 ['exclude', '^browser/ui/webui/options/'], | 2562 ['exclude', '^browser/ui/webui/options/'], |
2557 ['exclude', '^browser/ui/webui/signin/'], | 2563 ['exclude', '^browser/ui/webui/signin/'], |
2558 ['exclude', '^browser/ui/webui/suggestions_internals'], | 2564 ['exclude', '^browser/ui/webui/suggestions_internals'], |
2559 ['exclude', '^browser/ui/webui/sync_promo'], | 2565 ['exclude', '^browser/ui/webui/sync_promo'], |
2560 # No service process on Android. | |
2561 ['exclude', '^browser/service/'], | |
2562 ['exclude', '^common/service_'], | |
2563 ['exclude', '^service/'], | |
2564 ['exclude', '^utility/importer/'], | 2566 ['exclude', '^utility/importer/'], |
2565 ], | 2567 ], |
2566 'conditions': [ | 2568 'conditions': [ |
2567 ['gtest_target_type == "shared_library"', { | 2569 ['gtest_target_type == "shared_library"', { |
2568 'dependencies': [ | 2570 'dependencies': [ |
2569 '../testing/android/native_test.gyp:native_test_native_code', | 2571 '../testing/android/native_test.gyp:native_test_native_code', |
2570 'chrome.gyp:chrome_android_auxiliary', | 2572 'chrome.gyp:chrome_android_auxiliary', |
2571 ], | 2573 ], |
2572 }], | 2574 }], |
2573 ], | 2575 ], |
2574 }], # OS == android | 2576 }], # OS == android |
| 2577 ['enable_printing!=1', { |
| 2578 'sources/': [ |
| 2579 # No need for service process. |
| 2580 ['exclude', '^browser/service/'], |
| 2581 ['exclude', '^common/service_'], |
| 2582 ['exclude', '^service/'], |
| 2583 ], |
| 2584 }], |
2575 ['enable_themes==0', { | 2585 ['enable_themes==0', { |
2576 'sources!': [ | 2586 'sources!': [ |
2577 'browser/ui/webui/theme_source_unittest.cc', | 2587 'browser/ui/webui/theme_source_unittest.cc', |
2578 ], | 2588 ], |
2579 'sources/': [ | 2589 'sources/': [ |
2580 ['exclude', '^browser/themes/'], | 2590 ['exclude', '^browser/themes/'], |
2581 ], | 2591 ], |
2582 }], | 2592 }], |
2583 ['toolkit_views==1', { | 2593 ['toolkit_views==1', { |
2584 'dependencies': [ | 2594 'dependencies': [ |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2735 # more details. | 2745 # more details. |
2736 'DebugInformationFormat': '3', | 2746 'DebugInformationFormat': '3', |
2737 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/unit_tests.exe.pdb', | 2747 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/unit_tests.exe.pdb', |
2738 }, | 2748 }, |
2739 }, | 2749 }, |
2740 }, | 2750 }, |
2741 ], | 2751 ], |
2742 }], | 2752 }], |
2743 ], # 'conditions' | 2753 ], # 'conditions' |
2744 } | 2754 } |
OLD | NEW |