summaryrefslogtreecommitdiff
path: root/chromium/components/embedder_support/BUILD.gn
blob: 647bd364620fd2682fe187b7d46e6552eca90755 (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
# 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.

static_library("embedder_support") {
  sources = [
    "pref_names.cc",
    "pref_names.h",
    "switches.cc",
    "switches.h",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "origin_trials/origin_trial_policy_impl_unittest.cc" ]

  deps = [
    "//base",
    "//base/test:test_support",
    "//components/embedder_support",
    "//components/embedder_support/origin_trials",
    "//testing/gtest",
  ]

  if (is_android) {
    sources += [ "android/util/url_utilities_unittest.cc" ]
    deps += [
      "android:native_j_unittests_jni_headers",
      "android:native_java_unittests_java",
      "android:util",
    ]
  }
}