Rollout to xplat/{t..z}
Reviewed By: mzlee Differential Revision: D33810211 fbshipit-source-id: c1a437a3834701d79461365ef503eee9fa4e75bd
This commit is contained in:
committed by
Facebook GitHub Bot
parent
bd95b3d243
commit
477fedd1b6
@@ -3,7 +3,7 @@
|
||||
# This source code is licensed under the MIT license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
|
||||
load("//tools/build_defs/oss:yoga_defs.bzl", "ANDROID", "CXX_LIBRARY_WHITELIST", "JNI_TARGET", "JSR_305_TARGET", "JUNIT_TARGET", "PROGUARD_ANNOTATIONS_TARGET", "SOLOADER_TARGET", "YOGA_ROOTS", "yoga_android_dep", "yoga_cxx_library", "yoga_dep", "yoga_java_binary", "yoga_java_library", "yoga_java_test", "yoga_prebuilt_cxx_library")
|
||||
load("//tools/build_defs/oss:yoga_defs.bzl", "ANDROID", "CXX", "CXX_LIBRARY_WHITELIST", "JNI_TARGET", "JSR_305_TARGET", "JUNIT_TARGET", "PROGUARD_ANNOTATIONS_TARGET", "SOLOADER_TARGET", "YOGA_ROOTS", "yoga_android_dep", "yoga_cxx_library", "yoga_dep", "yoga_java_binary", "yoga_java_library", "yoga_java_test", "yoga_prebuilt_cxx_library")
|
||||
|
||||
CXX_LIBRARY_WHITELIST_FOR_TESTS = CXX_LIBRARY_WHITELIST + [
|
||||
yoga_android_dep("testutil:jni"),
|
||||
@@ -46,7 +46,7 @@ yoga_cxx_library(
|
||||
"-Os",
|
||||
"-std=c++11",
|
||||
],
|
||||
platforms = ANDROID,
|
||||
platforms = (CXX, ANDROID),
|
||||
preprocessor_flags = [
|
||||
"-DFBJNI_WITH_FAST_CALLS",
|
||||
],
|
||||
|
@@ -37,7 +37,7 @@ yoga_cxx_library(
|
||||
"-Wno-unused-variable",
|
||||
"-std=c++11",
|
||||
],
|
||||
platforms = (ANDROID,),
|
||||
platforms = (CXX, ANDROID),
|
||||
soname = "libfbjni.$(ext)",
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
|
@@ -1,4 +1,4 @@
|
||||
load("//tools/build_defs/oss:yoga_defs.bzl", "ANDROID", "FBJNI_TARGET", "LIBRARY_COMPILER_FLAGS", "SOLOADER_TARGET", "subdir_glob", "yoga_cxx_library", "yoga_dep", "yoga_java_library")
|
||||
load("//tools/build_defs/oss:yoga_defs.bzl", "ANDROID", "CXX", "FBJNI_TARGET", "LIBRARY_COMPILER_FLAGS", "SOLOADER_TARGET", "subdir_glob", "yoga_cxx_library", "yoga_dep", "yoga_java_library")
|
||||
|
||||
yoga_cxx_library(
|
||||
name = "testutil",
|
||||
@@ -17,7 +17,7 @@ yoga_cxx_library(
|
||||
header_namespace = "",
|
||||
exported_headers = subdir_glob([("src/main/cpp/include", "yoga/testutil/testutil.h")]),
|
||||
compiler_flags = LIBRARY_COMPILER_FLAGS,
|
||||
platforms = ANDROID,
|
||||
platforms = (CXX, ANDROID),
|
||||
soname = "libyoga_testutil.$(ext)",
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
@@ -43,7 +43,7 @@ yoga_cxx_library(
|
||||
srcs = ["src/main/cpp/jni/jni.cpp"],
|
||||
allow_jni_merging = False,
|
||||
compiler_flags = LIBRARY_COMPILER_FLAGS,
|
||||
platforms = ANDROID,
|
||||
platforms = (CXX, ANDROID),
|
||||
soname = "libyoga_testutil_jni.$(ext)",
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
|
Reference in New Issue
Block a user