summaryrefslogtreecommitdiff
path: root/chromium/components/variations/android/BUILD.gn
blob: ae5831c9098158a2f460c35707531228e9dfaca6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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/rules.gni")

android_library("variations_java") {
  deps = [
    "//base:base_java",
    "//base:jni_java",
    "//third_party/android_deps:androidx_legacy_legacy_support_core_utils_java",
  ]
  annotation_processor_deps = [ "//base/android/jni_generator:jni_processor" ]
  sources = [
    "java/src/org/chromium/components/variations/VariationsAssociatedData.java",
    "java/src/org/chromium/components/variations/firstrun/VariationsSeedBridge.java",
    "java/src/org/chromium/components/variations/firstrun/VariationsSeedFetcher.java",
  ]
}

junit_binary("components_variations_junit_tests") {
  sources = [ "junit/src/org/chromium/components/variations/firstrun/VariationsSeedFetcherTest.java" ]
  deps = [
    ":variations_java",
    "//base:base_java",
    "//base:base_java_test_support",
    "//base:base_junit_test_support",
    "//third_party/hamcrest:hamcrest_java",
  ]
}