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

Unified Diff: chrome/test/BUILD.gn

Issue 1678163002: mac_views_browser: fixed interactive_ui_tests compilation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unneeded header, enable ActivateOverflowedToolbarActionWithKeyboard test compilation on Mac Created 4 years, 10 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 | « chrome/chrome_tests.gypi ('k') | chrome/test/base/interactive_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/BUILD.gn
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
index c89c6790ab9babe529c22daa3991c7d002d5038f..e871a8d1344dc7b47945893c16f4ee050e770151 100644
--- a/chrome/test/BUILD.gn
+++ b/chrome/test/BUILD.gn
@@ -493,6 +493,25 @@ if (!is_android) {
# when we tried to pull it up to the common.gypi level, it broke other
# things like the ui and startup tests. *shrug*
ldflags += [ "-Wl,-ObjC" ]
+
+ # The browser window can be views or Cocoa on Mac. Test accordingly.
+ if (mac_views_browser) {
+ sources += rebase_path(
+ chrome_tests_gypi_values.chrome_interactive_ui_test_views_non_mac_sources,
+ ".",
+ "//chrome")
+
+ # Aura depended tests.
+ sources -= [
+ "../browser/ui/views/bookmarks/bookmark_bar_view_test.cc",
+ "../browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc",
+ ]
+ } else {
+ sources += rebase_path(
+ chrome_tests_gypi_values.chrome_interactive_ui_test_cocoa_sources,
+ ".",
+ "//chrome")
+ }
}
if (cld_version == 2) {
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/base/interactive_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698