From d674d48a7b9b71169af59ceb886529371c26a2e5 Mon Sep 17 00:00:00 2001 From: Andres Suarez Date: Wed, 29 Nov 2017 20:28:17 -0800 Subject: [PATCH] Run buildifier over all BUCK files Reviewed By: mzlee, dinhviethoa Differential Revision: D6439498 fbshipit-source-id: ec847595afdd79434e48652d237d2533bbd2cad2 --- ReactAndroid/src/main/jni/first-party/fbgloginit/BUCK | 2 +- ReactAndroid/src/main/jni/first-party/jni-hack/BUCK | 2 +- .../src/main/third-party/java/infer-annotations/BUCK | 6 +++--- .../src/test/java/com/facebook/react/uimanager/BUCK | 5 ++++- ReactCommon/microprofiler/BUCK | 8 ++++---- 5 files changed, 13 insertions(+), 10 deletions(-) diff --git a/ReactAndroid/src/main/jni/first-party/fbgloginit/BUCK b/ReactAndroid/src/main/jni/first-party/fbgloginit/BUCK index 12d01d3d6987f2..783e60f16b9dc5 100644 --- a/ReactAndroid/src/main/jni/first-party/fbgloginit/BUCK +++ b/ReactAndroid/src/main/jni/first-party/fbgloginit/BUCK @@ -7,11 +7,11 @@ cxx_library( srcs = [ "glog_init.cpp", ], + exported_headers = ["fb/glog_init.h"], compiler_flags = [ "-fexceptions", "-fno-omit-frame-pointer", ], - exported_headers = ["fb/glog_init.h"], linker_flags = [ "-llog", ], diff --git a/ReactAndroid/src/main/jni/first-party/jni-hack/BUCK b/ReactAndroid/src/main/jni/first-party/jni-hack/BUCK index bea17d45fe7c98..467d19c9f4bf9b 100644 --- a/ReactAndroid/src/main/jni/first-party/jni-hack/BUCK +++ b/ReactAndroid/src/main/jni/first-party/jni-hack/BUCK @@ -9,11 +9,11 @@ include_defs("//ReactAndroid/DEFS") cxx_library( name = "jni-hack", + header_namespace = "", exported_headers = [ "jni.h", "real/jni.h", ], force_static = True, - header_namespace = "", visibility = ["PUBLIC"], ) diff --git a/ReactAndroid/src/main/third-party/java/infer-annotations/BUCK b/ReactAndroid/src/main/third-party/java/infer-annotations/BUCK index 9b3e37718fdb01..7cd48fda7ac3a2 100644 --- a/ReactAndroid/src/main/third-party/java/infer-annotations/BUCK +++ b/ReactAndroid/src/main/third-party/java/infer-annotations/BUCK @@ -1,7 +1,7 @@ include_defs("//ReactAndroid/DEFS") prebuilt_jar( - name = "infer-annotations", - binary_jar = "infer-annotations-4.0.jar", - visibility = ["//ReactAndroid/..."], + name = "infer-annotations", + binary_jar = "infer-annotations-4.0.jar", + visibility = ["//ReactAndroid/..."], ) diff --git a/ReactAndroid/src/test/java/com/facebook/react/uimanager/BUCK b/ReactAndroid/src/test/java/com/facebook/react/uimanager/BUCK index 2ab16ccf698150..2a53456044ab03 100644 --- a/ReactAndroid/src/test/java/com/facebook/react/uimanager/BUCK +++ b/ReactAndroid/src/test/java/com/facebook/react/uimanager/BUCK @@ -4,7 +4,10 @@ rn_robolectric_test( name = "uimanager", # TODO Disabled temporarily until Yoga linking is fixed t14964130 # srcs = glob(['**/*.java']), - srcs = ["SimpleViewPropertyTest.java", "MatrixMathHelperTest.java"], + srcs = [ + "MatrixMathHelperTest.java", + "SimpleViewPropertyTest.java", + ], # Please change the contact to the oncall of your team contacts = ["oncall+fbandroid_sheriff@xmail.facebook.com"], visibility = [ diff --git a/ReactCommon/microprofiler/BUCK b/ReactCommon/microprofiler/BUCK index a1e9220a91d3f1..8922e082af3087 100644 --- a/ReactCommon/microprofiler/BUCK +++ b/ReactCommon/microprofiler/BUCK @@ -5,17 +5,17 @@ cxx_library( srcs = [ "MicroProfiler.cpp", ], + header_namespace = "microprofiler", + exported_headers = [ + "MicroProfiler.h", + ], compiler_flags = [ "-Wall", "-Werror", "-std=c++11", "-fexceptions", ], - exported_headers = [ - "MicroProfiler.h", - ], force_static = True, - header_namespace = "microprofiler", visibility = [ "PUBLIC", ],