| 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/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
| 7 | 7 |
| 8 assert(use_aura) | 8 assert(use_aura) |
| 9 | 9 |
| 10 group("wm_flow") { | 10 group("wm_flow") { |
| 11 deps = [ | 11 deps = [ |
| 12 ":app", | 12 ":app", |
| 13 ":embedded", | 13 ":embedded", |
| 14 ":wm", | 14 ":wm", |
| 15 ] | 15 ] |
| 16 } | 16 } |
| 17 | 17 |
| 18 shared_library("wm") { | 18 shared_library("wm") { |
| 19 output_name = "wm_flow_wm" | 19 output_name = "mojo_wm_flow_wm" |
| 20 | 20 |
| 21 sources = [ | 21 sources = [ |
| 22 "wm/wm.cc", | 22 "wm/wm.cc", |
| 23 "wm/frame_controller.cc", | 23 "wm/frame_controller.cc", |
| 24 "wm/frame_controller.h", | 24 "wm/frame_controller.h", |
| 25 ] | 25 ] |
| 26 | 26 |
| 27 deps = [ | 27 deps = [ |
| 28 "//base", | 28 "//base", |
| 29 "//skia", | 29 "//skia", |
| 30 "//ui/aura", | 30 "//ui/aura", |
| 31 "//ui/views", | 31 "//ui/views", |
| 32 "//ui/wm:wm", | 32 "//ui/wm:wm", |
| 33 "//mojo/application", | 33 "//mojo/application", |
| 34 "//mojo/public/c/system:for_shared_library", | 34 "//mojo/public/c/system:for_shared_library", |
| 35 "//mojo/services/public/cpp/view_manager", | 35 "//mojo/services/public/cpp/view_manager", |
| 36 "//mojo/services/public/interfaces/input_events", | 36 "//mojo/services/public/interfaces/input_events", |
| 37 "//mojo/services/window_manager:lib", | 37 "//mojo/services/window_manager:lib", |
| 38 "//mojo/views:views", | 38 "//mojo/views:views", |
| 39 ] | 39 ] |
| 40 } | 40 } |
| 41 | 41 |
| 42 shared_library("app") { | 42 shared_library("app") { |
| 43 output_name = "wm_flow_app" | 43 output_name = "mojo_wm_flow_app" |
| 44 | 44 |
| 45 sources = [ | 45 sources = [ |
| 46 "app/app.cc", | 46 "app/app.cc", |
| 47 ] | 47 ] |
| 48 | 48 |
| 49 deps = [ | 49 deps = [ |
| 50 ":embedder_bindings", | 50 ":embedder_bindings", |
| 51 ":embeddee_bindings", | 51 ":embeddee_bindings", |
| 52 "//base", | 52 "//base", |
| 53 "//mojo/application", | 53 "//mojo/application", |
| 54 "//mojo/examples/bitmap_uploader", | 54 "//mojo/examples/bitmap_uploader", |
| 55 "//mojo/public/c/system:for_shared_library", | 55 "//mojo/public/c/system:for_shared_library", |
| 56 "//mojo/public/interfaces/application:application", | 56 "//mojo/public/interfaces/application:application", |
| 57 "//mojo/services/public/cpp/view_manager", | 57 "//mojo/services/public/cpp/view_manager", |
| 58 "//mojo/services/window_manager:lib", | 58 "//mojo/services/window_manager:lib", |
| 59 ] | 59 ] |
| 60 } | 60 } |
| 61 | 61 |
| 62 shared_library("embedded") { | 62 shared_library("embedded") { |
| 63 output_name = "wm_flow_embedded" | 63 output_name = "mojo_wm_flow_embedded" |
| 64 | 64 |
| 65 sources = [ | 65 sources = [ |
| 66 "embedded/embedded.cc", | 66 "embedded/embedded.cc", |
| 67 ] | 67 ] |
| 68 | 68 |
| 69 deps = [ | 69 deps = [ |
| 70 ":embeddee_bindings", | 70 ":embeddee_bindings", |
| 71 ":embedder_bindings", | 71 ":embedder_bindings", |
| 72 "//base", | 72 "//base", |
| 73 "//mojo/application", | 73 "//mojo/application", |
| 74 "//mojo/examples/bitmap_uploader", | 74 "//mojo/examples/bitmap_uploader", |
| 75 "//mojo/public/c/system:for_shared_library", | 75 "//mojo/public/c/system:for_shared_library", |
| 76 "//mojo/services/public/cpp/view_manager", | 76 "//mojo/services/public/cpp/view_manager", |
| 77 "//mojo/services/window_manager:lib", | 77 "//mojo/services/window_manager:lib", |
| 78 ] | 78 ] |
| 79 } | 79 } |
| 80 | 80 |
| 81 mojom("embedder_bindings") { | 81 mojom("embedder_bindings") { |
| 82 sources = [ | 82 sources = [ |
| 83 "app/embedder.mojom", | 83 "app/embedder.mojom", |
| 84 ] | 84 ] |
| 85 } | 85 } |
| 86 | 86 |
| 87 mojom("embeddee_bindings") { | 87 mojom("embeddee_bindings") { |
| 88 sources = [ | 88 sources = [ |
| 89 "embedded/embeddee.mojom", | 89 "embedded/embeddee.mojom", |
| 90 ] | 90 ] |
| 91 } | 91 } |
| OLD | NEW |