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

Side by Side Diff: chrome/chrome_common.gypi

Issue 320673002: Printing: Don't build service code when full printing is not enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « chrome/chrome_browser.gypi ('k') | chrome/chrome_tests_unit.gypi » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'common', 8 'target_name': 'common',
9 'type': 'static_library', 9 'type': 'static_library',
10 'variables': { 10 'variables': {
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 ['exclude', '^common/common_message_generator\\.cc$'], 383 ['exclude', '^common/common_message_generator\\.cc$'],
384 ['exclude', '^common/common_param_traits'], 384 ['exclude', '^common/common_param_traits'],
385 ['exclude', '^common/custom_handlers/'], 385 ['exclude', '^common/custom_handlers/'],
386 ['exclude', '^common/extensions/'], 386 ['exclude', '^common/extensions/'],
387 ['exclude', '^common/logging_chrome\\.'], 387 ['exclude', '^common/logging_chrome\\.'],
388 ['exclude', '^common/media_galleries/'], 388 ['exclude', '^common/media_galleries/'],
389 ['exclude', '^common/multi_process_'], 389 ['exclude', '^common/multi_process_'],
390 ['exclude', '^common/nacl_'], 390 ['exclude', '^common/nacl_'],
391 ['exclude', '^common/pepper_flash\\.'], 391 ['exclude', '^common/pepper_flash\\.'],
392 ['exclude', '^common/profiling\\.'], 392 ['exclude', '^common/profiling\\.'],
393 ['exclude', '^common/service_process_util_'],
394 ['exclude', '^common/spellcheck_'], 393 ['exclude', '^common/spellcheck_'],
395 ['exclude', '^common/validation_message_'], 394 ['exclude', '^common/validation_message_'],
396 ['exclude', '^common/web_apps\\.'], 395 ['exclude', '^common/web_apps\\.'],
397 # TODO(ios): Include files here as they are made to work; once 396 # TODO(ios): Include files here as they are made to work; once
398 # everything is online, remove everything below here and just 397 # everything is online, remove everything below here and just
399 # use the exclusions above. 398 # use the exclusions above.
400 ['exclude', '\\.(cc|mm)$'], 399 ['exclude', '\\.(cc|mm)$'],
401 ['include', '_ios\\.(cc|mm)$'], 400 ['include', '_ios\\.(cc|mm)$'],
402 ['include', '(^|/)ios/'], 401 ['include', '(^|/)ios/'],
403 ['include', '^common/chrome_version_info\\.cc$'], 402 ['include', '^common/chrome_version_info\\.cc$'],
404 ['include', '^common/translate'], 403 ['include', '^common/translate'],
405 ['include', '^common/zip'], 404 ['include', '^common/zip'],
406 ], 405 ],
407 'include_dirs': [ 406 'include_dirs': [
408 '<(DEPTH)/breakpad/src', 407 '<(DEPTH)/breakpad/src',
409 ], 408 ],
410 }], 409 }],
411 ['enable_printing!=0', { 410 ['enable_printing==0', {
411 'sources!': [
412 'common/print_messages.cc',
413 'common/print_messages.h',
414 ]
415 }, {
412 'dependencies': [ 416 'dependencies': [
413 '<(DEPTH)/printing/printing.gyp:printing', 417 '<(DEPTH)/printing/printing.gyp:printing',
414 ], 418 ],
415 }], 419 }],
420 ['enable_printing!=1', {
421 'sources!' : [
422 'common/service_messages.h',
423 ],
424 'sources/': [
425 ['exclude', '^common/service_process_util_'],
426 ],
427 }],
416 ['enable_service_discovery==1', { 428 ['enable_service_discovery==1', {
417 'sources' : [ 429 'sources' : [
418 'common/local_discovery/service_discovery_client.cc', 430 'common/local_discovery/service_discovery_client.cc',
419 'common/local_discovery/service_discovery_client.h', 431 'common/local_discovery/service_discovery_client.h',
420 ] 432 ]
421 }], 433 }],
422 ['enable_mdns==1', { 434 ['enable_mdns==1', {
423 'sources' : [ 435 'sources' : [
424 'common/local_discovery/service_discovery_client_impl.cc', 436 'common/local_discovery/service_discovery_client_impl.cc',
425 'common/local_discovery/service_discovery_client_impl.h', 437 'common/local_discovery/service_discovery_client_impl.h',
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 ['enable_plugins==0', { 495 ['enable_plugins==0', {
484 'source!' : [ 496 'source!' : [
485 'common/pepper_permission_util.cc', 497 'common/pepper_permission_util.cc',
486 ], 498 ],
487 }], 499 }],
488 ['enable_webrtc==0', { 500 ['enable_webrtc==0', {
489 'sources!': [ 501 'sources!': [
490 'common/media/webrtc_logging_messages.h', 502 'common/media/webrtc_logging_messages.h',
491 ] 503 ]
492 }], 504 }],
493 ['enable_printing==0', {
494 'sources!': [
495 'common/print_messages.cc',
496 'common/print_messages.h',
497 ]
498 }],
499 ['configuration_policy==1', { 505 ['configuration_policy==1', {
500 'dependencies': [ 506 'dependencies': [
501 '<(DEPTH)/components/components.gyp:policy', 507 '<(DEPTH)/components/components.gyp:policy',
502 ], 508 ],
503 }], 509 }],
504 ], 510 ],
505 'target_conditions': [ 511 'target_conditions': [
506 ['OS == "ios"', { 512 ['OS == "ios"', {
507 'sources/': [ 513 'sources/': [
508 # Pull in specific Mac files for iOS (which have been filtered out 514 # Pull in specific Mac files for iOS (which have been filtered out
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 'common/metrics/proto/chrome_experiments.proto', 687 'common/metrics/proto/chrome_experiments.proto',
682 ], 688 ],
683 'variables': { 689 'variables': {
684 'proto_in_dir': 'common/metrics/proto', 690 'proto_in_dir': 'common/metrics/proto',
685 'proto_out_dir': 'chrome/common/metrics/proto', 691 'proto_out_dir': 'chrome/common/metrics/proto',
686 }, 692 },
687 'includes': [ '../build/protoc.gypi' ], 693 'includes': [ '../build/protoc.gypi' ],
688 }, 694 },
689 ], 695 ],
690 } 696 }
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698