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