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 import("//mojo/public/tools/bindings/mojom.gni") 7 8 assert(use_aura) 9 10 group("wm_flow" ) { 11 deps = [ 12 ":app", 13 ":embedded", 14 ":init", 15 ":wm", 16 ] 17 } 18 19 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_wm 20 shared_library("wm") { 21 output_name = "mojo_wm_flow_wm" 22 23 sources = [ 24 "wm/wm.cc", 25 "wm/frame_controller.cc", 26 "wm/frame_controller.h", 27 ] 28 29 deps = [ 30 "//base", 31 "//mojo/application", 32 "//mojo/public/c/system:for_shared_library", 33 "//mojo/services/public/cpp/view_manager", 34 "//mojo/services/window_manager:lib", 35 "//mojo/views", 36 ] 37 } 38 39 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_init 40 shared_library("init") { 41 output_name = "mojo_wm_flow_init" 42 43 sources = [ 44 "init/init.cc", 45 ] 46 47 deps = [ 48 "//base", 49 "//mojo/application", 50 "//mojo/public/c/system:for_shared_library", 51 "//mojo/services/public/cpp/view_manager", 52 "//mojo/services/public/interfaces/view_manager", 53 ] 54 } 55 56 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_app 57 shared_library("app") { 58 output_name = "mojo_wm_flow_app" 59 60 sources = [ 61 "app/app.cc", 62 ] 63 64 deps = [ 65 ":embedder_bindings", 66 ":embeddee_bindings", 67 "//base", 68 "//mojo/application", 69 "//mojo/public/c/system:for_shared_library", 70 "//mojo/services/public/cpp/view_manager", 71 "//mojo/services/window_manager:lib", 72 ] 73 } 74 75 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_embedded 76 shared_library("embedded") { 77 output_name = "mojo_wm_flow_embedded" 78 79 sources = [ 80 "embedded/embedded.cc", 81 ] 82 83 deps = [ 84 ":embedder_bindings", 85 ":embeddee_bindings", 86 "//base", 87 "//mojo/application", 88 "//mojo/public/c/system:for_shared_library", 89 "//mojo/services/public/cpp/view_manager", 90 "//mojo/services/window_manager:lib", 91 ] 92 } 93 94 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_embedder_bindings 95 mojom("embedder_bindings") { 96 sources = [ 97 "app/embedder.mojom", 98 ] 99 } 100 101 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_embeddee_bindings 102 mojom("embeddee_bindings") { 103 sources = [ 104 "embedded/embeddee.mojom", 105 ] 106 } 107