naiveproxy/mash/simple_wm/BUILD.gn

67 lines
1.3 KiB
Plaintext
Raw Permalink Normal View History

2018-08-11 08:35:24 +03:00
# Copyright 2016 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("//services/service_manager/public/cpp/service.gni")
import("//services/service_manager/public/service_manifest.gni")
import("//tools/grit/repack.gni")
service("simple_wm") {
testonly = true
sources = [
"main.cc",
]
deps = [
":lib",
"//base",
"//services/service_manager/public/cpp",
"//ui/views/mus:for_mojo_application",
]
resources = [ "$root_out_dir/views_mus_resources.pak" ]
}
source_set("lib") {
testonly = true
sources = [
"move_event_handler.cc",
"move_event_handler.h",
"move_loop.cc",
"move_loop.h",
"simple_wm.cc",
"simple_wm.h",
]
deps = [
"//base",
"//services/service_manager/public/cpp",
"//services/ui/public/cpp",
"//services/ui/public/interfaces",
"//ui/aura",
"//ui/aura:test_support",
"//ui/display",
"//ui/display:test_support",
"//ui/gfx/geometry/mojo",
"//ui/views",
"//ui/views/mus:mus",
"//ui/wm",
"//ui/wm/public",
]
public_deps = [
"//skia", # Due to use of Sk types in service header.
]
data_deps = [
"//services/ui",
]
}
service_manifest("manifest") {
name = "simple_wm"
source = "manifest.json"
}