mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-30 22:12:42 +08:00
Apply auto-formatter for BUCK files in fbandroid.
fbshipit-source-id: 278ce6f67f5df830b2218e3aca69be103d3c56a6
This commit is contained in:
committed by
Facebook Github Bot
parent
ce3146d618
commit
48cb932c6e
@@ -1,34 +1,36 @@
|
||||
include_defs('//ReactAndroid/DEFS')
|
||||
include_defs("//ReactAndroid/DEFS")
|
||||
|
||||
SUB_PROJECTS = [
|
||||
'network/**/*',
|
||||
"network/**/*",
|
||||
]
|
||||
|
||||
android_library(
|
||||
name = 'common',
|
||||
srcs = glob(['**/*.java'], excludes=SUB_PROJECTS),
|
||||
exported_deps = [
|
||||
react_native_dep('java/com/facebook/proguard/annotations:annotations'),
|
||||
],
|
||||
deps = [
|
||||
':build_config',
|
||||
react_native_dep('third-party/android/support/v4:lib-support-v4'),
|
||||
react_native_dep('third-party/java/infer-annotations:infer-annotations'),
|
||||
react_native_dep('third-party/java/jsr-305:jsr-305'),
|
||||
],
|
||||
visibility = [
|
||||
'PUBLIC',
|
||||
],
|
||||
name = "common",
|
||||
srcs = glob(
|
||||
["**/*.java"],
|
||||
excludes = SUB_PROJECTS,
|
||||
),
|
||||
exported_deps = [
|
||||
react_native_dep("java/com/facebook/proguard/annotations:annotations"),
|
||||
],
|
||||
visibility = [
|
||||
"PUBLIC",
|
||||
],
|
||||
deps = [
|
||||
":build_config",
|
||||
react_native_dep("third-party/android/support/v4:lib-support-v4"),
|
||||
react_native_dep("third-party/java/infer-annotations:infer-annotations"),
|
||||
react_native_dep("third-party/java/jsr-305:jsr-305"),
|
||||
],
|
||||
)
|
||||
|
||||
android_build_config(
|
||||
name = 'build_config',
|
||||
package = 'com.facebook.react',
|
||||
values = [
|
||||
'boolean IS_INTERNAL_BUILD = true',
|
||||
],
|
||||
visibility = [
|
||||
'PUBLIC',
|
||||
],
|
||||
name = "build_config",
|
||||
package = "com.facebook.react",
|
||||
values = [
|
||||
"boolean IS_INTERNAL_BUILD = true",
|
||||
],
|
||||
visibility = [
|
||||
"PUBLIC",
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user