Use fb_native_wrapper for all targets

Differential Revision: D12868694

fbshipit-source-id: 0dfc7d05cc0ee6b15a2534f17260e340038a1041
This commit is contained in:
Scott Rice
2018-10-31 12:03:17 -07:00
committed by Facebook Github Bot
parent b7890fa2a8
commit d02f4a94de
4 changed files with 9 additions and 5 deletions

View File

@@ -4,6 +4,7 @@
# This source code is licensed under the license found in the # This source code is licensed under the license found in the
# LICENSE-examples file in the root directory of this source tree. # LICENSE-examples file in the root directory of this source tree.
load("//tools/build_defs:fb_native_wrapper.bzl", "fb_native")
load("//tools/build_defs/oss:yoga_defs.bzl", "ANDROID_RES_TARGET", "ANDROID_SAMPLE_JAVA_TARGET", "ANDROID_SAMPLE_RES_TARGET", "yoga_android_binary", "yoga_android_resource") load("//tools/build_defs/oss:yoga_defs.bzl", "ANDROID_RES_TARGET", "ANDROID_SAMPLE_JAVA_TARGET", "ANDROID_SAMPLE_RES_TARGET", "yoga_android_binary", "yoga_android_resource")
yoga_android_binary( yoga_android_binary(
@@ -28,7 +29,7 @@ yoga_android_resource(
], ],
) )
keystore( fb_native.keystore(
name = "debug_keystore", name = "debug_keystore",
properties = "debug.keystore.properties", properties = "debug.keystore.properties",
store = "debug.keystore", store = "debug.keystore",

View File

@@ -3,6 +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("//tools/build_defs:fb_native_wrapper.bzl", "fb_native")
load( load(
"//tools/build_defs/oss:yoga_defs.bzl", "//tools/build_defs/oss:yoga_defs.bzl",
"BASE_COMPILER_FLAGS", "BASE_COMPILER_FLAGS",
@@ -13,14 +14,14 @@ load(
COMPILER_FLAGS = BASE_COMPILER_FLAGS + ["-std=c++11"] COMPILER_FLAGS = BASE_COMPILER_FLAGS + ["-std=c++11"]
csharp_library( fb_native.csharp_library(
name = "yogalibnet46", name = "yogalibnet46",
srcs = glob(["**/*.cs"]), srcs = glob(["**/*.cs"]),
dll_name = "Facebook.Yoga.dll", dll_name = "Facebook.Yoga.dll",
framework_ver = "net46", framework_ver = "net46",
) )
csharp_library( fb_native.csharp_library(
name = "yogalibnet45", name = "yogalibnet45",
srcs = glob(["**/*.cs"]), srcs = glob(["**/*.cs"]),
dll_name = "Facebook.Yoga.dll", dll_name = "Facebook.Yoga.dll",

View File

@@ -3,9 +3,10 @@
# 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("//tools/build_defs:fb_native_wrapper.bzl", "fb_native")
load("//tools/build_defs/oss:yoga_defs.bzl", "YOGA_ROOTS") load("//tools/build_defs/oss:yoga_defs.bzl", "YOGA_ROOTS")
android_prebuilt_aar( fb_native.android_prebuilt_aar(
name = "appcompat", name = "appcompat",
aar = "appcompat-v7-24.2.1.aar", aar = "appcompat-v7-24.2.1.aar",
visibility = YOGA_ROOTS, visibility = YOGA_ROOTS,

View File

@@ -3,9 +3,10 @@
# 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("//tools/build_defs:fb_native_wrapper.bzl", "fb_native")
load("//tools/build_defs/oss:yoga_defs.bzl", "YOGA_ROOTS") load("//tools/build_defs/oss:yoga_defs.bzl", "YOGA_ROOTS")
android_prebuilt_aar( fb_native.android_prebuilt_aar(
name = "soloader", name = "soloader",
aar = "soloader-0.5.1.aar", aar = "soloader-0.5.1.aar",
visibility = YOGA_ROOTS, visibility = YOGA_ROOTS,