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

Side by Side Diff: mojo/services/window_manager/BUILD.gn

Issue 495223002: GN build rules for all unit test targets in mojo/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix copyright header Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « mojo/services/view_manager/BUILD.gn ('k') | mojo/shell/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
(Empty)
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.
4
5 import("//build/config/ui.gni")
6
7 if (use_aura) {
8
9 import("//mojo/system.gni")
10
11 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager
12 shared_library("window_manager") {
13 output_name = "mojo_core_window_manager"
14
15 sources = [ "main.cc" ]
16
17 deps = [
18 ":lib",
19 "//mojo/public/cpp/application:chromium",
20 ] + mojo_system_for_shared_library
21 }
22
23 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager_lib
24 source_set("lib") {
25 sources = [
26 "window_manager_app.cc",
27 "window_manager_app.h",
28 "window_manager_service_impl.cc",
29 "window_manager_service_impl.h",
30 ]
31
32 deps = [
33 "//base",
34 "//mojo/aura",
35 "//mojo/common",
36 "//mojo/environment:chromium",
37 "//mojo/public/cpp/application:chromium",
38 "//mojo/services/public/cpp/input_events",
39 "//mojo/services/public/cpp/view_manager",
40 "//mojo/services/public/interfaces/window_manager",
41 "//ui/base",
42 "//ui/gfx",
43 "//ui/gfx/geometry",
44 "//ui/wm",
45 ]
46
47 forward_dependent_configs_from = [ "//mojo/aura" ]
48 }
49
50 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager_unittests
51 test("mojo_core_window_manager_unittests") {
52 sources = [
53 "window_manager_api_unittest.cc",
54 "window_manager_unittests.cc",
55 ]
56
57 deps = [
58 "//base/test:test_support",
59 "//mojo/application_manager",
60 "//mojo/environment:chromium",
61 "//mojo/services/public/cpp/view_manager",
62 "//mojo/services/public/interfaces/view_manager",
63 "//mojo/services/public/interfaces/window_manager",
64 "//mojo/shell:test_support",
65 "//mojo/system",
66 "//testing/gtest",
67 "//ui/gl",
68 ]
69 if (is_linux) {
70 deps += [
71 "//third_party/mesa:osmesa",
72 "//mojo/services/native_viewport",
73 ]
74 }
75 if (use_x11) {
76 deps += [ "//ui/gfx/x" ]
77 }
78 }
79
80 } # use_aura
OLDNEW
« no previous file with comments | « mojo/services/view_manager/BUILD.gn ('k') | mojo/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698