mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-03 15:24:58 +08:00
Strip out okhttp3 dependency from react/common module
Reviewed By: AaaChiuuu Differential Revision: D3698882 fbshipit-source-id: 15a123b42382f11b6f88d7b0c1e12c463bb6a740
This commit is contained in:
committed by
Facebook Github Bot 9
parent
541eaef4be
commit
6e60b1763c
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user