summaryrefslogtreecommitdiff
path: root/chromium/mash/example/views_examples/BUILD.gn
blob: 9df0854d375e86fa7257f3ba8488c69b7b3c5d8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/config/ui.gni")
import("//mojo/public/mojo_application.gni")
import("//mojo/public/mojo_application_manifest.gni")
import("//mojo/public/tools/bindings/mojom.gni")
import("//tools/grit/repack.gni")

mojo_native_application("views_examples") {
  testonly = true

  sources = [
    "main.cc",
    "views_examples_application_delegate.cc",
    "views_examples_application_delegate.h",
  ]

  deps = [
    "//base",
    "//components/mus/public/interfaces",
    "//mojo/converters/geometry",
    "//mojo/public/cpp/bindings",
    "//mojo/services/tracing/public/cpp",
    "//mojo/shell/public/cpp",
    "//mojo/shell/public/cpp:sources",
    "//skia",
    "//ui/gfx",
    "//ui/gfx/geometry",
    "//ui/views",
    "//ui/views/examples:views_examples_lib",
    "//ui/views/mus:for_mojo_application",
  ]

  resources = [ "$root_out_dir/views_mus_resources.pak" ]

  data_deps = [
    ":manifest",
    "//components/mus",
  ]
}

mojo_application_manifest("manifest") {
  application_name = "views_examples"
  source = "manifest.json"
}