Chromium Code Reviews| Index: components/cronet.gypi |
| diff --git a/components/cronet.gypi b/components/cronet.gypi |
| index 9631e31b401e4ee5d1500f582950aab022b629d6..4d658e31d3b57f421953a0d077efae3ccdc50b79 100644 |
| --- a/components/cronet.gypi |
| +++ b/components/cronet.gypi |
| @@ -174,6 +174,24 @@ |
| ], |
| }, |
| { |
| + # Protobuf compiler / generator for certificate verifcation protocol |
| + # buffer. |
| + # GN version: //cronet:cronet_cert_proto |
| + 'target_name': 'cronet_cert_proto', |
| + 'type': 'static_library', |
| + 'sources': [ |
| + 'cronet/cert/proto/cert_verification.proto', |
| + ], |
| + 'variables': { |
| + 'enable_wexit_time_destructors': 1, |
| + 'proto_in_dir': 'cronet/cert/proto', |
| + 'proto_out_dir': 'cronet/cert/proto', |
| + }, |
| + 'includes': [ |
| + '../build/protoc.gypi', |
| + ], |
| + }, |
| + { |
| 'target_name': 'cronet_static', |
| 'type': 'static_library', |
| 'dependencies': [ |
| @@ -525,14 +543,17 @@ |
| 'target_name': 'cronet_unittests', |
| 'type': '<(gtest_target_type)', |
| 'dependencies': [ |
| + 'cronet_cert_proto', |
| 'cronet_static', |
| 'metrics', |
| '../base/base.gyp:base', |
| '../base/base.gyp:test_support_base', |
| + '../net/net.gyp:net_test_support', |
| '../testing/gtest.gyp:gtest', |
| '../testing/android/native_test.gyp:native_test_native_code', |
| ], |
| 'sources': [ |
| + 'cronet/cert/cert_verifier_cache_persister_unittest.cc', |
| 'cronet/run_all_unittests.cc', |
| 'cronet/url_request_context_config_unittest.cc', |
| 'cronet/histogram_manager_unittest.cc', |
| @@ -750,9 +771,29 @@ |
| ], |
| }, |
| { |
| + # 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
|
| + # buffer. |
| + # GN version: //cronet:cronet_cert_proto |
| + 'target_name': 'cronet_cert_proto', |
| + 'type': 'static_library', |
| + 'sources': [ |
| + 'cronet/cert/proto/cert_verification.proto', |
| + ], |
| + 'variables': { |
| + 'enable_wexit_time_destructors': 1, |
| + 'proto_in_dir': 'cronet/cert/proto', |
| + 'proto_out_dir': 'cronet/cert/proto', |
| + }, |
| + 'includes': [ |
| + '../build/protoc.gypi', |
| + ], |
| + }, |
| + { |
| 'target_name': 'cronet_static', |
| 'type': 'static_library', |
| 'sources': [ |
| + 'cronet/cert/cert_verifier_cache_persister.cc', |
| + 'cronet/cert/cert_verifier_cache_persister.h', |
| 'cronet/ios/Cronet.h', |
| 'cronet/ios/Cronet.mm', |
| 'cronet/ios/cronet_bidirectional_stream.h', |
| @@ -765,9 +806,11 @@ |
| 'cronet/url_request_context_config.h', |
| ], |
| 'dependencies': [ |
| + 'cronet_cert_proto', |
| 'cronet_version_header', |
| '../base/base.gyp:base', |
| '../net/net.gyp:net', |
| + '../net/net.gyp:net_test_support', |
| ], |
| 'cflags': [ |
| '-fdata-sections', |