OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
682 'defines' : [ | 682 'defines' : [ |
683 '_CRT_SECURE_NO_WARNINGS', | 683 '_CRT_SECURE_NO_WARNINGS', |
684 '_USE_32BIT_TIME_T', | 684 '_USE_32BIT_TIME_T', |
685 ], | 685 ], |
686 'dependencies': [ | 686 'dependencies': [ |
687 '../base/base.gyp:base', | 687 '../base/base.gyp:base', |
688 '../build/temp_gyp/googleurl.gyp:googleurl', | 688 '../build/temp_gyp/googleurl.gyp:googleurl', |
689 '../third_party/icu/icu.gyp:icuuc', | 689 '../third_party/icu/icu.gyp:icuuc', |
690 '../third_party/libjingle/libjingle.gyp:libjingle', | 690 '../third_party/libjingle/libjingle.gyp:libjingle', |
691 '../third_party/sqlite/sqlite.gyp:sqlite', | 691 '../third_party/sqlite/sqlite.gyp:sqlite', |
692 'browser/sync/protocol/sync_proto.gyp:sync_proto_cpp', | |
693 'common_constants', | 692 'common_constants', |
694 'notifier', | 693 'notifier', |
695 'sync', | 694 'sync', |
| 695 'sync_proto', |
696 ], | 696 ], |
697 }, | 697 }, |
698 { | 698 { |
| 699 # Protobuf compiler / generate rule for sync.proto |
| 700 'target_name': 'sync_proto', |
| 701 'type': 'none', |
| 702 'sources': [ |
| 703 'browser/sync/protocol/sync.proto', |
| 704 'browser/sync/protocol/autofill_specifics.proto', |
| 705 'browser/sync/protocol/bookmark_specifics.proto', |
| 706 'browser/sync/protocol/preference_specifics.proto', |
| 707 'browser/sync/protocol/theme_specifics.proto', |
| 708 'browser/sync/protocol/typed_url_specifics.proto', |
| 709 ], |
| 710 'rules': [ |
| 711 { |
| 712 'rule_name': 'genproto', |
| 713 'extension': 'proto', |
| 714 'inputs': [ |
| 715 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)', |
| 716 ], |
| 717 'variables': { |
| 718 # The protoc compiler requires a proto_path argument with the |
| 719 # directory containing the .proto file. |
| 720 # There's no generator variable that corresponds to this, so fake it
. |
| 721 'rule_input_relpath': 'browser/sync/protocol', |
| 722 }, |
| 723 'outputs': [ |
| 724 '<(protoc_out_dir)/chrome/<(rule_input_relpath)/<(RULE_INPUT_ROOT).p
b.h', |
| 725 '<(protoc_out_dir)/chrome/<(rule_input_relpath)/<(RULE_INPUT_ROOT).p
b.cc', |
| 726 ], |
| 727 'action': [ |
| 728 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)', |
| 729 '--proto_path=./<(rule_input_relpath)', |
| 730 './<(rule_input_relpath)/<(RULE_INPUT_ROOT)<(RULE_INPUT_EXT)', |
| 731 '--cpp_out=<(protoc_out_dir)/chrome/<(rule_input_relpath)', |
| 732 ], |
| 733 'message': 'Generating C++ code from <(RULE_INPUT_PATH)', |
| 734 }, |
| 735 ], |
| 736 'dependencies': [ |
| 737 '../third_party/protobuf2/protobuf.gyp:protobuf_lite', |
| 738 '../third_party/protobuf2/protobuf.gyp:protoc#host', |
| 739 ], |
| 740 'direct_dependent_settings': { |
| 741 'include_dirs': [ |
| 742 '<(protoc_out_dir)', |
| 743 ] |
| 744 }, |
| 745 'export_dependent_settings': [ |
| 746 '../third_party/protobuf2/protobuf.gyp:protobuf_lite', |
| 747 ], |
| 748 }, |
| 749 { |
699 'target_name': 'notifier', | 750 'target_name': 'notifier', |
700 'type': '<(library)', | 751 'type': '<(library)', |
701 'sources': [ | 752 'sources': [ |
702 'browser/sync/notifier/base/async_dns_lookup.cc', | 753 'browser/sync/notifier/base/async_dns_lookup.cc', |
703 'browser/sync/notifier/base/async_dns_lookup.h', | 754 'browser/sync/notifier/base/async_dns_lookup.h', |
704 'browser/sync/notifier/base/async_network_alive.h', | 755 'browser/sync/notifier/base/async_network_alive.h', |
705 'browser/sync/notifier/base/fastalloc.h', | 756 'browser/sync/notifier/base/fastalloc.h', |
706 'browser/sync/notifier/base/linux/async_network_alive_linux.cc', | 757 'browser/sync/notifier/base/linux/async_network_alive_linux.cc', |
707 'browser/sync/notifier/base/mac/network_status_detector_task_mac.h', | 758 'browser/sync/notifier/base/mac/network_status_detector_task_mac.h', |
708 'browser/sync/notifier/base/mac/network_status_detector_task_mac.cc', | 759 'browser/sync/notifier/base/mac/network_status_detector_task_mac.cc', |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
778 'defines' : [ | 829 'defines' : [ |
779 '_CRT_SECURE_NO_WARNINGS', | 830 '_CRT_SECURE_NO_WARNINGS', |
780 '_USE_32BIT_TIME_T', | 831 '_USE_32BIT_TIME_T', |
781 'kXmppProductName="chromium-sync"', | 832 'kXmppProductName="chromium-sync"', |
782 ], | 833 ], |
783 'dependencies': [ | 834 'dependencies': [ |
784 '../base/base.gyp:base', | 835 '../base/base.gyp:base', |
785 '../net/net.gyp:net', | 836 '../net/net.gyp:net', |
786 '../third_party/expat/expat.gyp:expat', | 837 '../third_party/expat/expat.gyp:expat', |
787 '../third_party/libjingle/libjingle.gyp:libjingle', | 838 '../third_party/libjingle/libjingle.gyp:libjingle', |
788 'browser/sync/protocol/sync_proto.gyp:sync_proto_cpp', | 839 'sync_proto', |
789 ], | 840 ], |
790 'conditions': [ | 841 'conditions': [ |
791 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { | 842 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { |
792 'dependencies': [ | 843 'dependencies': [ |
793 '../build/linux/system.gyp:gtk' | 844 '../build/linux/system.gyp:gtk' |
794 ], | 845 ], |
795 }], | 846 }], |
796 ['OS=="linux" and chromeos==1', { | 847 ['OS=="linux" and chromeos==1', { |
797 'include_dirs': [ | 848 'include_dirs': [ |
798 '<(grit_out_dir)', | 849 '<(grit_out_dir)', |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
932 '<(protoc_out_dir)', | 983 '<(protoc_out_dir)', |
933 ], | 984 ], |
934 'defines' : [ | 985 'defines' : [ |
935 'SYNC_ENGINE_VERSION_STRING="Unknown"', | 986 'SYNC_ENGINE_VERSION_STRING="Unknown"', |
936 '_CRT_SECURE_NO_WARNINGS', | 987 '_CRT_SECURE_NO_WARNINGS', |
937 '_USE_32BIT_TIME_T', | 988 '_USE_32BIT_TIME_T', |
938 ], | 989 ], |
939 'dependencies': [ | 990 'dependencies': [ |
940 '../skia/skia.gyp:skia', | 991 '../skia/skia.gyp:skia', |
941 '../third_party/libjingle/libjingle.gyp:libjingle', | 992 '../third_party/libjingle/libjingle.gyp:libjingle', |
942 'browser/sync/protocol/sync_proto.gyp:sync_proto_cpp', | 993 'sync_proto', |
943 '../third_party/protobuf2/protobuf.gyp:protobuf_lite#target', | |
944 ], | 994 ], |
945 'conditions': [ | 995 'conditions': [ |
946 ['OS=="win"', { | 996 ['OS=="win"', { |
947 'sources' : [ | 997 'sources' : [ |
948 'browser/sync/util/data_encryption.cc', | 998 'browser/sync/util/data_encryption.cc', |
949 'browser/sync/util/data_encryption.h', | 999 'browser/sync/util/data_encryption.h', |
950 ], | 1000 ], |
951 }], | 1001 }], |
952 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { | 1002 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { |
953 'dependencies': [ | 1003 'dependencies': [ |
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1614 }], # targets | 1664 }], # targets |
1615 }], # OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" | 1665 }], # OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" |
1616 ], # 'conditions' | 1666 ], # 'conditions' |
1617 } | 1667 } |
1618 | 1668 |
1619 # Local Variables: | 1669 # Local Variables: |
1620 # tab-width:2 | 1670 # tab-width:2 |
1621 # indent-tabs-mode:nil | 1671 # indent-tabs-mode:nil |
1622 # End: | 1672 # End: |
1623 # vim: set expandtab tabstop=2 shiftwidth=2: | 1673 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |