Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / ui / platform_window / android / BUILD.gn
blobf1448a40cbd2db82a71bcb0d02636cb8fa0df701
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.
5 import("//build/config/android/rules.gni")
6 import("//testing/test.gni")
8 assert(is_android)
10 component("android") {
11   output_name = "android_window"
12   sources = [
13     "platform_window_android.cc",
14     "platform_window_android.h",
15   ]
17   defines = [ "ANDROID_WINDOW_IMPLEMENTATION" ]
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   ]
30 generate_jni("jni_headers") {
31   sources = [
32     "java/src/org/chromium/ui/PlatformWindowAndroid.java",
33   ]
34   jni_package = "android_window"
37 android_library("platform_window_java") {
38   java_files = [ "java/src/org/chromium/ui/PlatformWindowAndroid.java" ]
39   deps = [
40     "//base:base_java",
41   ]