summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/thumbnail/BUILD.gn
blob: 2388bac2d900cb7161c4f381f1ca64c6a0989bb9 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright 2019 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.

if (is_android) {
  import("//build/config/android/config.gni")
  import("//build/config/android/rules.gni")
  import("//third_party/protobuf/proto_library.gni")
}

group("thumbnail") {
  public_deps = [ "//chrome/browser/thumbnail/generator" ]

  if (is_android) {
    public_deps += [ "//chrome/browser/thumbnail/cc" ]
  }
}

if (is_android) {
  java_group("java") {
    deps = [ "//chrome/browser/thumbnail/generator:java" ]
  }

  group("unit_tests") {
    testonly = true

    deps = [ "//chrome/browser/thumbnail/cc:unit_tests" ]
  }

  java_group("javatests") {
    testonly = true

    deps = [ "//chrome/browser/thumbnail/generator:javatests" ]
  }

  java_group("thumbnail_java_test_support") {
    testonly = true

    deps =
        [ "//chrome/browser/thumbnail/generator:generator_java_test_support" ]
  }

  group("test_support") {
    testonly = true

    public_deps = [ "//chrome/browser/thumbnail/generator:test_support" ]
  }
}