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', |
692 'common_constants', | 693 'common_constants', |
693 'notifier', | 694 'notifier', |
694 'sync', | 695 '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 { | |
750 'target_name': 'notifier', | 699 'target_name': 'notifier', |
751 'type': '<(library)', | 700 'type': '<(library)', |
752 'sources': [ | 701 'sources': [ |
753 'browser/sync/notifier/base/async_dns_lookup.cc', | 702 'browser/sync/notifier/base/async_dns_lookup.cc', |
754 'browser/sync/notifier/base/async_dns_lookup.h', | 703 'browser/sync/notifier/base/async_dns_lookup.h', |
755 'browser/sync/notifier/base/async_network_alive.h', | 704 'browser/sync/notifier/base/async_network_alive.h', |
756 'browser/sync/notifier/base/fastalloc.h', | 705 'browser/sync/notifier/base/fastalloc.h', |
757 'browser/sync/notifier/base/linux/async_network_alive_linux.cc', | 706 'browser/sync/notifier/base/linux/async_network_alive_linux.cc', |
758 'browser/sync/notifier/base/mac/network_status_detector_task_mac.h', | 707 'browser/sync/notifier/base/mac/network_status_detector_task_mac.h', |
759 'browser/sync/notifier/base/mac/network_status_detector_task_mac.cc', | 708 'browser/sync/notifier/base/mac/network_status_detector_task_mac.cc', |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
829 'defines' : [ | 778 'defines' : [ |
830 '_CRT_SECURE_NO_WARNINGS', | 779 '_CRT_SECURE_NO_WARNINGS', |
831 '_USE_32BIT_TIME_T', | 780 '_USE_32BIT_TIME_T', |
832 'kXmppProductName="chromium-sync"', | 781 'kXmppProductName="chromium-sync"', |
833 ], | 782 ], |
834 'dependencies': [ | 783 'dependencies': [ |
835 '../base/base.gyp:base', | 784 '../base/base.gyp:base', |
836 '../net/net.gyp:net', | 785 '../net/net.gyp:net', |
837 '../third_party/expat/expat.gyp:expat', | 786 '../third_party/expat/expat.gyp:expat', |
838 '../third_party/libjingle/libjingle.gyp:libjingle', | 787 '../third_party/libjingle/libjingle.gyp:libjingle', |
839 'sync_proto', | 788 'browser/sync/protocol/sync_proto.gyp:sync_proto_cpp', |
840 ], | 789 ], |
841 'conditions': [ | 790 'conditions': [ |
842 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { | 791 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { |
843 'dependencies': [ | 792 'dependencies': [ |
844 '../build/linux/system.gyp:gtk' | 793 '../build/linux/system.gyp:gtk' |
845 ], | 794 ], |
846 }], | 795 }], |
847 ['OS=="linux" and chromeos==1', { | 796 ['OS=="linux" and chromeos==1', { |
848 'include_dirs': [ | 797 'include_dirs': [ |
849 '<(grit_out_dir)', | 798 '<(grit_out_dir)', |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
983 '<(protoc_out_dir)', | 932 '<(protoc_out_dir)', |
984 ], | 933 ], |
985 'defines' : [ | 934 'defines' : [ |
986 'SYNC_ENGINE_VERSION_STRING="Unknown"', | 935 'SYNC_ENGINE_VERSION_STRING="Unknown"', |
987 '_CRT_SECURE_NO_WARNINGS', | 936 '_CRT_SECURE_NO_WARNINGS', |
988 '_USE_32BIT_TIME_T', | 937 '_USE_32BIT_TIME_T', |
989 ], | 938 ], |
990 'dependencies': [ | 939 'dependencies': [ |
991 '../skia/skia.gyp:skia', | 940 '../skia/skia.gyp:skia', |
992 '../third_party/libjingle/libjingle.gyp:libjingle', | 941 '../third_party/libjingle/libjingle.gyp:libjingle', |
993 'sync_proto', | 942 'browser/sync/protocol/sync_proto.gyp:sync_proto_cpp', |
| 943 '../third_party/protobuf2/protobuf.gyp:protobuf_lite#target', |
994 ], | 944 ], |
995 'conditions': [ | 945 'conditions': [ |
996 ['OS=="win"', { | 946 ['OS=="win"', { |
997 'sources' : [ | 947 'sources' : [ |
998 'browser/sync/util/data_encryption.cc', | 948 'browser/sync/util/data_encryption.cc', |
999 'browser/sync/util/data_encryption.h', | 949 'browser/sync/util/data_encryption.h', |
1000 ], | 950 ], |
1001 }], | 951 }], |
1002 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { | 952 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { |
1003 'dependencies': [ | 953 'dependencies': [ |
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1651 }], # targets | 1601 }], # targets |
1652 }], # OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" | 1602 }], # OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" |
1653 ], # 'conditions' | 1603 ], # 'conditions' |
1654 } | 1604 } |
1655 | 1605 |
1656 # Local Variables: | 1606 # Local Variables: |
1657 # tab-width:2 | 1607 # tab-width:2 |
1658 # indent-tabs-mode:nil | 1608 # indent-tabs-mode:nil |
1659 # End: | 1609 # End: |
1660 # vim: set expandtab tabstop=2 shiftwidth=2: | 1610 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |