Index: components/cronet/cronet_static.gypi |
diff --git a/components/cronet/cronet_static.gypi b/components/cronet/cronet_static.gypi |
index 22d2a6f484873a60db1026e31d9c3b85431865ff..c7ebdd6fd4f1b3ae9b40af9ed35a7e8a9afd2754 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 |
pauljensen
2016/01/12 16:55:42
following->following sources.
mef
2016/01/14 21:07:55
Done.
|
+ # 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', |
+ ], |
+ } |
+ ], |
], |
} |