OLD | NEW |
| (Empty) |
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. | |
4 | |
5 { | |
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 'stop_source_java', | |
19 'sync_jni_headers', | |
20 '../base/base.gyp:base_java', | |
21 '../net/net.gyp:net_java', | |
22 '../third_party/android_tools/android_tools.gyp:google_play_services
_javalib', | |
23 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalid
ation_javalib', | |
24 '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib', | |
25 ], | |
26 'includes': [ '../build/java.gypi' ], | |
27 }, | |
28 { | |
29 'target_name': 'sync_jni_headers', | |
30 'type': 'none', | |
31 'sources': [ | |
32 'android/java/src/org/chromium/sync/ModelTypeHelper.java', | |
33 ], | |
34 'variables': { | |
35 'jni_gen_package': 'sync', | |
36 }, | |
37 'includes': [ '../build/jni_generator.gypi' ], | |
38 }, | |
39 # GN: //sync/android:java_enums | |
40 { | |
41 'target_name': 'model_type_java', | |
42 'type': 'none', | |
43 'variables': { | |
44 'source_file': 'internal_api/public/base/model_type.h', | |
45 }, | |
46 'includes': [ '../build/android/java_cpp_enum.gypi' ], | |
47 }, | |
48 { | |
49 'target_name': 'stop_source_java', | |
50 'type': 'none', | |
51 'variables': { | |
52 'source_file': 'internal_api/public/base/stop_source.h', | |
53 }, | |
54 'includes': [ '../build/android/java_cpp_enum.gypi' ], | |
55 }, | |
56 ], | |
57 }], | |
58 ], | |
59 } | |
OLD | NEW |