Index: components/cronet/cronet_static.gypi |
diff --git a/components/cronet/cronet_static.gypi b/components/cronet/cronet_static.gypi |
index 22d2a6f484873a60db1026e31d9c3b85431865ff..1557f8ac892f7955839193104e69ba76198f7b59 100644 |
--- a/components/cronet/cronet_static.gypi |
+++ b/components/cronet/cronet_static.gypi |
@@ -7,6 +7,7 @@ |
'dependencies': [ |
'../base/base.gyp:base', |
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
+ 'cronet_features', |
'cronet_jni_headers', |
'cronet_url_request_java', |
'cronet_version', |
@@ -72,5 +73,15 @@ |
], |
} |
], |
+ # If Bidirectional Stream support is enabled, add the following sources. |
+ # Dependencies are target-specific and are not included here. |
+ ['enable_bidirectional_stream==1', |
+ { |
+ 'sources': [ |
+ 'android/cronet_bidirectional_stream_adapter.cc', |
+ 'android/cronet_bidirectional_stream_adapter.h', |
+ ], |
+ } |
+ ], |
], |
} |