From 47d8d9d22b715f72044c2a0ba2362e5108111688 Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Fri, 24 Feb 2017 21:40:45 -0800 Subject: [PATCH] Apply auto-formatter for BUCK files in fbandroid. Summary: For more background, see: https://fb.facebook.com/groups/303159406399348/permalink/1334977403217538/ https://fburl.com/auto-format-build-files D4527873 fbshipit-source-id: 278ce6f67f5df830b2218e3aca69be103d3c56a6 --- BUCK | 54 ++++++------ YogaKit/BUCK | 84 +++++++++--------- android/BUCK | 40 ++++----- android/sample/BUCK | 42 ++++----- .../java/com/facebook/samples/yoga/BUCK | 26 +++--- .../main/java/com/facebook/yoga/android/BUCK | 26 +++--- benchmark/BUCK | 34 +++---- csharp/BUCK | 36 ++++---- java/BUCK | 88 +++++++++---------- java/com/facebook/proguard/annotations/BUCK | 14 +-- lib/android-support/BUCK | 8 +- lib/appcompat/BUCK | 8 +- lib/fb/BUCK | 61 +++++++------ lib/gtest/BUCK | 28 +++--- lib/infer-annotations/BUCK | 16 ++-- lib/jni/BUCK | 16 ++-- lib/jsr-305/BUCK | 16 ++-- lib/junit/BUCK | 16 ++-- lib/soloader/BUCK | 8 +- 19 files changed, 314 insertions(+), 307 deletions(-) diff --git a/BUCK b/BUCK index aa7ec37e..c31d7940 100644 --- a/BUCK +++ b/BUCK @@ -5,38 +5,42 @@ # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. -include_defs('//YOGA_DEFS') +include_defs("//YOGA_DEFS") GMOCK_OVERRIDE_FLAGS = [ - # gmock does not mark mocked methods as override, ignore the warnings in tests - '-Wno-inconsistent-missing-override', + # gmock does not mark mocked methods as override, ignore the warnings in tests + "-Wno-inconsistent-missing-override", ] -COMPILER_FLAGS = BASE_COMPILER_FLAGS + ['-std=c11', '-fPIC'] -TEST_COMPILER_FLAGS = BASE_COMPILER_FLAGS + GMOCK_OVERRIDE_FLAGS + ['-std=c++11'] +COMPILER_FLAGS = BASE_COMPILER_FLAGS + [ + "-std=c11", + "-fPIC", +] + +TEST_COMPILER_FLAGS = BASE_COMPILER_FLAGS + GMOCK_OVERRIDE_FLAGS + ["-std=c++11"] cxx_library( - name = 'yoga', - soname = 'libyogacore.$(ext)', - srcs = glob(['yoga/*.c']), - tests=[':YogaTests'], - exported_headers = subdir_glob([('', 'yoga/*.h')]), - header_namespace = '', - compiler_flags = COMPILER_FLAGS, - deps = [] if THIS_IS_FBOBJC else [ - yoga_dep('lib/fb:ndklog'), - ], - visibility = ['PUBLIC'], + name = "yoga", + srcs = glob(["yoga/*.c"]), + compiler_flags = COMPILER_FLAGS, + exported_headers = subdir_glob([("", "yoga/*.h")]), + header_namespace = "", + soname = "libyogacore.$(ext)", + tests = [":YogaTests"], + visibility = ["PUBLIC"], + deps = [] if THIS_IS_FBOBJC else [ + yoga_dep("lib/fb:ndklog"), + ], ) cxx_test( - name = 'YogaTests', - contacts = ['emilsj@fb.com'], - srcs = glob(['tests/*.cpp']), - compiler_flags = TEST_COMPILER_FLAGS, - deps = [ - ':yoga', - GTEST_TARGET, - ], - visibility = ['PUBLIC'], + name = "YogaTests", + srcs = glob(["tests/*.cpp"]), + compiler_flags = TEST_COMPILER_FLAGS, + contacts = ["emilsj@fb.com"], + visibility = ["PUBLIC"], + deps = [ + ":yoga", + GTEST_TARGET, + ], ) diff --git a/YogaKit/BUCK b/YogaKit/BUCK index 67219020..65a6a659 100644 --- a/YogaKit/BUCK +++ b/YogaKit/BUCK @@ -5,54 +5,54 @@ # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. -include_defs('//YOGA_DEFS') +include_defs("//YOGA_DEFS") COMPILER_FLAGS = [ - '-fobjc-arc', - '-Wconditional-uninitialized', - '-Wdangling-else', - '-Wdeprecated-declarations', - '-Wimplicit-retain-self', - '-Wincomplete-implementation', - '-Wobjc-method-access', - '-Wobjc-missing-super-calls', - '-Wmismatched-return-types', - '-Wreturn-type', - '-Wno-global-constructors', - '-Wno-shadow', - '-Wunused-const-variable', - '-Wunused-function', - '-Wunused-property-ivar', - '-Wunused-result', - '-Wunused-value', + "-fobjc-arc", + "-Wconditional-uninitialized", + "-Wdangling-else", + "-Wdeprecated-declarations", + "-Wimplicit-retain-self", + "-Wincomplete-implementation", + "-Wobjc-method-access", + "-Wobjc-missing-super-calls", + "-Wmismatched-return-types", + "-Wreturn-type", + "-Wno-global-constructors", + "-Wno-shadow", + "-Wunused-const-variable", + "-Wunused-function", + "-Wunused-property-ivar", + "-Wunused-result", + "-Wunused-value", ] apple_library( - name = 'YogaKit', - compiler_flags = COMPILER_FLAGS, - srcs = glob(['Source/**/*.m']), - exported_headers = glob(['Source/**/*.h']), - frameworks = [ - '$SDKROOT/System/Library/Frameworks/Foundation.framework', - '$SDKROOT/System/Library/Frameworks/UIKit.framework', - ], - deps = [ - yoga_dep(':yoga'), - ], - visibility = ['PUBLIC'], + name = "YogaKit", + srcs = glob(["Source/**/*.m"]), + compiler_flags = COMPILER_FLAGS, + exported_headers = glob(["Source/**/*.h"]), + frameworks = [ + "$SDKROOT/System/Library/Frameworks/Foundation.framework", + "$SDKROOT/System/Library/Frameworks/UIKit.framework", + ], + visibility = ["PUBLIC"], + deps = [ + yoga_dep(":yoga"), + ], ) apple_test( - name = 'YogaKitTests', - compiler_flags = COMPILER_FLAGS, - info_plist = 'Tests/Info.plist', - srcs = glob(['Tests/**/*.m']), - frameworks = [ - '$SDKROOT/System/Library/Frameworks/CoreGraphics.framework', - '$PLATFORM_DIR/Developer/Library/Frameworks/XCTest.framework', - ], - deps = [ - ':YogaKit', - ], - visibility = ['PUBLIC'], + name = "YogaKitTests", + srcs = glob(["Tests/**/*.m"]), + compiler_flags = COMPILER_FLAGS, + frameworks = [ + "$SDKROOT/System/Library/Frameworks/CoreGraphics.framework", + "$PLATFORM_DIR/Developer/Library/Frameworks/XCTest.framework", + ], + info_plist = "Tests/Info.plist", + visibility = ["PUBLIC"], + deps = [ + ":YogaKit", + ], ) diff --git a/android/BUCK b/android/BUCK index a1516b50..d7dc78c9 100644 --- a/android/BUCK +++ b/android/BUCK @@ -5,32 +5,32 @@ # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. -include_defs('//YOGA_DEFS') +include_defs("//YOGA_DEFS") android_aar( - name = 'android', - manifest_skeleton = 'src/main/AndroidManifest.xml', - deps = [ - ANDROID_JAVA_TARGET, - ANDROID_RES_TARGET, - INFER_ANNOTATIONS_TARGET, - JAVA_TARGET, - PROGRUARD_ANNOTATIONS_TARGET, - ], - visibility = [ - 'PUBLIC', - ], + name = "android", + manifest_skeleton = "src/main/AndroidManifest.xml", + visibility = [ + "PUBLIC", + ], + deps = [ + ANDROID_JAVA_TARGET, + ANDROID_RES_TARGET, + INFER_ANNOTATIONS_TARGET, + JAVA_TARGET, + PROGRUARD_ANNOTATIONS_TARGET, + ], ) android_resource( - name = 'res', - res = 'src/main/res', - package = 'com.facebook.yoga.android', - visibility = [ - 'PUBLIC', - ], + name = "res", + package = "com.facebook.yoga.android", + res = "src/main/res", + visibility = [ + "PUBLIC", + ], ) project_config( - src_target = ':android', + src_target = ":android", ) diff --git a/android/sample/BUCK b/android/sample/BUCK index cd8b65cb..ffaa19b0 100644 --- a/android/sample/BUCK +++ b/android/sample/BUCK @@ -4,36 +4,36 @@ # This source code is licensed under the license found in the # LICENSE-examples file in the root directory of this source tree. -include_defs('//YOGA_DEFS') +include_defs("//YOGA_DEFS") android_binary( - name = 'sample', - manifest = 'AndroidManifest.xml', - keystore = ':debug_keystore', - deps = [ - ANDROID_SAMPLE_JAVA_TARGET, - ANDROID_SAMPLE_RES_TARGET, - ], + name = "sample", + keystore = ":debug_keystore", + manifest = "AndroidManifest.xml", + deps = [ + ANDROID_SAMPLE_JAVA_TARGET, + ANDROID_SAMPLE_RES_TARGET, + ], ) android_resource( - name = 'res', - res = 'res', - package = 'com.facebook.samples.yoga', - deps = [ - ANDROID_RES_TARGET, - ], - visibility = [ - 'PUBLIC', - ], + name = "res", + package = "com.facebook.samples.yoga", + res = "res", + visibility = [ + "PUBLIC", + ], + deps = [ + ANDROID_RES_TARGET, + ], ) keystore( - name='debug_keystore', - store='debug.keystore', - properties='debug.keystore.properties', + name = "debug_keystore", + properties = "debug.keystore.properties", + store = "debug.keystore", ) project_config( - src_target = ':sample', + src_target = ":sample", ) diff --git a/android/sample/java/com/facebook/samples/yoga/BUCK b/android/sample/java/com/facebook/samples/yoga/BUCK index a3f7c717..ddb07ad8 100644 --- a/android/sample/java/com/facebook/samples/yoga/BUCK +++ b/android/sample/java/com/facebook/samples/yoga/BUCK @@ -5,19 +5,19 @@ # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. -include_defs('//YOGA_DEFS') +include_defs("//YOGA_DEFS") android_library( - name = 'yoga', - srcs = glob(['**/*.java']), - deps = [ - ANDROID_JAVA_TARGET, - ANDROID_SAMPLE_RES_TARGET, - ANDROID_SUPPORT_TARGET, - APPCOMPAT_TARGET, - SOLOADER_TARGET, - ], - visibility = [ - 'PUBLIC', - ] + name = "yoga", + srcs = glob(["**/*.java"]), + visibility = [ + "PUBLIC", + ], + deps = [ + ANDROID_JAVA_TARGET, + ANDROID_SAMPLE_RES_TARGET, + ANDROID_SUPPORT_TARGET, + APPCOMPAT_TARGET, + SOLOADER_TARGET, + ], ) diff --git a/android/src/main/java/com/facebook/yoga/android/BUCK b/android/src/main/java/com/facebook/yoga/android/BUCK index 07cdd110..0ac32fad 100644 --- a/android/src/main/java/com/facebook/yoga/android/BUCK +++ b/android/src/main/java/com/facebook/yoga/android/BUCK @@ -5,19 +5,19 @@ # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. -include_defs('//YOGA_DEFS') +include_defs("//YOGA_DEFS") android_library( - name = 'android', - srcs = glob(['**/*.java']), - deps = [ - ANDROID_RES_TARGET, - INFER_ANNOTATIONS_TARGET, - JAVA_TARGET, - JSR_305_TARGET, - SOLOADER_TARGET, - ], - visibility = [ - 'PUBLIC', - ] + name = "android", + srcs = glob(["**/*.java"]), + visibility = [ + "PUBLIC", + ], + deps = [ + ANDROID_RES_TARGET, + INFER_ANNOTATIONS_TARGET, + JAVA_TARGET, + JSR_305_TARGET, + SOLOADER_TARGET, + ], ) diff --git a/benchmark/BUCK b/benchmark/BUCK index 1dd388cc..0b9ae77f 100644 --- a/benchmark/BUCK +++ b/benchmark/BUCK @@ -5,23 +5,23 @@ # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. -include_defs('//YOGA_DEFS') +include_defs("//YOGA_DEFS") cxx_binary( - name = 'benchmark', - srcs = glob(['*.c']), - headers = subdir_glob([('', '*.h')]), - header_namespace = '', - compiler_flags = [ - '-fno-omit-frame-pointer', - '-fexceptions', - '-Wall', - '-Werror', - '-O3', - '-std=c11', - ], - deps = [ - yoga_dep(':yoga'), - ], - visibility = ['PUBLIC'], + name = "benchmark", + srcs = glob(["*.c"]), + compiler_flags = [ + "-fno-omit-frame-pointer", + "-fexceptions", + "-Wall", + "-Werror", + "-O3", + "-std=c11", + ], + header_namespace = "", + headers = subdir_glob([("", "*.h")]), + visibility = ["PUBLIC"], + deps = [ + yoga_dep(":yoga"), + ], ) diff --git a/csharp/BUCK b/csharp/BUCK index 37140659..8e8c5121 100644 --- a/csharp/BUCK +++ b/csharp/BUCK @@ -5,33 +5,33 @@ # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. -include_defs('//YOGA_DEFS') +include_defs("//YOGA_DEFS") -COMPILER_FLAGS = BASE_COMPILER_FLAGS + ['-std=c++11'] +COMPILER_FLAGS = BASE_COMPILER_FLAGS + ["-std=c++11"] csharp_library( - name = 'yogalibnet46', - dll_name = 'Facebook.Yoga.dll', - framework_ver = 'net46', - srcs = glob(['**/*.cs']), + name = "yogalibnet46", + srcs = glob(["**/*.cs"]), + dll_name = "Facebook.Yoga.dll", + framework_ver = "net46", ) csharp_library( - name = 'yogalibnet45', - dll_name = 'Facebook.Yoga.dll', - framework_ver = 'net45', - srcs = glob(['**/*.cs']), + name = "yogalibnet45", + srcs = glob(["**/*.cs"]), + dll_name = "Facebook.Yoga.dll", + framework_ver = "net45", ) cxx_library( - name = 'yoganet', - soname = 'libyoga.$(ext)', - srcs = glob(['Yoga/YGInterop.cpp']), - compiler_flags = COMPILER_FLAGS, - link_style = 'static', - link_whole = True, - deps = [yoga_dep(':yoga')], - visibility = ['PUBLIC'], + name = "yoganet", + srcs = glob(["Yoga/YGInterop.cpp"]), + compiler_flags = COMPILER_FLAGS, + link_style = "static", + link_whole = True, + soname = "libyoga.$(ext)", + visibility = ["PUBLIC"], + deps = [yoga_dep(":yoga")], ) if isdir('/Applications/Xcode.app'): diff --git a/java/BUCK b/java/BUCK index 70775d15..83d58240 100644 --- a/java/BUCK +++ b/java/BUCK @@ -5,56 +5,56 @@ # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. -include_defs('//YOGA_DEFS') +include_defs("//YOGA_DEFS") cxx_library( - name = 'jni', - soname = 'libyoga.$(ext)', - srcs = glob(['jni/*.cpp']), - header_namespace = '', - compiler_flags = [ - '-fno-omit-frame-pointer', - '-fexceptions', - '-fPIC', - '-Wall', - '-Werror', - '-O3', - '-std=c++11', - ], - deps = [ - FBJNI_TARGET, - JNI_TARGET, - yoga_dep(':yoga'), - ], - visibility = ['PUBLIC'], + name = "jni", + srcs = glob(["jni/*.cpp"]), + compiler_flags = [ + "-fno-omit-frame-pointer", + "-fexceptions", + "-fPIC", + "-Wall", + "-Werror", + "-O3", + "-std=c++11", + ], + header_namespace = "", + soname = "libyoga.$(ext)", + visibility = ["PUBLIC"], + deps = [ + FBJNI_TARGET, + JNI_TARGET, + yoga_dep(":yoga"), + ], ) java_library( - name = 'java', - srcs = glob(['com/facebook/yoga/*.java']), - tests=[ - yoga_dep('java:tests'), - ], - source = '1.7', - target = '1.7', - deps = [ - ':jni', - INFER_ANNOTATIONS_TARGET, - JSR_305_TARGET, - PROGRUARD_ANNOTATIONS_TARGET, - SOLOADER_TARGET, - ], - visibility = ['PUBLIC'], + name = "java", + srcs = glob(["com/facebook/yoga/*.java"]), + source = "1.7", + target = "1.7", + tests = [ + yoga_dep("java:tests"), + ], + visibility = ["PUBLIC"], + deps = [ + ":jni", + INFER_ANNOTATIONS_TARGET, + JSR_305_TARGET, + PROGRUARD_ANNOTATIONS_TARGET, + SOLOADER_TARGET, + ], ) java_test( - name = 'tests', - srcs = glob(['tests/**/*.java']), - use_cxx_libraries = True, - cxx_library_whitelist = CXX_LIBRARY_WHITELIST, - deps = [ - ':java', - JUNIT_TARGET, - ], - visibility = ['PUBLIC'], + name = "tests", + srcs = glob(["tests/**/*.java"]), + cxx_library_whitelist = CXX_LIBRARY_WHITELIST, + use_cxx_libraries = True, + visibility = ["PUBLIC"], + deps = [ + ":java", + JUNIT_TARGET, + ], ) diff --git a/java/com/facebook/proguard/annotations/BUCK b/java/com/facebook/proguard/annotations/BUCK index 2af11a81..05f47635 100644 --- a/java/com/facebook/proguard/annotations/BUCK +++ b/java/com/facebook/proguard/annotations/BUCK @@ -5,13 +5,13 @@ # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. -include_defs('//YOGA_DEFS') +include_defs("//YOGA_DEFS") java_library( - name = 'annotations', - srcs = glob(['*.java']), - source = '1.7', - target = '1.7', - deps = [], - visibility = [YOGA_ROOT], + name = "annotations", + srcs = glob(["*.java"]), + source = "1.7", + target = "1.7", + visibility = [YOGA_ROOT], + deps = [], ) diff --git a/lib/android-support/BUCK b/lib/android-support/BUCK index 64a3434f..3dc16289 100644 --- a/lib/android-support/BUCK +++ b/lib/android-support/BUCK @@ -5,10 +5,10 @@ # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. -include_defs('//YOGA_DEFS') +include_defs("//YOGA_DEFS") prebuilt_jar( - name = 'android-support', - binary_jar = 'android-support-v4.jar', - visibility = [YOGA_ROOT], + name = "android-support", + binary_jar = "android-support-v4.jar", + visibility = [YOGA_ROOT], ) diff --git a/lib/appcompat/BUCK b/lib/appcompat/BUCK index 45df9d74..f0bfdb99 100644 --- a/lib/appcompat/BUCK +++ b/lib/appcompat/BUCK @@ -5,10 +5,10 @@ # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. -include_defs('//YOGA_DEFS') +include_defs("//YOGA_DEFS") android_prebuilt_aar( - name = 'appcompat', - aar = 'appcompat-v7-19.1.0.aar', - visibility = [YOGA_ROOT], + name = "appcompat", + aar = "appcompat-v7-19.1.0.aar", + visibility = [YOGA_ROOT], ) diff --git a/lib/fb/BUCK b/lib/fb/BUCK index 7300608d..03828420 100644 --- a/lib/fb/BUCK +++ b/lib/fb/BUCK @@ -5,38 +5,41 @@ # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. -include_defs('//YOGA_DEFS') +include_defs("//YOGA_DEFS") prebuilt_cxx_library( - name = 'ndklog', - header_only = True, - exported_platform_linker_flags = [ - ('^android.*', ['-llog']), - ], - visibility = [YOGA_ROOT], + name = "ndklog", + exported_platform_linker_flags = [ + ( + "^android.*", + ["-llog"], + ), + ], + header_only = True, + visibility = [YOGA_ROOT], ) cxx_library( - name = 'fbjni', - srcs = glob(['**/*.cpp']), - exported_headers = subdir_glob([('include', '**/*.h')]), - header_namespace = '', - compiler_flags = [ - '-DLOG_TAG=\"libfb\"', - '-DDISABLE_CPUCAP', - '-DDISABLE_XPLAT', - '-DHAVE_POSIX_CLOCKS', - '-fno-omit-frame-pointer', - '-fexceptions', - '-frtti', - '-Wall', - '-Werror', - '-Wno-unused-parameter', - '-std=c++11', - ], - deps = [ - ':ndklog', - JNI_TARGET, - ], - visibility = ['PUBLIC'], + name = "fbjni", + srcs = glob(["**/*.cpp"]), + compiler_flags = [ + "-DLOG_TAG=\"libfb\"", + "-DDISABLE_CPUCAP", + "-DDISABLE_XPLAT", + "-DHAVE_POSIX_CLOCKS", + "-fno-omit-frame-pointer", + "-fexceptions", + "-frtti", + "-Wall", + "-Werror", + "-Wno-unused-parameter", + "-std=c++11", + ], + exported_headers = subdir_glob([("include", "**/*.h")]), + header_namespace = "", + visibility = ["PUBLIC"], + deps = [ + ":ndklog", + JNI_TARGET, + ], ) diff --git a/lib/gtest/BUCK b/lib/gtest/BUCK index a4c8a00e..5955abce 100644 --- a/lib/gtest/BUCK +++ b/lib/gtest/BUCK @@ -5,23 +5,23 @@ # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. -include_defs('//YOGA_DEFS') +include_defs("//YOGA_DEFS") COMPILER_FLAGS = [ - '-std=c++11', - '-Wno-missing-prototypes', + "-std=c++11", + "-Wno-missing-prototypes", ] cxx_library( - name = 'gtest', - srcs = glob(['googletest/googletest/src/*.cc']), - exported_headers = subdir_glob([ - ('googletest/googletest/include', '**/*.h'), - ('googletest/googletest', 'src/*.h'), - ('googletest/googletest', 'src/*.cc'), - ]), - header_namespace = '', - compiler_flags = COMPILER_FLAGS, - deps = [], - visibility = [YOGA_ROOT], + name = "gtest", + srcs = glob(["googletest/googletest/src/*.cc"]), + compiler_flags = COMPILER_FLAGS, + exported_headers = subdir_glob([ + ("googletest/googletest/include", "**/*.h"), + ("googletest/googletest", "src/*.h"), + ("googletest/googletest", "src/*.cc"), + ]), + header_namespace = "", + visibility = [YOGA_ROOT], + deps = [], ) diff --git a/lib/infer-annotations/BUCK b/lib/infer-annotations/BUCK index 378a65d7..67835b3a 100644 --- a/lib/infer-annotations/BUCK +++ b/lib/infer-annotations/BUCK @@ -5,17 +5,17 @@ # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. -include_defs('//YOGA_DEFS') +include_defs("//YOGA_DEFS") prebuilt_jar( - name = 'infer-annotations-jar', - binary_jar = 'infer-annotations-1.4.jar', + name = "infer-annotations-jar", + binary_jar = "infer-annotations-1.4.jar", ) java_library( - name = 'infer-annotations', - exported_deps = [ - ':infer-annotations-jar', - ], - visibility = [YOGA_ROOT], + name = "infer-annotations", + exported_deps = [ + ":infer-annotations-jar", + ], + visibility = [YOGA_ROOT], ) diff --git a/lib/jni/BUCK b/lib/jni/BUCK index 5a8808ff..cbd4edc8 100644 --- a/lib/jni/BUCK +++ b/lib/jni/BUCK @@ -6,12 +6,12 @@ # of patent rights can be found in the PATENTS file in the same directory. cxx_library( - name = 'jni', - force_static = True, - header_namespace = '', - exported_headers = [ - 'jni.h', - 'real/jni.h', - ], - visibility = ['PUBLIC'], + name = "jni", + exported_headers = [ + "jni.h", + "real/jni.h", + ], + force_static = True, + header_namespace = "", + visibility = ["PUBLIC"], ) diff --git a/lib/jsr-305/BUCK b/lib/jsr-305/BUCK index 8ced012c..54453b9e 100644 --- a/lib/jsr-305/BUCK +++ b/lib/jsr-305/BUCK @@ -5,17 +5,17 @@ # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. -include_defs('//YOGA_DEFS') +include_defs("//YOGA_DEFS") prebuilt_jar( - name = 'jsr305-jar', - binary_jar = 'jsr305.jar', + name = "jsr305-jar", + binary_jar = "jsr305.jar", ) java_library( - name = 'jsr-305', - exported_deps = [ - ':jsr305-jar', - ], - visibility = [YOGA_ROOT], + name = "jsr-305", + exported_deps = [ + ":jsr305-jar", + ], + visibility = [YOGA_ROOT], ) diff --git a/lib/junit/BUCK b/lib/junit/BUCK index e9bbe4b8..183eece4 100644 --- a/lib/junit/BUCK +++ b/lib/junit/BUCK @@ -5,17 +5,17 @@ # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. -include_defs('//YOGA_DEFS') +include_defs("//YOGA_DEFS") prebuilt_jar( - name = 'junit-jar', - binary_jar = 'junit4.jar', + name = "junit-jar", + binary_jar = "junit4.jar", ) java_library( - name = 'junit', - exported_deps = [ - ':junit-jar', - ], - visibility = [YOGA_ROOT], + name = "junit", + exported_deps = [ + ":junit-jar", + ], + visibility = [YOGA_ROOT], ) diff --git a/lib/soloader/BUCK b/lib/soloader/BUCK index 977c6d58..fa3d92e6 100644 --- a/lib/soloader/BUCK +++ b/lib/soloader/BUCK @@ -5,10 +5,10 @@ # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. -include_defs('//YOGA_DEFS') +include_defs("//YOGA_DEFS") android_prebuilt_aar( - name = 'soloader', - aar = 'soloader-0.1.0.aar', - visibility = [YOGA_ROOT], + name = "soloader", + aar = "soloader-0.1.0.aar", + visibility = [YOGA_ROOT], )