Stop retring GCM unregistration requests after reaching maximum number
[chromium-blink-merge.git] / mandoline / ui / browser / BUILD.gn
blobc46d388586c4ad88097da65d0c329122f9b79924
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
3 # found in the LICENSE file.
5 import("//build/config/ui.gni")
6 import("//mojo/public/mojo_application.gni")
7 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
9 mojo_native_application("browser") {
10   sources = [
11     "main.cc",
12   ]
14   deps = [
15     ":lib",
16     "//mandoline/services/navigation/public/interfaces",
17     "//mojo/application/public/cpp",
18     "//third_party/icu:icudata",
19     "//ui/resources:ui_test_pak",
20   ]
22   resources = [
23     "$root_out_dir/icudtl.dat",
24     "$root_out_dir/ui_test.pak",
25   ]
28 source_set("lib") {
29   sources = [
30     "browser.cc",
31     "browser.h",
32     "navigator_host_impl.cc",
33     "navigator_host_impl.h",
34   ]
36   deps = [
37     "public/interfaces",
38     "//base",
39     "//components/view_manager/public/cpp",
40     "//mandoline/services/navigation/public/interfaces",
41     "//mandoline/tab",
42     "//mojo/application/public/interfaces",
43     "//mojo/converters/geometry",
44     "//skia",
45     "//third_party/mojo/src/mojo/public/cpp/bindings",
46     "//ui/gfx/geometry",
47     "//ui/mojo/events:interfaces",
48   ]
50   if (is_mac || use_aura) {
51     sources += [
52       "desktop/desktop_ui.cc",
53       "desktop/desktop_ui.h",
54     ]
55     deps += [ "//mandoline/ui/aura" ]
56   } else {
57     assert(is_android)
58     sources += [
59       "android/android_ui.cc",
60       "android/android_ui.h",
61     ]
62   }