OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'conditions': [ | 6 'conditions': [ |
7 ['OS=="android"', { | 7 ['OS=="android"', { |
8 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 'target_name': 'cronet_jni_headers', | 10 'target_name': 'cronet_jni_headers', |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
167 'cronet/version.h.in', | 167 'cronet/version.h.in', |
168 '<@(_outputs)', | 168 '<@(_outputs)', |
169 ], | 169 ], |
170 'includes': [ | 170 'includes': [ |
171 '../build/util/version.gypi', | 171 '../build/util/version.gypi', |
172 ], | 172 ], |
173 }, | 173 }, |
174 ], | 174 ], |
175 }, | 175 }, |
176 { | 176 { |
177 # Protobuf compiler / generator for certificate verifcation protocol | |
178 # buffer. | |
179 # GN version: //cronet:cronet_cert_proto | |
180 'target_name': 'cronet_cert_proto', | |
181 'type': 'static_library', | |
182 'sources': [ | |
183 'cronet/cert/proto/cert_verification.proto', | |
184 ], | |
185 'variables': { | |
186 'enable_wexit_time_destructors': 1, | |
187 'proto_in_dir': 'cronet/cert/proto', | |
188 'proto_out_dir': 'cronet/cert/proto', | |
189 }, | |
190 'includes': [ | |
191 '../build/protoc.gypi', | |
192 ], | |
193 }, | |
194 { | |
177 'target_name': 'cronet_static', | 195 'target_name': 'cronet_static', |
178 'type': 'static_library', | 196 'type': 'static_library', |
179 'dependencies': [ | 197 'dependencies': [ |
180 '../net/net.gyp:net', | 198 '../net/net.gyp:net', |
181 '../url/url.gyp:url_lib', | 199 '../url/url.gyp:url_lib', |
182 ], | 200 ], |
183 'conditions': [ | 201 'conditions': [ |
184 ['enable_data_reduction_proxy_support==1', | 202 ['enable_data_reduction_proxy_support==1', |
185 { | 203 { |
186 'dependencies': [ | 204 'dependencies': [ |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
518 'cronet/android/test/javaperftests/proguard.cfg', | 536 'cronet/android/test/javaperftests/proguard.cfg', |
519 ], | 537 ], |
520 'run_findbugs': 1, | 538 'run_findbugs': 1, |
521 }, | 539 }, |
522 'includes': [ '../build/java_apk.gypi' ], | 540 'includes': [ '../build/java_apk.gypi' ], |
523 }, | 541 }, |
524 { | 542 { |
525 'target_name': 'cronet_unittests', | 543 'target_name': 'cronet_unittests', |
526 'type': '<(gtest_target_type)', | 544 'type': '<(gtest_target_type)', |
527 'dependencies': [ | 545 'dependencies': [ |
546 'cronet_cert_proto', | |
528 'cronet_static', | 547 'cronet_static', |
529 'metrics', | 548 'metrics', |
530 '../base/base.gyp:base', | 549 '../base/base.gyp:base', |
531 '../base/base.gyp:test_support_base', | 550 '../base/base.gyp:test_support_base', |
551 '../net/net.gyp:net_test_support', | |
532 '../testing/gtest.gyp:gtest', | 552 '../testing/gtest.gyp:gtest', |
533 '../testing/android/native_test.gyp:native_test_native_code', | 553 '../testing/android/native_test.gyp:native_test_native_code', |
534 ], | 554 ], |
535 'sources': [ | 555 'sources': [ |
556 'cronet/cert/cert_verifier_cache_persister_unittest.cc', | |
536 'cronet/run_all_unittests.cc', | 557 'cronet/run_all_unittests.cc', |
537 'cronet/url_request_context_config_unittest.cc', | 558 'cronet/url_request_context_config_unittest.cc', |
538 'cronet/histogram_manager_unittest.cc', | 559 'cronet/histogram_manager_unittest.cc', |
539 ], | 560 ], |
540 }, | 561 }, |
541 { | 562 { |
542 'target_name': 'cronet_unittests_apk', | 563 'target_name': 'cronet_unittests_apk', |
543 'type': 'none', | 564 'type': 'none', |
544 'dependencies': [ | 565 'dependencies': [ |
545 'cronet_unittests', | 566 'cronet_unittests', |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
743 'cronet/version.h.in', | 764 'cronet/version.h.in', |
744 '<@(_outputs)', | 765 '<@(_outputs)', |
745 ], | 766 ], |
746 'includes': [ | 767 'includes': [ |
747 '../build/util/version.gypi', | 768 '../build/util/version.gypi', |
748 ], | 769 ], |
749 }, | 770 }, |
750 ], | 771 ], |
751 }, | 772 }, |
752 { | 773 { |
774 # Protobuf compiler / generator for certificate verifcation protocol | |
ramant (doing other things)
2016/06/14 22:38:18
Hi Misha,
This persistence code is not needed by
| |
775 # buffer. | |
776 # GN version: //cronet:cronet_cert_proto | |
777 'target_name': 'cronet_cert_proto', | |
778 'type': 'static_library', | |
779 'sources': [ | |
780 'cronet/cert/proto/cert_verification.proto', | |
781 ], | |
782 'variables': { | |
783 'enable_wexit_time_destructors': 1, | |
784 'proto_in_dir': 'cronet/cert/proto', | |
785 'proto_out_dir': 'cronet/cert/proto', | |
786 }, | |
787 'includes': [ | |
788 '../build/protoc.gypi', | |
789 ], | |
790 }, | |
791 { | |
753 'target_name': 'cronet_static', | 792 'target_name': 'cronet_static', |
754 'type': 'static_library', | 793 'type': 'static_library', |
755 'sources': [ | 794 'sources': [ |
795 'cronet/cert/cert_verifier_cache_persister.cc', | |
796 'cronet/cert/cert_verifier_cache_persister.h', | |
756 'cronet/ios/Cronet.h', | 797 'cronet/ios/Cronet.h', |
757 'cronet/ios/Cronet.mm', | 798 'cronet/ios/Cronet.mm', |
758 'cronet/ios/cronet_bidirectional_stream.h', | 799 'cronet/ios/cronet_bidirectional_stream.h', |
759 'cronet/ios/cronet_bidirectional_stream.cc', | 800 'cronet/ios/cronet_bidirectional_stream.cc', |
760 'cronet/ios/cronet_c_for_grpc.h', | 801 'cronet/ios/cronet_c_for_grpc.h', |
761 'cronet/ios/cronet_c_for_grpc.cc', | 802 'cronet/ios/cronet_c_for_grpc.cc', |
762 'cronet/ios/cronet_environment.cc', | 803 'cronet/ios/cronet_environment.cc', |
763 'cronet/ios/cronet_environment.h', | 804 'cronet/ios/cronet_environment.h', |
764 'cronet/url_request_context_config.cc', | 805 'cronet/url_request_context_config.cc', |
765 'cronet/url_request_context_config.h', | 806 'cronet/url_request_context_config.h', |
766 ], | 807 ], |
767 'dependencies': [ | 808 'dependencies': [ |
809 'cronet_cert_proto', | |
768 'cronet_version_header', | 810 'cronet_version_header', |
769 '../base/base.gyp:base', | 811 '../base/base.gyp:base', |
770 '../net/net.gyp:net', | 812 '../net/net.gyp:net', |
813 '../net/net.gyp:net_test_support', | |
771 ], | 814 ], |
772 'cflags': [ | 815 'cflags': [ |
773 '-fdata-sections', | 816 '-fdata-sections', |
774 '-ffunction-sections', | 817 '-ffunction-sections', |
775 '-fno-rtti', | 818 '-fno-rtti', |
776 '-fvisibility=hidden' | 819 '-fvisibility=hidden' |
777 '-fvisibility-inlines-hidden', | 820 '-fvisibility-inlines-hidden', |
778 '-Wno-sign-promo', | 821 '-Wno-sign-promo', |
779 '-Wno-missing-field-initializers', | 822 '-Wno-missing-field-initializers', |
780 ], | 823 ], |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
932 'cronet/ios/test/cronet_bidirectional_stream_test.mm', | 975 'cronet/ios/test/cronet_bidirectional_stream_test.mm', |
933 'cronet/ios/test/cronet_test_runner.mm', | 976 'cronet/ios/test/cronet_test_runner.mm', |
934 ], | 977 ], |
935 }, | 978 }, |
936 ], | 979 ], |
937 }, | 980 }, |
938 ], | 981 ], |
939 }], # OS=="ios" | 982 }], # OS=="ios" |
940 ], | 983 ], |
941 } | 984 } |
OLD | NEW |