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

Unified Diff: ui/base/BUILD.gn

Issue 833893003: Move UserActivityDetector to ui/base/user_activity/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: don't build test on android Created 5 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 | « extensions/shell/browser/shell_desktop_controller_aura.cc ('k') | ui/base/ui_base.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/BUILD.gn
diff --git a/ui/base/BUILD.gn b/ui/base/BUILD.gn
index a40aa8b3e9920f505c35dc2fb73de295e83e5345..6b034af05dbf4b99da72e6815079ea03baddd115 100644
--- a/ui/base/BUILD.gn
+++ b/ui/base/BUILD.gn
@@ -233,6 +233,9 @@ component("base") {
"ui_base_switches_util.h",
"ui_base_types.cc",
"ui_base_types.h",
+ "user_activity/user_activity_detector.cc",
+ "user_activity/user_activity_detector.h",
+ "user_activity/user_activity_observer.h",
"view_prop.cc",
"view_prop.h",
"webui/jstemplate_builder.cc",
@@ -741,8 +744,13 @@ test("ui_base_unittests") {
"resource/resource_bundle_unittest.cc",
"test/test_clipboard_unittest.cc",
"test/run_all_unittests.cc",
+ "user_activity/user_activity_detector_unittest.cc",
]
+ if (is_android) {
+ sources -= [ "user_activity/user_activity_detector_unittest.cc" ]
+ }
+
if (is_ios) {
# Compile this Mac file on iOS as well.
set_sources_assignment_filter([])
« no previous file with comments | « extensions/shell/browser/shell_desktop_controller_aura.cc ('k') | ui/base/ui_base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698