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 5import("//build/config/ui.gni") 6import("//mojo/public/tools/bindings/mojom.gni") 7 8assert(use_aura) 9 10# GYP version: mojo/mojo_examples.gypi:mojo_keyboard 11shared_library("keyboard") { 12 output_name = "mojo_keyboard" 13 14 sources = [ 15 "keyboard_delegate.h", 16 "keyboard_view.cc", 17 "keyboard_view.h", 18 "keyboard.cc", 19 "keys.cc", 20 "keys.h", 21 ] 22 23 deps = [ 24 ":bindings", 25 "//base", 26 "//cc", 27 "//mojo/application", 28 "//mojo/aura", 29 "//mojo/common", 30 "//mojo/public/c/system:for_shared_library", 31 "//mojo/services/public/cpp/geometry", 32 "//mojo/services/public/cpp/input_events", 33 "//mojo/services/public/cpp/view_manager", 34 "//mojo/services/public/interfaces/geometry", 35 "//mojo/services/public/interfaces/navigation", 36 "//mojo/services/public/interfaces/view_manager", 37 "//mojo/views", 38 "//third_party/icu", 39 "//ui/aura", 40 "//ui/base", 41 "//ui/compositor", 42 "//ui/gfx", 43 "//ui/gfx/geometry", 44 "//ui/resources", 45 "//ui/resources:ui_test_pak", 46 "//ui/views", 47 "//url", 48 ] 49} 50 51# GYP version: mojo/mojo_examples.gypi:mojo_keyboard_bindings 52mojom("bindings") { 53 sources = [ "keyboard.mojom" ] 54} 55 56