Summary: Fixes test execution for open source: - adds hamcrest jar and dependency, as required by buck (to not throw `"Unable to locate hamcrest on the classpath. Please add as a test dependency."`) - enables events for OSS, to make tests pass Reviewed By: SidharthGuglani Differential Revision: D16202542 fbshipit-source-id: a56069de162f739b3b989961b5dc00f3d37f5849
20 lines
493 B
Python
20 lines
493 B
Python
# Copyright (c) Facebook, Inc. and its affiliates.
|
|
#
|
|
# 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", "YOGA_ROOTS", "yoga_java_library", "yoga_prebuilt_jar")
|
|
|
|
yoga_prebuilt_jar(
|
|
name = "hamcrest-jar",
|
|
binary_jar = "hamcrest-2.1.jar",
|
|
)
|
|
|
|
yoga_java_library(
|
|
name = "hamcrest",
|
|
visibility = YOGA_ROOTS,
|
|
exported_deps = [
|
|
":hamcrest-jar",
|
|
],
|
|
)
|