Use wrapped cxx_binary
Summary: Introduce `yoga_cxx_binary` Reviewed By: grzmiel Differential Revision: D7809271 fbshipit-source-id: 1b66ce59a73e4a63b670f7d3bcadfbb6cbfbc220
This commit is contained in:
committed by
Facebook Github Bot
parent
e1c19cecad
commit
3564ccf6e4
@@ -3,9 +3,9 @@
|
||||
# This source code is licensed under the MIT license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
|
||||
load("//:yoga_defs.bzl", "yoga_dep", "ANDROID", "APPLE")
|
||||
load("//:yoga_defs.bzl", "yoga_cxx_binary", "yoga_dep")
|
||||
|
||||
cxx_binary(
|
||||
yoga_cxx_binary(
|
||||
name = "benchmark",
|
||||
srcs = glob(["*.c"]),
|
||||
headers = subdir_glob([("", "*.h")]),
|
||||
@@ -18,7 +18,6 @@ cxx_binary(
|
||||
"-O3",
|
||||
"-std=c11",
|
||||
],
|
||||
platforms = (ANDROID, APPLE),
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
yoga_dep(":yoga"),
|
||||
|
Reference in New Issue
Block a user