Add helper method to determine the current application horizontal size classes.
[chromium-blink-merge.git] / mandoline / BUILD.gn
blob7574a69fd156a795110bc07793eb8088e1415597
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//build/config/ui.gni")
7 group("all") {
8   # Meta-target, don't link into production code.
9   testonly = true
11   deps = [
12     ":tests",
13   ]
15   if (!is_component_build) {
16     if (is_android) {
17       deps += [ "//mandoline/app/android" ]
18     } else {
19       deps += [ "//mandoline/app/desktop" ]
20     }
21   }
24 group("tests") {
25   testonly = true
26   deps = [
27     "//mojo:tests",
28   ]
30   if (use_x11) {
31     deps += [ "//tools/xdisplaycheck" ]
32   }
34   if (!is_component_build && !is_mac) {
35     deps += [
36       "//components/clipboard:apptests",
37       "//components/filesystem:apptests",
38       "//components/html_viewer:apptests",
39       "//components/html_viewer:html_viewer_unittests",
40       "//components/resource_provider:apptests",
41       "//components/resource_provider:resource_provider_unittests",
42       "//components/view_manager:tests",
43       "//mandoline/tab:mandoline_frame_apptests",
44       "//mandoline/ui/browser:mandoline_browser_apptests",
45       "//media/mojo/services:tests",
46       "//sql/mojo:apptests",
47     ]
48   }