Index: components/cronet/cronet_static.gypi |
diff --git a/components/cronet/cronet_static.gypi b/components/cronet/cronet_static.gypi |
index 22d2a6f484873a60db1026e31d9c3b85431865ff..f8a4580ef63793fc581c18adb89e85c4c44fef2c 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 |
+ # Dependencies are target-specific and are not included here. |
+ ['enable_bidirectional_stream==1', |
+ { |
+ 'sources': [ |
+ 'android/cronet_bidirectional_stream.cc', |
+ 'android/cronet_bidirectional_stream.h', |
+ ], |
+ } |
+ ], |
], |
} |