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

Unified Diff: ui/base/BUILD.gn

Issue 2561263003: [ios] Excluded harfbuzz-ng and events code (Closed)
Patch Set: Synced with origin/master Created 4 years 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 | « no previous file | ui/events/BUILD.gn » ('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 4faf5cd5774c81fe9f83bb7a9cca43afdfb59e96..15f78e5946fe5731ac23b6b0dab423bd9a1333c9 100644
--- a/ui/base/BUILD.gn
+++ b/ui/base/BUILD.gn
@@ -369,8 +369,6 @@ component("base") {
":ui_features",
"//base",
"//skia",
- "//ui/events:events_base",
- "//ui/events/platform",
"//ui/gfx",
"//ui/gfx/geometry",
]
@@ -389,12 +387,22 @@ component("base") {
"//url",
]
+ if (!is_ios) {
+ # iOS does not use Chromium-specific code for event handling.
+ public_deps += [
+ "//ui/events:events_base",
+ "//ui/events/platform",
+ ]
+ }
+
if (is_ios) {
set_sources_assignment_filter([])
sources += [
"l10n/l10n_util_mac.h",
"l10n/l10n_util_mac.mm",
]
+ public_deps += [ "//ui/events:event_constants" ]
+
set_sources_assignment_filter(sources_assignment_filter)
}
« no previous file with comments | « no previous file | ui/events/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698