mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-11 06:36:11 +03:00
72 lines
2.8 KiB
Plaintext
72 lines
2.8 KiB
Plaintext
# Copyright 2014 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import("//build/config/android/config.gni")
|
|
import("//build/config/android/rules.gni")
|
|
|
|
android_library("sync_java") {
|
|
deps = [
|
|
"//base:base_java",
|
|
"//components/signin/core/browser/android:java",
|
|
"//net/android:net_java",
|
|
"//third_party/android_tools:android_gcm_java",
|
|
"//third_party/android_tools:android_support_annotations_java",
|
|
"//third_party/cacheinvalidation:cacheinvalidation_javalib",
|
|
"//third_party/cacheinvalidation:cacheinvalidation_proto_java",
|
|
"//third_party/jsr-305:jsr_305_javalib",
|
|
]
|
|
srcjar_deps = [ ":java_enums" ]
|
|
java_files = [
|
|
"java/src/org/chromium/components/sync/AndroidSyncSettings.java",
|
|
"java/src/org/chromium/components/sync/ModelTypeHelper.java",
|
|
"java/src/org/chromium/components/sync/PassphraseType.java",
|
|
"java/src/org/chromium/components/sync/SyncConstants.java",
|
|
"java/src/org/chromium/components/sync/SyncContentResolverDelegate.java",
|
|
"java/src/org/chromium/components/sync/SystemSyncContentResolverDelegate.java",
|
|
"java/src/org/chromium/components/sync/notifier/InvalidationClientNameGenerator.java",
|
|
"java/src/org/chromium/components/sync/notifier/InvalidationClientNameProvider.java",
|
|
"java/src/org/chromium/components/sync/notifier/InvalidationIntentProtocol.java",
|
|
"java/src/org/chromium/components/sync/notifier/InvalidationPreferences.java",
|
|
"java/src/org/chromium/components/sync/notifier/RandomizedInvalidationClientNameGenerator.java",
|
|
]
|
|
}
|
|
|
|
android_library("sync_javatests") {
|
|
testonly = true
|
|
deps = [
|
|
":sync_java",
|
|
"//base:base_java",
|
|
"//base:base_java_test_support",
|
|
"//components/signin/core/browser/android:java",
|
|
"//components/signin/core/browser/android:signin_java_test_support",
|
|
"//components/sync:sync_java_test_support",
|
|
"//third_party/android_support_test_runner:runner_java",
|
|
"//third_party/cacheinvalidation:cacheinvalidation_javalib",
|
|
"//third_party/cacheinvalidation:cacheinvalidation_proto_java",
|
|
"//third_party/jsr-305:jsr_305_javalib",
|
|
"//third_party/junit",
|
|
]
|
|
java_files = [
|
|
"javatests/src/org/chromium/components/sync/AndroidSyncSettingsTest.java",
|
|
"javatests/src/org/chromium/components/sync/notifier/InvalidationClientNameProviderTest.java",
|
|
"javatests/src/org/chromium/components/sync/notifier/InvalidationPreferencesTest.java",
|
|
]
|
|
}
|
|
|
|
java_cpp_enum("java_enums") {
|
|
sources = [
|
|
"//components/sync/base/model_type.h",
|
|
"//components/sync/base/stop_source.h",
|
|
"//components/sync/driver/sync_service_utils.h",
|
|
"//components/sync/protocol/sync_protocol_error.h",
|
|
]
|
|
}
|
|
|
|
generate_jni("jni_headers") {
|
|
sources = [
|
|
"java/src/org/chromium/components/sync/ModelTypeHelper.java",
|
|
]
|
|
jni_package = "syncer"
|
|
}
|