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

Side by Side Diff: chrome/chrome_tests_unit.gypi

Issue 22577010: Printing: Add a basic printing mode without print preview and cloud print. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 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 '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
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 2155 matching lines...) Expand 10 before | Expand all | Expand 10 after
2532 ['exclude', '^browser/ui/toolbar/'], 2538 ['exclude', '^browser/ui/toolbar/'],
2533 ['exclude', '^browser/ui/webui/downloads_'], 2539 ['exclude', '^browser/ui/webui/downloads_'],
2534 ['exclude', '^browser/ui/webui/feedback_'], 2540 ['exclude', '^browser/ui/webui/feedback_'],
2535 ['exclude', '^browser/ui/webui/flags_'], 2541 ['exclude', '^browser/ui/webui/flags_'],
2536 ['exclude', '^browser/ui/webui/help/'], 2542 ['exclude', '^browser/ui/webui/help/'],
2537 ['exclude', '^browser/ui/webui/options/'], 2543 ['exclude', '^browser/ui/webui/options/'],
2538 ['exclude', '^browser/ui/webui/options/'], 2544 ['exclude', '^browser/ui/webui/options/'],
2539 ['exclude', '^browser/ui/webui/signin/'], 2545 ['exclude', '^browser/ui/webui/signin/'],
2540 ['exclude', '^browser/ui/webui/suggestions_internals'], 2546 ['exclude', '^browser/ui/webui/suggestions_internals'],
2541 ['exclude', '^browser/ui/webui/sync_promo'], 2547 ['exclude', '^browser/ui/webui/sync_promo'],
2542 # No service process on Android.
2543 ['exclude', '^browser/service/'],
2544 ['exclude', '^common/service_'],
2545 ['exclude', '^service/'],
2546 ['exclude', '^utility/importer/'], 2548 ['exclude', '^utility/importer/'],
2547 ], 2549 ],
2548 'conditions': [ 2550 'conditions': [
2549 ['gtest_target_type == "shared_library"', { 2551 ['gtest_target_type == "shared_library"', {
2550 'dependencies': [ 2552 'dependencies': [
2551 '../testing/android/native_test.gyp:native_test_native_code', 2553 '../testing/android/native_test.gyp:native_test_native_code',
2552 'chrome.gyp:chrome_android_auxiliary', 2554 'chrome.gyp:chrome_android_auxiliary',
2553 ], 2555 ],
2554 }], 2556 }],
2555 ], 2557 ],
2556 }], # OS == android 2558 }], # OS == android
2559 ['enable_printing!=1', {
2560 'sources/': [
2561 # No need for service process.
2562 ['exclude', '^browser/service/'],
2563 ['exclude', '^common/service_'],
2564 ['exclude', '^service/'],
2565 ],
2566 }],
2557 ['enable_themes==0', { 2567 ['enable_themes==0', {
2558 'sources!': [ 2568 'sources!': [
2559 'browser/ui/webui/theme_source_unittest.cc', 2569 'browser/ui/webui/theme_source_unittest.cc',
2560 ], 2570 ],
2561 'sources/': [ 2571 'sources/': [
2562 ['exclude', '^browser/themes/'], 2572 ['exclude', '^browser/themes/'],
2563 ], 2573 ],
2564 }], 2574 }],
2565 ['toolkit_views==1', { 2575 ['toolkit_views==1', {
2566 'dependencies': [ 2576 'dependencies': [
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
2717 # more details. 2727 # more details.
2718 'DebugInformationFormat': '3', 2728 'DebugInformationFormat': '3',
2719 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/unit_tests.exe.pdb', 2729 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/unit_tests.exe.pdb',
2720 }, 2730 },
2721 }, 2731 },
2722 }, 2732 },
2723 ], 2733 ],
2724 }], 2734 }],
2725 ], # 'conditions' 2735 ], # 'conditions'
2726 } 2736 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698