summaryrefslogtreecommitdiffstats
path: root/ui/platform_window/android/android_window.gyp
blob: e982da8436b7481a968375a7284762f12bfb717d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'variables': {
    'chromium_code': 1,
  },
  'targets': [{
    # GN version: //ui/platform_window/android:android_window
    'target_name': 'android_window',
    'type': '<(component)',
    'dependencies': [
      '../../../base/base.gyp:base',
      '../../../skia/skia.gyp:skia',
      '../../events/events.gyp:events',
      '../../events/events.gyp:events_base',
      '../../gfx/gfx.gyp:gfx',
      '../../gfx/gfx.gyp:gfx_geometry',
      '../platform_window.gyp:platform_window',
      'android_window_jni_headers',
      'android_window_java',
    ],
    'defines': [ 'ANDROID_WINDOW_IMPLEMENTATION' ],
    'sources': [
      'android_window_export.h',
      'platform_ime_controller_android.cc',
      'platform_ime_controller_android.h',
      'platform_window_android.cc',
      'platform_window_android.h',
    ],
  },
  {
    # GN version: //ui/platform_window/android:jni_headers
    'target_name': 'android_window_jni_headers',
    'type': 'none',
    'sources': [
      '../android/java/src/org/chromium/ui/PlatformImeControllerAndroid.java',
      '../android/java/src/org/chromium/ui/PlatformWindowAndroid.java',
    ],
    'variables': {
      'jni_gen_package': 'android_window',
    },
    'includes': [ '../../../build/jni_generator.gypi' ],
  },
  {
    # GN version: //ui/platform_window/android:platform_window_java
    'target_name': 'android_window_java',
    'type': 'none',
    'variables': {
      'java_in_dir': '../../../ui/platform_window/android/java',
    },
    'dependencies': [
      '../../../base/base.gyp:base_java',
    ],
    'includes': [ '../../../build/java.gypi' ],
  }],
}