aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCopybara-Service <copybara-worker@google.com>2022-03-02 13:02:02 -0800
committerCopybara-Service <copybara-worker@google.com>2022-03-02 13:02:02 -0800
commitfccf5832b6793b8f3daded99547e35d3553dc07b (patch)
tree237ebeb16cb106ade80a27bcc31bdab63b62d763
parent9e7296e2998bfffe987e9c8b7effe8f66cee9a77 (diff)
parent6134ec37c7ae9383c4fcfac9290141a90e82431d (diff)
downloadink-stroke-modeler-fccf5832b6793b8f3daded99547e35d3553dc07b.tar.gz
Merge pull request #5 from google:test_431979296
PiperOrigin-RevId: 432008956
-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"],