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 assert(use_aura) 8 9 # GYP version mojo/mojo_examples.gypi:mojo_aura_demo 10 shared_library("mojo_aura_demo") { 11 output_name = "mojo_aura_demo" 12 13 sources = [ 14 "aura_demo.cc" 15 ] 16 17 deps = [ 18 "//base", 19 "//cc", 20 "//ui/aura", 21 "//ui/base", 22 "//ui/compositor", 23 "//ui/gfx", 24 "//ui/gfx/geometry", 25 "//mojo/application", 26 "//mojo/common", 27 "//mojo/aura", 28 "//mojo/public/c/system:for_shared_library", 29 "//mojo/services/public/interfaces/geometry", 30 "//mojo/services/public/cpp/geometry", 31 "//mojo/services/public/cpp/view_manager", 32 ] 33 34 datadeps = [ ":init" ] 35 } 36 37 # GYP version mojo/mojo_examples.gypi:mojo_aura_demo_init 38 shared_library("init") { 39 output_name = "mojo_aura_demo_init" 40 41 sources = [ 42 "view_manager_init.cc", 43 ] 44 45 deps = [ 46 "//base", 47 "//mojo/application", 48 "//mojo/public/c/system:for_shared_library", 49 "//mojo/services/public/interfaces/view_manager", 50 ] 51 } 52