diff --git a/ReactAndroid/libs/BUCK b/ReactAndroid/libs/BUCK index f25db3234c6..cd34885c877 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 3faff6ea2c3..c6d5f6e8635 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 e18f85294b3..5b91da25045 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 a11f207643a..08bad893520 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 c48db9a7e00..84d0ec3b1a2 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 36081eacf48..c8edd72d053 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 cd59e63e4a3..c1bdbb70ecc 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 16075fb9e0a..12d01d3d698 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 35bf9a30612..bea17d45fe7 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 294dfed941a..54f6468152c 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 86a1b490a0e..c1744771afa 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 b6b35ebb343..08ca06adcb3 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 1b42eae63d3..0f36aa0c3f3 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 c91ded29689..0f34debe08c 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 bc728d6f17f..094becc993f 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 bc18a5b2726..e79ad6edeef 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 92f5422141c..99f926d209d 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 8265f9d0006..c1dc66d37d9 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 03dd94db271..97e046d969f 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 0164406c0e9..9b3e37718fd 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 00541500c3c..c8e0f0c9152 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 f6a5d730f66..a5b298dcb32 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 79a1f76bec9..0ac5984515d 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 ddb687cde2f..acef6890a9c 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 b02f1486168..4ae5c80cc65 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 45955117a03..ca797eeadab 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 2faa5814899..5045c0015cf 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 9b9ec7008d9..81d8cde9115 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",