Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: third_party/mesa/BUILD.gn

Issue 1649993002: Add a data_dep for osmesa to //ui/gl and run ui_unittests. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: asdf Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/tools/data/apptests ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mesa/BUILD.gn
diff --git a/third_party/mesa/BUILD.gn b/third_party/mesa/BUILD.gn
index 9ff2ce490e149b00274099fecffddc59958621ab..bd3cf63185f95801fa475374cc95f280a714a34e 100644
--- a/third_party/mesa/BUILD.gn
+++ b/third_party/mesa/BUILD.gn
@@ -654,6 +654,9 @@ if (!is_android) { # TODO(GYP) enable for Android.
# TODO(GYP) http://crbug.com/380327 need support for loadable_module.
#loadable_module("osmesa") {
shared_library("osmesa") {
+ # Make sure this only gets used in tests.
+ testonly = true
+
sources = [
"src/src/mesa/drivers/common/driverfuncs.c",
"src/src/mesa/drivers/common/driverfuncs.h",
@@ -680,8 +683,8 @@ if (!is_android) { # TODO(GYP) enable for Android.
}
deps = [
- ":mesa_headers",
":mesa",
+ ":mesa_headers",
":mesa_libglslcommon",
]
« no previous file with comments | « mojo/tools/data/apptests ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698