diff options
author | Daniel Sievers <sievers@chromium.org> | 2015-08-20 11:55:10 -0700 |
---|---|---|
committer | Daniel Sievers <sievers@chromium.org> | 2015-08-20 18:56:43 +0000 |
commit | bbcffdc8d983ee6c5aac8c3c3d21686624049004 (patch) | |
tree | bcc7160c12027939257646406aeefa94b7aa9797 /ui/platform_window | |
parent | 0a7d81c3b6206e709b63da9cb81742f19ee1c706 (diff) | |
download | chromium_src-bbcffdc8d983ee6c5aac8c3c3d21686624049004.zip chromium_src-bbcffdc8d983ee6c5aac8c3c3d21686624049004.tar.gz chromium_src-bbcffdc8d983ee6c5aac8c3c3d21686624049004.tar.bz2 |
android: add gyp rules for platform android_window
You can currently build it with GN, but not .gyp.
BUG=
R=sadrul@chromium.org
Review URL: https://codereview.chromium.org/1299813003 .
Cr-Commit-Position: refs/heads/master@{#344552}
Diffstat (limited to 'ui/platform_window')
-rw-r--r-- | ui/platform_window/android/android_window.gyp | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/ui/platform_window/android/android_window.gyp b/ui/platform_window/android/android_window.gyp new file mode 100644 index 0000000..e982da8 --- /dev/null +++ b/ui/platform_window/android/android_window.gyp @@ -0,0 +1,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' ], + }], +} |