OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
7 | 7 |
8 android_library("sync_java") { | 8 android_library("sync_java") { |
9 deps = [ | 9 deps = [ |
10 "//base:base_java", | 10 "//base:base_java", |
(...skipping 19 matching lines...) Expand all Loading... |
30 "//third_party/jsr-305:jsr_305_javalib", | 30 "//third_party/jsr-305:jsr_305_javalib", |
31 ] | 31 ] |
32 DEPRECATED_java_in_dir = "javatests/src" | 32 DEPRECATED_java_in_dir = "javatests/src" |
33 } | 33 } |
34 | 34 |
35 # GYP: //sync/sync_android.gypi:model_type_java | 35 # GYP: //sync/sync_android.gypi:model_type_java |
36 java_cpp_enum("java_enums") { | 36 java_cpp_enum("java_enums") { |
37 sources = [ | 37 sources = [ |
38 "//sync/internal_api/public/base/model_type.h", | 38 "//sync/internal_api/public/base/model_type.h", |
39 ] | 39 ] |
40 outputs = [ | |
41 "org/chromium/sync/ModelType.java", | |
42 ] | |
43 } | 40 } |
44 | 41 |
45 generate_jni("jni_headers") { | 42 generate_jni("jni_headers") { |
46 sources = [ | 43 sources = [ |
47 "java/src/org/chromium/sync/ModelTypeHelper.java", | 44 "java/src/org/chromium/sync/ModelTypeHelper.java", |
48 ] | 45 ] |
49 jni_package = "syncer" | 46 jni_package = "syncer" |
50 } | 47 } |
OLD | NEW |