OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'conditions': [ | 6 'conditions': [ |
7 ['OS == "android"', { | 7 ['OS == "android"', { |
8 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 # GN: //sync/android:sync_java | 10 # GN: //sync/android:sync_java |
11 'target_name': 'sync_java', | 11 'target_name': 'sync_java', |
12 'type': 'none', | 12 'type': 'none', |
13 'variables': { | 13 'variables': { |
14 'java_in_dir': '../sync/android/java', | 14 'java_in_dir': '../sync/android/java', |
15 }, | 15 }, |
16 'dependencies': [ | 16 'dependencies': [ |
| 17 'model_type_java', |
| 18 'sync_jni_headers', |
17 '../base/base.gyp:base_java', | 19 '../base/base.gyp:base_java', |
18 '../net/net.gyp:net_java', | 20 '../net/net.gyp:net_java', |
19 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalid
ation_javalib', | 21 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalid
ation_javalib', |
20 '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib', | 22 '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib', |
21 ], | 23 ], |
22 'includes': [ '../build/java.gypi' ], | 24 'includes': [ '../build/java.gypi' ], |
23 }, | 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 }, |
24 ], | 46 ], |
25 }], | 47 }], |
26 ], | 48 ], |
27 } | 49 } |
OLD | NEW |