Reviewed By: mzlee Differential Revision: D9546736 fbshipit-source-id: ff0c19a33cc72a330bac1e266ad0bb6d7c440e60
25 lines
637 B
Python
25 lines
637 B
Python
# Copyright (c) 2014-present, Facebook, Inc.
|
|
#
|
|
# 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", "subdir_glob", "yoga_cxx_binary", "yoga_dep")
|
|
|
|
yoga_cxx_binary(
|
|
name = "benchmark",
|
|
srcs = glob(["*.c"]),
|
|
headers = subdir_glob([("", "*.h")]),
|
|
header_namespace = "",
|
|
compiler_flags = [
|
|
"-fno-omit-frame-pointer",
|
|
"-fexceptions",
|
|
"-Wall",
|
|
"-Werror",
|
|
"-O3",
|
|
"-std=c11",
|
|
],
|
|
visibility = ["PUBLIC"],
|
|
deps = [
|
|
yoga_dep(":yoga"),
|
|
],
|
|
)
|