OLD | NEW |
(Empty) | |
| 1 # Copyright 2015 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/android/rules.gni") |
| 6 import("//testing/test.gni") |
| 7 |
| 8 assert(is_android) |
| 9 |
| 10 component("android") { |
| 11 output_name = "android_window" |
| 12 sources = [ |
| 13 "platform_window_android.cc", |
| 14 "platform_window_android.h", |
| 15 ] |
| 16 |
| 17 defines = [ "ANDROID_WINDOW_IMPLEMENTATION" ] |
| 18 |
| 19 deps = [ |
| 20 "//base", |
| 21 "//skia", |
| 22 "//ui/events:events_base", |
| 23 "//ui/gfx", |
| 24 "//ui/gfx/geometry", |
| 25 ":jni_headers", |
| 26 ":platform_window_java", |
| 27 ] |
| 28 } |
| 29 |
| 30 generate_jni("jni_headers") { |
| 31 sources = [ |
| 32 "java/src/org/chromium/ui/PlatformWindowAndroid.java", |
| 33 ] |
| 34 jni_package = "android_window" |
| 35 } |
| 36 |
| 37 android_library("platform_window_java") { |
| 38 java_files = [ "java/src/org/chromium/ui/PlatformWindowAndroid.java" ] |
| 39 deps = [ |
| 40 "//base:base_java", |
| 41 ] |
| 42 } |
OLD | NEW |