[email protected] | 9a344906 | 2012-11-14 14:05:14 | [diff] [blame] | 1 | # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 | # |
| 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
| 5 | |
| 6 | { |
| 7 | 'conditions': [ |
| 8 | ['OS=="android"', { |
| 9 | 'targets': [ |
| 10 | { |
cjhopman | 11a68cb | 2014-10-13 22:47:54 | [diff] [blame] | 11 | # GN: //components/web_contents_delegate_android:web_contents_delegate_android |
[email protected] | 9a344906 | 2012-11-14 14:05:14 | [diff] [blame] | 12 | 'target_name': 'web_contents_delegate_android', |
| 13 | 'type': 'static_library', |
| 14 | 'dependencies': [ |
| 15 | '../base/base.gyp:base', |
[email protected] | 434a132 | 2013-01-12 23:04:31 | [diff] [blame] | 16 | '../content/content.gyp:content_browser', |
| 17 | '../content/content.gyp:content_common', |
[email protected] | 9a344906 | 2012-11-14 14:05:14 | [diff] [blame] | 18 | '../net/net.gyp:net', |
| 19 | '../skia/skia.gyp:skia', |
[email protected] | ed8fd915 | 2014-03-13 10:20:37 | [diff] [blame] | 20 | '../ui/base/ui_base.gyp:ui_base', |
[email protected] | 529a3cf | 2013-09-30 02:47:48 | [diff] [blame] | 21 | '../ui/gfx/gfx.gyp:gfx', |
[email protected] | b5e2d78 | 2013-12-18 21:01:15 | [diff] [blame] | 22 | '../ui/gfx/gfx.gyp:gfx_geometry', |
[email protected] | 9a344906 | 2012-11-14 14:05:14 | [diff] [blame] | 23 | 'web_contents_delegate_android_jni_headers', |
| 24 | ], |
| 25 | 'include_dirs': [ |
| 26 | '..', |
| 27 | '../skia/config', |
[email protected] | 9a344906 | 2012-11-14 14:05:14 | [diff] [blame] | 28 | ], |
| 29 | 'sources': [ |
[email protected] | 434a132 | 2013-01-12 23:04:31 | [diff] [blame] | 30 | 'web_contents_delegate_android/color_chooser_android.cc', |
| 31 | 'web_contents_delegate_android/color_chooser_android.h', |
| 32 | 'web_contents_delegate_android/component_jni_registrar.cc', |
| 33 | 'web_contents_delegate_android/component_jni_registrar.h', |
[email protected] | edc3af8 | 2013-12-12 21:24:07 | [diff] [blame] | 34 | 'web_contents_delegate_android/validation_message_bubble_android.cc', |
| 35 | 'web_contents_delegate_android/validation_message_bubble_android.h', |
[email protected] | 434a132 | 2013-01-12 23:04:31 | [diff] [blame] | 36 | 'web_contents_delegate_android/web_contents_delegate_android.cc', |
| 37 | 'web_contents_delegate_android/web_contents_delegate_android.h', |
[email protected] | 9a344906 | 2012-11-14 14:05:14 | [diff] [blame] | 38 | ], |
| 39 | }, |
| 40 | { |
cjhopman | 11a68cb | 2014-10-13 22:47:54 | [diff] [blame] | 41 | # GN: //components/web_contents_delegate_android:web_contents_delegate_android_java |
[email protected] | 9a344906 | 2012-11-14 14:05:14 | [diff] [blame] | 42 | 'target_name': 'web_contents_delegate_android_java', |
| 43 | 'type': 'none', |
| 44 | 'dependencies': [ |
| 45 | '../base/base.gyp:base', |
[email protected] | 434a132 | 2013-01-12 23:04:31 | [diff] [blame] | 46 | '../content/content.gyp:content_java', |
[email protected] | 9a344906 | 2012-11-14 14:05:14 | [diff] [blame] | 47 | ], |
| 48 | 'variables': { |
[email protected] | 434a132 | 2013-01-12 23:04:31 | [diff] [blame] | 49 | 'java_in_dir': 'web_contents_delegate_android/android/java', |
[email protected] | 9a344906 | 2012-11-14 14:05:14 | [diff] [blame] | 50 | }, |
| 51 | 'includes': [ '../build/java.gypi' ], |
| 52 | }, |
| 53 | { |
cjhopman | 11a68cb | 2014-10-13 22:47:54 | [diff] [blame] | 54 | # GN: //components/web_contents_delegate_android:web_contents_delegate_android_jni_headers |
[email protected] | 9a344906 | 2012-11-14 14:05:14 | [diff] [blame] | 55 | 'target_name': 'web_contents_delegate_android_jni_headers', |
| 56 | 'type': 'none', |
| 57 | 'sources': [ |
[email protected] | 434a132 | 2013-01-12 23:04:31 | [diff] [blame] | 58 | 'web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ColorChooserAndroid.java', |
[email protected] | edc3af8 | 2013-12-12 21:24:07 | [diff] [blame] | 59 | 'web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ValidationMessageBubble.java', |
[email protected] | 434a132 | 2013-01-12 23:04:31 | [diff] [blame] | 60 | 'web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java', |
[email protected] | 9a344906 | 2012-11-14 14:05:14 | [diff] [blame] | 61 | ], |
| 62 | 'variables': { |
[email protected] | 521cd94 | 2013-03-07 22:34:05 | [diff] [blame] | 63 | 'jni_gen_package': 'web_contents_delegate_android', |
[email protected] | 9a344906 | 2012-11-14 14:05:14 | [diff] [blame] | 64 | }, |
| 65 | 'includes': [ '../build/jni_generator.gypi' ], |
| 66 | }, |
| 67 | ], |
| 68 | }], |
| 69 | ], |
| 70 | } |