Clean up BUCK files for missing dependencies and tests
Summary: Several of dependencies and tests in repository are missing (e.g. because we don't support building certain library for MacOSX). Clean up those mistakes. Differential Revision: D7625433 fbshipit-source-id: 332b7ff7eaed82cb52f459921f1ae67b702a1636
This commit is contained in:
committed by
Facebook Github Bot
parent
5b7adda620
commit
9b8323ff38
@@ -3,7 +3,7 @@
|
|||||||
# This source code is licensed under the MIT license found in the
|
# This source code is licensed under the MIT license found in the
|
||||||
# LICENSE file in the root directory of this source tree.
|
# LICENSE file in the root directory of this source tree.
|
||||||
|
|
||||||
load("//:yoga_defs.bzl", "yoga_dep")
|
load("//:yoga_defs.bzl", "yoga_dep", "ANDROID", "APPLE")
|
||||||
|
|
||||||
cxx_binary(
|
cxx_binary(
|
||||||
name = "benchmark",
|
name = "benchmark",
|
||||||
@@ -18,6 +18,7 @@ cxx_binary(
|
|||||||
"-O3",
|
"-O3",
|
||||||
"-std=c11",
|
"-std=c11",
|
||||||
],
|
],
|
||||||
|
platforms = (ANDROID, APPLE),
|
||||||
visibility = ["PUBLIC"],
|
visibility = ["PUBLIC"],
|
||||||
deps = [
|
deps = [
|
||||||
yoga_dep(":yoga"),
|
yoga_dep(":yoga"),
|
||||||
|
@@ -42,9 +42,9 @@ if is_apple_platform():
|
|||||||
genrule(
|
genrule(
|
||||||
name = name,
|
name = name,
|
||||||
srcs = [
|
srcs = [
|
||||||
yoga_dep(':yoga#%s,static' % arch),
|
yoga_dep(':yogaApple#%s,static' % arch),
|
||||||
yoga_dep('YogaKit:YogaKitApple#%s,static' % arch),
|
yoga_dep('YogaKit:YogaKitApple#%s,static' % arch),
|
||||||
yoga_dep('csharp:yoganet#%s,static' % arch),
|
yoga_dep('csharp:yoganetApple#%s,static' % arch),
|
||||||
],
|
],
|
||||||
out = 'libyoga-%s.a' % arch,
|
out = 'libyoga-%s.a' % arch,
|
||||||
cmd = 'libtool -static -o $OUT $SRCS',
|
cmd = 'libtool -static -o $OUT $SRCS',
|
||||||
@@ -59,7 +59,7 @@ if is_apple_platform():
|
|||||||
visibility = ['PUBLIC'],
|
visibility = ['PUBLIC'],
|
||||||
)
|
)
|
||||||
|
|
||||||
yoganet_macosx_target = 'csharp:yoganet#macosx-%s,dynamic'
|
yoganet_macosx_target = 'csharp:yoganetAppleMac#macosx-%s,dynamic'
|
||||||
genrule(
|
genrule(
|
||||||
name = 'yoganet-macosx',
|
name = 'yoganet-macosx',
|
||||||
srcs = [
|
srcs = [
|
||||||
|
@@ -12,6 +12,7 @@ JNI_TARGET = '//lib/jni:jni'
|
|||||||
FBJNI_TARGET = '//lib/fb:fbjni'
|
FBJNI_TARGET = '//lib/fb:fbjni'
|
||||||
FBJNI_JAVA_TARGET = '//lib/fb/src/main/java/com/facebook/jni:jni'
|
FBJNI_JAVA_TARGET = '//lib/fb/src/main/java/com/facebook/jni:jni'
|
||||||
APPCOMPAT_TARGET = '//lib/appcompat:appcompat'
|
APPCOMPAT_TARGET = '//lib/appcompat:appcompat'
|
||||||
|
APPLE = ''
|
||||||
ANDROID = ''
|
ANDROID = ''
|
||||||
ANDROID_SUPPORT_TARGET = '//lib/android-support:android-support'
|
ANDROID_SUPPORT_TARGET = '//lib/android-support:android-support'
|
||||||
ANDROID_TARGET = '//android:android'
|
ANDROID_TARGET = '//android:android'
|
||||||
|
Reference in New Issue
Block a user