summaryrefslogtreecommitdiff
path: root/chromium/components/embedder_support/BUILD.gn
blob: 9076e0a1dcf222eb88b0c61e5ff4f90134dd2e79 (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 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 = []

  deps = []

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