Using pre-existing constants instead of hard-coding
[chromium-blink-merge.git] / components / web_contents_delegate_android.gypi
blobfdea3b76ee2e68777e8a1a23a30443969773e9ae
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           'target_name': 'web_contents_delegate_android',
12           'type': 'static_library',
13           'dependencies': [
14             '../base/base.gyp:base',
15             '../content/content.gyp:content_browser',
16             '../content/content.gyp:content_common',
17             '../net/net.gyp:net',
18             '../skia/skia.gyp:skia',
19             '../ui/base/ui_base.gyp:ui_base',
20             '../ui/gfx/gfx.gyp:gfx',
21             '../ui/gfx/gfx.gyp:gfx_geometry',
22             'web_contents_delegate_android_jni_headers',
23           ],
24           'include_dirs': [
25             '..',
26             '../skia/config',
27           ],
28           'sources': [
29             'web_contents_delegate_android/color_chooser_android.cc',
30             'web_contents_delegate_android/color_chooser_android.h',
31             'web_contents_delegate_android/component_jni_registrar.cc',
32             'web_contents_delegate_android/component_jni_registrar.h',
33             'web_contents_delegate_android/validation_message_bubble_android.cc',
34             'web_contents_delegate_android/validation_message_bubble_android.h',
35             'web_contents_delegate_android/web_contents_delegate_android.cc',
36             'web_contents_delegate_android/web_contents_delegate_android.h',
37           ],
38         },
39         {
40           'target_name': 'web_contents_delegate_android_java',
41           'type': 'none',
42           'dependencies': [
43             '../base/base.gyp:base',
44             '../content/content.gyp:content_java',
45           ],
46           'variables': {
47             'java_in_dir': 'web_contents_delegate_android/android/java',
48           },
49           'includes': [ '../build/java.gypi' ],
50         },
51         {
52           'target_name': 'web_contents_delegate_android_jni_headers',
53           'type': 'none',
54           'sources': [
55             'web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ColorChooserAndroid.java',
56             'web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ValidationMessageBubble.java',
57             'web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java',
58           ],
59           'variables': {
60             'jni_gen_package': 'web_contents_delegate_android',
61           },
62           'includes': [ '../build/jni_generator.gypi' ],
63         },
64       ],
65     }],
66   ],