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

Side by Side Diff: components/zoom/BUILD.gn

Issue 2874833002: Don't compile code for desktop zoom or GuestViews on mobile platforms. (Closed)
Patch Set: Rebase. Created 3 years, 7 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 unified diff | Download patch
« no previous file with comments | « components/guest_view/renderer/BUILD.gn ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 assert(!is_android && !is_ios, "Desktop zoom is not used on mobile platforms.")
6
5 static_library("zoom") { 7 static_library("zoom") {
6 sources = [ 8 sources = [
7 "page_zoom.cc", 9 "page_zoom.cc",
8 "page_zoom.h", 10 "page_zoom.h",
9 "page_zoom_constants.cc", 11 "page_zoom_constants.cc",
10 "page_zoom_constants.h", 12 "page_zoom_constants.h",
11 "zoom_controller.cc", 13 "zoom_controller.cc",
12 "zoom_controller.h", 14 "zoom_controller.h",
13 "zoom_event_manager.cc", 15 "zoom_event_manager.cc",
14 "zoom_event_manager.h", 16 "zoom_event_manager.h",
(...skipping 30 matching lines...) Expand all
45 sources = [ 47 sources = [
46 "page_zoom_unittests.cc", 48 "page_zoom_unittests.cc",
47 ] 49 ]
48 deps = [ 50 deps = [
49 ":zoom", 51 ":zoom",
50 "//components/prefs", 52 "//components/prefs",
51 "//content/public/common", 53 "//content/public/common",
52 "//testing/gtest", 54 "//testing/gtest",
53 ] 55 ]
54 } 56 }
OLDNEW
« no previous file with comments | « components/guest_view/renderer/BUILD.gn ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698