Remove built-in DoNotStrip annotations

Summary:
Use the Yoga dependency instead which can be deduplicated by Gradle.

This solves (parts of) a bunch of issues concerning the use of
multiple FB libraries in one Android project.

Reviewed By: danielbuechele

Differential Revision: D16783243

fbshipit-source-id: 7f7915821dd286c51ec4ccbd95a2cdcb18b53bde
This commit is contained in:
Pascal Hartig
2019-08-15 04:17:48 -07:00
committed by Facebook Github Bot
parent 4a2ccc658e
commit 442d84ccfc

View File

@@ -3,13 +3,13 @@
# 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/oss:yoga_defs.bzl", "YOGA_ROOTS", "yoga_java_library") load("//tools/build_defs/oss:yoga_defs.bzl", "yoga_java_library")
yoga_java_library( yoga_java_library(
name = "annotations", name = "annotations",
srcs = glob(["*.java"]), srcs = glob(["*.java"]),
source = "1.7", source = "1.7",
target = "1.7", target = "1.7",
visibility = YOGA_ROOTS, visibility = ["PUBLIC"],
deps = [], deps = [],
) )