Revert of Revert of Update V8 to version 4.5.61. (patchset #1 id:1 of https://coderev...
[chromium-blink-merge.git] / components / web_contents_delegate_android.gypi
blob17a3f5f71fe6918941460c3afacfd9f43eef3db9
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
7   'conditions': [
8     ['OS=="android"', {
9       'targets': [
10         {
11           # GN: //components/web_contents_delegate_android:web_contents_delegate_android
12           'target_name': 'web_contents_delegate_android',
13           'type': 'static_library',
14           'dependencies': [
15             '../base/base.gyp:base',
16             '../content/content.gyp:content_browser',
17             '../content/content.gyp:content_common',
18             '../net/net.gyp:net',
19             '../skia/skia.gyp:skia',
20             '../ui/android/ui_android.gyp:ui_android',
21             '../ui/base/ui_base.gyp:ui_base',
22             '../ui/gfx/gfx.gyp:gfx',
23             '../ui/gfx/gfx.gyp:gfx_geometry',
24             'web_contents_delegate_android_jni_headers',
25           ],
26           'include_dirs': [
27             '..',
28             '../skia/config',
29           ],
30           'sources': [
31             'web_contents_delegate_android/color_chooser_android.cc',
32             'web_contents_delegate_android/color_chooser_android.h',
33             'web_contents_delegate_android/component_jni_registrar.cc',
34             'web_contents_delegate_android/component_jni_registrar.h',
35             'web_contents_delegate_android/validation_message_bubble_android.cc',
36             'web_contents_delegate_android/validation_message_bubble_android.h',
37             'web_contents_delegate_android/web_contents_delegate_android.cc',
38             'web_contents_delegate_android/web_contents_delegate_android.h',
39           ],
40         },
41         {
42           # GN: //components/web_contents_delegate_android:web_contents_delegate_android_java
43           # and //components/web_contents_delegate_android:web_contents_delegate_android_java_resources
44           'target_name': 'web_contents_delegate_android_java',
45           'type': 'none',
46           'dependencies': [
47             '../base/base.gyp:base',
48             '../content/content.gyp:content_java',
49             '../ui/android/ui_android.gyp:ui_java',
50           ],
51           'variables': {
52             'java_in_dir': 'web_contents_delegate_android/android/java',
53             'has_java_resources': 1,
54             'R_package': 'org.chromium.components.web_contents_delegate_android',
55             'R_package_relpath': 'org/chromium/components/web_contents_delegate_android',
56           },
57           'includes': [ '../build/java.gypi' ],
58         },
59         {
60           # GN: //components/web_contents_delegate_android:web_contents_delegate_android_jni_headers
61           'target_name': 'web_contents_delegate_android_jni_headers',
62           'type': 'none',
63           'sources': [
64             'web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ColorChooserAndroid.java',
65             'web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ValidationMessageBubble.java',
66             'web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java',
67           ],
68           'variables': {
69             'jni_gen_package': 'web_contents_delegate_android',
70           },
71           'includes': [ '../build/jni_generator.gypi' ],
72         },
73       ],
74     }],
75   ],