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

Unified Diff: ui/views/BUILD.gn

Issue 513313002: Fix most of the "gn check" errors in ui/* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android GN build Created 6 years, 4 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: ui/views/BUILD.gn
diff --git a/ui/views/BUILD.gn b/ui/views/BUILD.gn
index 9b51714c24934ef202b2ac2e8c1338c7274c0ebe..efe30acae908864b9e36d51361c0b45c4e2d721b 100644
--- a/ui/views/BUILD.gn
+++ b/ui/views/BUILD.gn
@@ -117,6 +117,7 @@ static_library("test_support") {
"//ui/compositor",
"//ui/compositor:test_support",
"//ui/events",
+ "//ui/events:events_base",
"//ui/events/platform",
"//ui/gfx",
"//ui/gfx/geometry",
@@ -135,8 +136,6 @@ static_library("test_support") {
}
}
-if (false) { # TODO(GYP) enable once this links
-
test("views_unittests") {
sources = gypi_values.views_unittests_sources
@@ -160,6 +159,7 @@ test("views_unittests") {
"//ui/events/platform",
"//ui/gfx",
"//ui/gfx/geometry",
+ "//ui/gl",
"//ui/wm",
"//url",
]
@@ -201,14 +201,9 @@ test("views_unittests") {
]
}
- if (use_ozone) {
- sources -= [
- "corewm/capture_controller_unittest.cc",
- ]
- }
if (use_aura) {
sources += gypi_values.views_unittests_aura_sources
- deps = [ "//ui/aura:test_support" ]
+ deps += [ "//ui/aura:test_support" ]
if (!is_chromeos) {
sources += gypi_values.views_unittests_desktop_aura_sources
}
@@ -255,5 +250,3 @@ if (is_mac) {
]
}
}
-
-} # if false

Powered by Google App Engine
This is Rietveld 408576698