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

Side by Side Diff: chrome/chrome.gyp

Issue 7677034: Update sync protos to use the new shared protoc gyp rules (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 'chromium_code': 1, 6 'chromium_code': 1,
7 7
8 'variables': { 8 'variables': {
9 'version_py_path': 'tools/build/version.py', 9 'version_py_path': 'tools/build/version.py',
10 'version_path': 'VERSION', 10 'version_path': 'VERSION',
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 '_USE_32BIT_TIME_T', 535 '_USE_32BIT_TIME_T',
536 ], 536 ],
537 'dependencies': [ 537 'dependencies': [
538 '../base/base.gyp:base', 538 '../base/base.gyp:base',
539 '../build/temp_gyp/googleurl.gyp:googleurl', 539 '../build/temp_gyp/googleurl.gyp:googleurl',
540 '../jingle/jingle.gyp:notifier', 540 '../jingle/jingle.gyp:notifier',
541 '../net/net.gyp:net', 541 '../net/net.gyp:net',
542 '../third_party/icu/icu.gyp:icuuc', 542 '../third_party/icu/icu.gyp:icuuc',
543 '../third_party/sqlite/sqlite.gyp:sqlite', 543 '../third_party/sqlite/sqlite.gyp:sqlite',
544 'app/policy/cloud_policy_codegen.gyp:policy', 544 'app/policy/cloud_policy_codegen.gyp:policy',
545 'browser/sync/protocol/sync_proto.gyp:sync_proto_cpp', 545 'browser/sync/protocol/sync_proto.gyp:sync_proto',
546 'common_constants', 546 'common_constants',
547 'common_net', 547 'common_net',
548 'sync', 548 'sync',
549 'sync_notifier', 549 'sync_notifier',
550 ], 550 ],
551 'export_dependent_settings': [ 551 'export_dependent_settings': [
552 'browser/sync/protocol/sync_proto.gyp:sync_proto_cpp', 552 'browser/sync/protocol/sync_proto.gyp:sync_proto',
553 'sync', 553 'sync',
554 ], 554 ],
555 # This target exports a hard dependency because syncapi.h includes 555 # This target exports a hard dependency because syncapi.h includes
556 # generated proto header files from sync_proto_cpp. 556 # generated proto header files from sync_proto.
557 'hard_dependency': 1, 557 'hard_dependency': 1,
TVL 2011/08/19 13:05:21 This seems like an odd ripple. But maybe I just n
558 }, 558 },
559 { 559 {
560 # Provides the API that Chrome services use to talk to sync. 560 # Provides the API that Chrome services use to talk to sync.
561 'target_name': 'syncapi_service', 561 'target_name': 'syncapi_service',
562 'type': 'static_library', 562 'type': 'static_library',
563 'sources': [ 563 'sources': [
564 'browser/sync/api/syncable_service.cc', 564 'browser/sync/api/syncable_service.cc',
565 'browser/sync/api/syncable_service.h', 565 'browser/sync/api/syncable_service.h',
566 'browser/sync/api/sync_data.h', 566 'browser/sync/api/sync_data.h',
567 'browser/sync/api/sync_data.cc', 567 'browser/sync/api/sync_data.cc',
568 'browser/sync/api/sync_change.h', 568 'browser/sync/api/sync_change.h',
569 'browser/sync/api/sync_change.cc', 569 'browser/sync/api/sync_change.cc',
570 'browser/sync/api/sync_change_processor.h', 570 'browser/sync/api/sync_change_processor.h',
571 'browser/sync/api/sync_change_processor.cc', 571 'browser/sync/api/sync_change_processor.cc',
572 'browser/sync/api/sync_error.h', 572 'browser/sync/api/sync_error.h',
573 'browser/sync/api/sync_error.cc', 573 'browser/sync/api/sync_error.cc',
574 ], 574 ],
575 'include_dirs': [ 575 'include_dirs': [
576 '..', 576 '..',
577 ], 577 ],
578 'dependencies': [ 578 'dependencies': [
579 '../base/base.gyp:base', 579 '../base/base.gyp:base',
580 'browser/sync/protocol/sync_proto.gyp:sync_proto_cpp', 580 'browser/sync/protocol/sync_proto.gyp:sync_proto',
581 'sync', 581 'sync',
582 ], 582 ],
583 'export_dependent_settings': [ 583 'export_dependent_settings': [
584 '../base/base.gyp:base', 584 '../base/base.gyp:base',
585 'browser/sync/protocol/sync_proto.gyp:sync_proto_cpp', 585 'browser/sync/protocol/sync_proto.gyp:sync_proto',
586 'sync', 586 'sync',
587 ], 587 ],
588 # Even though this target depends on sync_proto_cpp, it doesn't 588 # Even though this target depends on sync_proto, it doesn't
589 # need to export a hard dependency since we explicitly avoid 589 # need to export a hard dependency since we explicitly avoid
590 # including the generated proto header files from this target's 590 # including the generated proto header files from this target's
591 # header files. 591 # header files.
592 }, 592 },
593 { 593 {
594 'target_name': 'sync', 594 'target_name': 'sync',
595 'type': 'static_library', 595 'type': 'static_library',
596 'sources': [ 596 'sources': [
597 'browser/sync/engine/all_status.cc', 597 'browser/sync/engine/all_status.cc',
598 'browser/sync/engine/all_status.h', 598 'browser/sync/engine/all_status.h',
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 'defines' : [ 737 'defines' : [
738 'SYNC_ENGINE_VERSION_STRING="Unknown"', 738 'SYNC_ENGINE_VERSION_STRING="Unknown"',
739 '_CRT_SECURE_NO_WARNINGS', 739 '_CRT_SECURE_NO_WARNINGS',
740 '_USE_32BIT_TIME_T', 740 '_USE_32BIT_TIME_T',
741 ], 741 ],
742 'dependencies': [ 742 'dependencies': [
743 'common', 743 'common',
744 '../base/base.gyp:base', 744 '../base/base.gyp:base',
745 '../crypto/crypto.gyp:crypto', 745 '../crypto/crypto.gyp:crypto',
746 '../skia/skia.gyp:skia', 746 '../skia/skia.gyp:skia',
747 'browser/sync/protocol/sync_proto.gyp:sync_proto_cpp', 747 'browser/sync/protocol/sync_proto.gyp:sync_proto',
748 ], 748 ],
749 'export_dependent_settings': [ 749 'export_dependent_settings': [
750 '../base/base.gyp:base', 750 '../base/base.gyp:base',
751 '../crypto/crypto.gyp:crypto', 751 '../crypto/crypto.gyp:crypto',
752 'browser/sync/protocol/sync_proto.gyp:sync_proto_cpp', 752 'browser/sync/protocol/sync_proto.gyp:sync_proto',
753 ], 753 ],
754 # This target exports a hard dependency because its header files include 754 # This target exports a hard dependency because its header files include
755 # protobuf header files from sync_proto_cpp. 755 # protobuf header files from sync_proto.
756 'hard_dependency': 1, 756 'hard_dependency': 1,
757 'conditions': [ 757 'conditions': [
758 ['OS=="win"', { 758 ['OS=="win"', {
759 'sources' : [ 759 'sources' : [
760 'browser/sync/util/data_encryption.cc', 760 'browser/sync/util/data_encryption.cc',
761 'browser/sync/util/data_encryption.h', 761 'browser/sync/util/data_encryption.h',
762 ], 762 ],
763 }], 763 }],
764 ['toolkit_uses_gtk == 1', { 764 ['toolkit_uses_gtk == 1', {
765 'dependencies': [ 765 'dependencies': [
(...skipping 960 matching lines...) Expand 10 before | Expand all | Expand 10 after
1726 'destination': '<(PRODUCT_DIR)', 1726 'destination': '<(PRODUCT_DIR)',
1727 'files': [ 1727 'files': [
1728 '<(INTERMEDIATE_DIR)/repack/chrome.pak' 1728 '<(INTERMEDIATE_DIR)/repack/chrome.pak'
1729 ], 1729 ],
1730 }, 1730 },
1731 ], 1731 ],
1732 }], # targets 1732 }], # targets
1733 }], # OS != "mac" 1733 }], # OS != "mac"
1734 ], # 'conditions' 1734 ], # 'conditions'
1735 } 1735 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698