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

Unified Diff: cc/BUILD.gn

Issue 2082453003: 🎅 Use GN's dependency info for native libraries in write_build_config.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix osmesa on non-android Created 4 years, 6 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
Index: cc/BUILD.gn
diff --git a/cc/BUILD.gn b/cc/BUILD.gn
index a02ae530e2ce4d1a0738a49870ff6dbc980fb4d9..0217b782f1144b1d5ba09322a5e379b7ef6b04f2 100644
--- a/cc/BUILD.gn
+++ b/cc/BUILD.gn
@@ -760,13 +760,17 @@ source_set("test_support") {
"//skia",
"//testing/gmock",
"//testing/gtest",
- "//third_party/mesa:osmesa",
"//ui/gfx",
"//ui/gfx:test_support",
"//ui/gfx/geometry",
"//ui/gl",
"//ui/gl:test_support",
]
+ if (!is_android) {
+ data_deps = [
+ "//third_party/mesa:osmesa",
+ ]
+ }
}
test("cc_unittests") {

Powered by Google App Engine
This is Rietveld 408576698