Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / sync / sync_android.gypi
blobc71dfdcc13e25e23691d16cfa48b0b7053a66056
1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
6   'conditions': [
7     ['OS == "android"', {
8       'targets': [
9         {
10           # GN: //sync/android:sync_java
11           'target_name': 'sync_java',
12           'type': 'none',
13           'variables': {
14             'java_in_dir': '../sync/android/java',
15           },
16           'dependencies': [
17             'model_type_java',
18             'sync_jni_headers',
19             '../base/base.gyp:base_java',
20             '../net/net.gyp:net_java',
21             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_javalib',
22             '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib',
23           ],
24           'includes': [ '../build/java.gypi' ],
25         },
26         {
27           'target_name': 'sync_jni_headers',
28           'type': 'none',
29           'sources': [
30             'android/java/src/org/chromium/sync/ModelTypeHelper.java',
31           ],
32           'variables': {
33             'jni_gen_package': 'sync',
34           },
35           'includes': [ '../build/jni_generator.gypi' ],
36         },
37         {
38           # GN: //chrome/android:chrome_android_java_enums_srcjar
39           'target_name': 'model_type_java',
40           'type': 'none',
41           'variables': {
42             'source_file': 'internal_api/public/base/model_type.h',
43           },
44           'includes': [ '../build/android/java_cpp_enum.gypi' ],
45         },
46       ],
47     }],
48   ],