naiveproxy/components/security_state/core/BUILD.gn
2018-08-14 22:19:20 +00:00

48 lines
857 B
Plaintext

# Copyright 2015 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")
}
static_library("core") {
sources = [
"features.cc",
"features.h",
"insecure_input_event_data.h",
"security_state.cc",
"security_state.h",
"security_state_ui.cc",
"security_state_ui.h",
]
public_deps = [
"//base",
"//net",
"//url",
]
}
if (is_android) {
java_cpp_enum("security_state_enums_java") {
sources = [
"security_state.h",
]
}
}
source_set("unit_tests") {
testonly = true
sources = [
"security_state_unittest.cc",
]
deps = [
":core",
"//net:test_support",
"//testing/gtest",
]
}