blob: 3010fbe7993f8d2e57d20078e683fc1f20031300 [file] [log] [blame]
# 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",
"//mojo/core/embedder:embedder",
"//net:net",
"//net/traffic_annotation:test_support",
"//services/network:test_support",
"//testing/gtest",
"//third_party/blink/public/mojom:mojom_platform_headers",
]
if (is_android) {
sources += [
"android/util/android_stream_reader_url_loader_unittest.cc",
"android/util/input_stream_reader_unittest.cc",
"android/util/input_stream_unittest.cc",
]
deps += [
"android:native_j_unittests_jni_headers",
"android:native_java_unittests_java",
"android:util",
]
}
}