Strip out okhttp3 dependency from react/common module

Reviewed By: AaaChiuuu

Differential Revision: D3698882

fbshipit-source-id: 15a123b42382f11b6f88d7b0c1e12c463bb6a740
This commit is contained in:
Don Yu
2016-08-11 09:47:36 -07:00
committed by Facebook Github Bot 9
parent 541eaef4be
commit 6e60b1763c
5 changed files with 24 additions and 2 deletions

View File

@@ -1,13 +1,16 @@
include_defs('//ReactAndroid/DEFS')
SUB_PROJECTS = [
'network/**/*',
]
android_library(
name = 'common',
srcs = glob(['**/*.java']),
srcs = glob(['**/*.java'], excludes=SUB_PROJECTS),
deps = [
':build_config',
react_native_dep('third-party/java/infer-annotations:infer-annotations'),
react_native_dep('third-party/java/jsr-305:jsr-305'),
react_native_dep('third-party/java/okhttp:okhttp3'),
],
exported_deps = [
react_native_dep('java/com/facebook/proguard/annotations:annotations'),