OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//mojo/public/mojo_application.gni") |
6 import("//mojo/public/tools/bindings/mojom.gni") | 7 import("//mojo/public/tools/bindings/mojom.gni") |
7 | 8 |
8 assert(use_aura) | 9 assert(use_aura) |
9 | 10 |
10 shared_library("window_manager") { | 11 mojo_binary_application("window_manager") { |
11 output_name = "example_window_manager" | 12 output_name = "example_window_manager" |
12 | 13 |
13 sources = [ | 14 sources = [ |
14 "debug_panel.cc", | 15 "debug_panel.cc", |
15 "debug_panel.h", | 16 "debug_panel.h", |
16 "window_manager.cc", | 17 "window_manager.cc", |
17 ] | 18 ] |
18 | 19 |
19 deps = [ | 20 deps = [ |
20 ":bindings", | 21 ":bindings", |
(...skipping 26 matching lines...) Expand all Loading... |
47 | 48 |
48 mojom("bindings") { | 49 mojom("bindings") { |
49 sources = [ | 50 sources = [ |
50 "window_manager.mojom", | 51 "window_manager.mojom", |
51 ] | 52 ] |
52 deps = [ | 53 deps = [ |
53 "//mojo/services/public/interfaces/geometry", | 54 "//mojo/services/public/interfaces/geometry", |
54 ] | 55 ] |
55 } | 56 } |
56 | 57 |
OLD | NEW |