aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUILD27
-rw-r--r--ink_stroke_modeler/BUILD2
2 files changed, 27 insertions, 2 deletions
diff --git a/BUILD b/BUILD
new file mode 100644
index 0000000..f8433a5
--- /dev/null
+++ b/BUILD
@@ -0,0 +1,27 @@
+# Copyright 2022 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+package(default_visibility = ["//visibility:public"])
+
+licenses(["notice"])
+
+exports_files(["LICENSE"])
+
+# Use this when testonly libraries must depend on :gtest, that requires
+# different behavior in the upstream repo.
+alias(
+ name = "gtest_for_library_testonly",
+ testonly = 1,
+ actual = "@com_google_googletest//:gtest",
+)
diff --git a/ink_stroke_modeler/BUILD b/ink_stroke_modeler/BUILD
index 367151c..feb11a4 100644
--- a/ink_stroke_modeler/BUILD
+++ b/ink_stroke_modeler/BUILD
@@ -16,8 +16,6 @@ package(default_visibility = ["//visibility:public"])
licenses(["notice"])
-exports_files(["LICENSE"])
-
cc_library(
name = "params",
srcs = ["params.cc"],