| # 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. |
| |
| import("//build/config/jumbo.gni") |
| |
| if (is_android) { |
| import("//build/config/android/config.gni") |
| import("//build/config/android/rules.gni") |
| } |
| |
| jumbo_static_library("core") { |
| sources = [ |
| "features.cc", |
| "features.h", |
| "insecure_input_event_data.h", |
| "security_state.cc", |
| "security_state.h", |
| ] |
| |
| public_deps = [ |
| "//base", |
| "//net", |
| "//url", |
| ] |
| } |
| |
| if (is_android) { |
| java_cpp_enum("security_state_enums_java") { |
| sources = [ |
| "security_state.h", |
| ] |
| } |
| } |
| |
| jumbo_source_set("unit_tests") { |
| testonly = true |
| sources = [ |
| "security_state_unittest.cc", |
| ] |
| |
| deps = [ |
| ":core", |
| "//net:test_support", |
| "//testing/gtest", |
| ] |
| } |