Consolidate mobile yoga into top-level xplat
Reviewed By: emilsjolander Differential Revision: D6494379 fbshipit-source-id: f6b78d8a1b3d4bcdeef350ad7bd097cdbe5d15b1
This commit is contained in:
committed by
Facebook Github Bot
parent
836eaa62df
commit
2a10337344
11
YogaKit/BUCK
11
YogaKit/BUCK
@@ -5,7 +5,7 @@
|
||||
# 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.bzl")
|
||||
load("//:yoga_defs.bzl", "yoga_dep", "apple_library", "apple_test")
|
||||
|
||||
COMPILER_FLAGS = [
|
||||
"-fobjc-arc",
|
||||
@@ -30,12 +30,19 @@ COMPILER_FLAGS = [
|
||||
apple_library(
|
||||
name = "YogaKit",
|
||||
srcs = glob(["Source/**/*.m"]),
|
||||
exported_headers = glob(["Source/**/*.h"]),
|
||||
exported_headers = subdir_glob(
|
||||
[
|
||||
("", "Source/**/*.h"),
|
||||
("Source", "**/*.h"),
|
||||
],
|
||||
prefix = "YogaKit",
|
||||
),
|
||||
compiler_flags = COMPILER_FLAGS,
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
header_path_prefix = "",
|
||||
link_whole = True,
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
|
Reference in New Issue
Block a user