diff --git a/ReactAndroid/libs/BUCK b/ReactAndroid/libs/BUCK index f25db3234..cd34885c8 100644 --- a/ReactAndroid/libs/BUCK +++ b/ReactAndroid/libs/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + android_prebuilt_aar( name = "appcompat", aar = ":appcompat-binary-aar", diff --git a/ReactAndroid/src/androidTest/assets/BUCK b/ReactAndroid/src/androidTest/assets/BUCK index 3faff6ea2..c6d5f6e86 100644 --- a/ReactAndroid/src/androidTest/assets/BUCK +++ b/ReactAndroid/src/androidTest/assets/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + android_resource( name = "assets", assets = ".", diff --git a/ReactAndroid/src/main/java/com/facebook/perftest/BUCK b/ReactAndroid/src/main/java/com/facebook/perftest/BUCK index e18f85294..5b91da250 100644 --- a/ReactAndroid/src/main/java/com/facebook/perftest/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/perftest/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + android_library( name = "perftest", srcs = glob(["*.java"]), diff --git a/ReactAndroid/src/main/java/com/facebook/proguard/annotations/BUCK b/ReactAndroid/src/main/java/com/facebook/proguard/annotations/BUCK index a11f20764..08bad8935 100644 --- a/ReactAndroid/src/main/java/com/facebook/proguard/annotations/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/proguard/annotations/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + android_library( name = "annotations", srcs = glob(["*.java"]), diff --git a/ReactAndroid/src/main/java/com/facebook/quicklog/identifiers/BUCK b/ReactAndroid/src/main/java/com/facebook/quicklog/identifiers/BUCK index c48db9a7e..84d0ec3b1 100644 --- a/ReactAndroid/src/main/java/com/facebook/quicklog/identifiers/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/quicklog/identifiers/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + android_library( name = "identifiers", srcs = glob(["*.java"]), diff --git a/ReactAndroid/src/main/java/com/facebook/systrace/BUCK b/ReactAndroid/src/main/java/com/facebook/systrace/BUCK index 36081eacf..c8edd72d0 100644 --- a/ReactAndroid/src/main/java/com/facebook/systrace/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/systrace/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + android_library( name = "systrace", srcs = glob(["*.java"]), diff --git a/ReactAndroid/src/main/jni/first-party/fb/jni/java/BUCK b/ReactAndroid/src/main/jni/first-party/fb/jni/java/BUCK index cd59e63e4..c1bdbb70e 100644 --- a/ReactAndroid/src/main/jni/first-party/fb/jni/java/BUCK +++ b/ReactAndroid/src/main/jni/first-party/fb/jni/java/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + java_library( name = "java", srcs = glob(["**/*.java"]), diff --git a/ReactAndroid/src/main/jni/first-party/fbgloginit/BUCK b/ReactAndroid/src/main/jni/first-party/fbgloginit/BUCK index 16075fb9e..12d01d3d6 100644 --- a/ReactAndroid/src/main/jni/first-party/fbgloginit/BUCK +++ b/ReactAndroid/src/main/jni/first-party/fbgloginit/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + include_defs("//ReactCommon/DEFS") cxx_library( diff --git a/ReactAndroid/src/main/jni/first-party/jni-hack/BUCK b/ReactAndroid/src/main/jni/first-party/jni-hack/BUCK index 35bf9a306..bea17d45f 100644 --- a/ReactAndroid/src/main/jni/first-party/jni-hack/BUCK +++ b/ReactAndroid/src/main/jni/first-party/jni-hack/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + # Copyright (c) 2014-present, Facebook, Inc. # All rights reserved. # diff --git a/ReactAndroid/src/main/jni/third-party/android-ndk/BUCK b/ReactAndroid/src/main/jni/third-party/android-ndk/BUCK index 294dfed94..54f646815 100644 --- a/ReactAndroid/src/main/jni/third-party/android-ndk/BUCK +++ b/ReactAndroid/src/main/jni/third-party/android-ndk/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + # NOTE(agallagher): The platform should really be responsible for providing # this type of implicit dependency. As it is now, we need to setup a dummy # rules to model the Android NDK's built in libraries. diff --git a/ReactAndroid/src/main/jni/third-party/glibc/BUCK b/ReactAndroid/src/main/jni/third-party/glibc/BUCK index 86a1b490a..c1744771a 100644 --- a/ReactAndroid/src/main/jni/third-party/glibc/BUCK +++ b/ReactAndroid/src/main/jni/third-party/glibc/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + # NOTE(agallagher): The platform really should be responsible for providing # this type of provided dependency. As it is now, we need to setup dummy # rules to model glibc's libraries. diff --git a/ReactAndroid/src/main/libraries/fbcore/src/test/java/com/facebook/powermock/BUCK b/ReactAndroid/src/main/libraries/fbcore/src/test/java/com/facebook/powermock/BUCK index b6b35ebb3..08ca06adc 100644 --- a/ReactAndroid/src/main/libraries/fbcore/src/test/java/com/facebook/powermock/BUCK +++ b/ReactAndroid/src/main/libraries/fbcore/src/test/java/com/facebook/powermock/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + android_library( name = "powermock", exported_deps = [ diff --git a/ReactAndroid/src/main/libraries/fresco/fresco-react-native/BUCK b/ReactAndroid/src/main/libraries/fresco/fresco-react-native/BUCK index 1b42eae63..0f36aa0c3 100644 --- a/ReactAndroid/src/main/libraries/fresco/fresco-react-native/BUCK +++ b/ReactAndroid/src/main/libraries/fresco/fresco-react-native/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + android_prebuilt_aar( name = "fresco-react-native", aar = ":fresco-binary-aar", diff --git a/ReactAndroid/src/main/libraries/soloader/java/com/facebook/soloader/BUCK b/ReactAndroid/src/main/libraries/soloader/java/com/facebook/soloader/BUCK index c91ded296..0f34debe0 100644 --- a/ReactAndroid/src/main/libraries/soloader/java/com/facebook/soloader/BUCK +++ b/ReactAndroid/src/main/libraries/soloader/java/com/facebook/soloader/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + android_prebuilt_aar( name = "soloader", aar = ":soloader-binary-aar", diff --git a/ReactAndroid/src/main/libraries/textlayoutbuilder/BUCK b/ReactAndroid/src/main/libraries/textlayoutbuilder/BUCK index bc728d6f1..094becc99 100644 --- a/ReactAndroid/src/main/libraries/textlayoutbuilder/BUCK +++ b/ReactAndroid/src/main/libraries/textlayoutbuilder/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + android_library( name = "textlayoutbuilder", exported_deps = [ diff --git a/ReactAndroid/src/main/third-party/android/support-annotations/BUCK b/ReactAndroid/src/main/third-party/android/support-annotations/BUCK index bc18a5b27..e79ad6ede 100644 --- a/ReactAndroid/src/main/third-party/android/support-annotations/BUCK +++ b/ReactAndroid/src/main/third-party/android/support-annotations/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + prebuilt_jar( name = "android-support-annotations", binary_jar = ":support-annotations-binary-aar", diff --git a/ReactAndroid/src/main/third-party/android/support/v4/BUCK b/ReactAndroid/src/main/third-party/android/support/v4/BUCK index 92f542214..99f926d20 100644 --- a/ReactAndroid/src/main/third-party/android/support/v4/BUCK +++ b/ReactAndroid/src/main/third-party/android/support/v4/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + android_prebuilt_aar( name = "lib-support-v4", aar = ":lib-support-v4-binary-aar", diff --git a/ReactAndroid/src/main/third-party/java/asm/BUCK b/ReactAndroid/src/main/third-party/java/asm/BUCK index 8265f9d00..c1dc66d37 100644 --- a/ReactAndroid/src/main/third-party/java/asm/BUCK +++ b/ReactAndroid/src/main/third-party/java/asm/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + android_library( name = "asm", exported_deps = [ diff --git a/ReactAndroid/src/main/third-party/java/fest/BUCK b/ReactAndroid/src/main/third-party/java/fest/BUCK index 03dd94db2..97e046d96 100644 --- a/ReactAndroid/src/main/third-party/java/fest/BUCK +++ b/ReactAndroid/src/main/third-party/java/fest/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + android_library( name = "fest", exported_deps = [ diff --git a/ReactAndroid/src/main/third-party/java/infer-annotations/BUCK b/ReactAndroid/src/main/third-party/java/infer-annotations/BUCK index 0164406c0..9b3e37718 100644 --- a/ReactAndroid/src/main/third-party/java/infer-annotations/BUCK +++ b/ReactAndroid/src/main/third-party/java/infer-annotations/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + prebuilt_jar( name = "infer-annotations", binary_jar = "infer-annotations-4.0.jar", diff --git a/ReactAndroid/src/main/third-party/java/javapoet/BUCK b/ReactAndroid/src/main/third-party/java/javapoet/BUCK index 00541500c..c8e0f0c91 100644 --- a/ReactAndroid/src/main/third-party/java/javapoet/BUCK +++ b/ReactAndroid/src/main/third-party/java/javapoet/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + prebuilt_jar( name = "javapoet", binary_jar = ":jsr305-binary-jar", diff --git a/ReactAndroid/src/main/third-party/java/jsr-305/BUCK b/ReactAndroid/src/main/third-party/java/jsr-305/BUCK index f6a5d730f..a5b298dcb 100644 --- a/ReactAndroid/src/main/third-party/java/jsr-305/BUCK +++ b/ReactAndroid/src/main/third-party/java/jsr-305/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + prebuilt_jar( name = "jsr-305", binary_jar = ":jsr305-binary-jar", diff --git a/ReactAndroid/src/main/third-party/java/jsr-330/BUCK b/ReactAndroid/src/main/third-party/java/jsr-330/BUCK index 79a1f76be..0ac598451 100644 --- a/ReactAndroid/src/main/third-party/java/jsr-330/BUCK +++ b/ReactAndroid/src/main/third-party/java/jsr-330/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + prebuilt_jar( name = "jsr-330", binary_jar = ":jsr330-binary-jar", diff --git a/ReactAndroid/src/main/third-party/java/mockito/BUCK b/ReactAndroid/src/main/third-party/java/mockito/BUCK index ddb687cde..acef6890a 100644 --- a/ReactAndroid/src/main/third-party/java/mockito/BUCK +++ b/ReactAndroid/src/main/third-party/java/mockito/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + android_library( name = "mockito", exported_deps = [ diff --git a/ReactAndroid/src/main/third-party/java/okhttp/BUCK b/ReactAndroid/src/main/third-party/java/okhttp/BUCK index b02f14861..4ae5c80cc 100644 --- a/ReactAndroid/src/main/third-party/java/okhttp/BUCK +++ b/ReactAndroid/src/main/third-party/java/okhttp/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + prebuilt_jar( name = "okhttp3", binary_jar = ":okhttp3-binary-jar", diff --git a/ReactAndroid/src/main/third-party/java/okio/BUCK b/ReactAndroid/src/main/third-party/java/okio/BUCK index 45955117a..ca797eead 100644 --- a/ReactAndroid/src/main/third-party/java/okio/BUCK +++ b/ReactAndroid/src/main/third-party/java/okio/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + prebuilt_jar( name = "okio", binary_jar = ":okio-binary-jar", diff --git a/ReactAndroid/src/main/third-party/java/sqlite/BUCK b/ReactAndroid/src/main/third-party/java/sqlite/BUCK index 2faa58148..5045c0015 100644 --- a/ReactAndroid/src/main/third-party/java/sqlite/BUCK +++ b/ReactAndroid/src/main/third-party/java/sqlite/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + android_library( name = "sqlite", exported_deps = [ diff --git a/ReactAndroid/src/main/third-party/java/testing-support-lib/BUCK b/ReactAndroid/src/main/third-party/java/testing-support-lib/BUCK index 9b9ec7008..81d8cde91 100644 --- a/ReactAndroid/src/main/third-party/java/testing-support-lib/BUCK +++ b/ReactAndroid/src/main/third-party/java/testing-support-lib/BUCK @@ -1,3 +1,5 @@ +include_defs("//ReactAndroid/DEFS") + android_prebuilt_aar( name = "runner", aar = ":testing-support-lib-runner-download",