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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# 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 = [
"insecure_input_event_data.h",
"security_state.cc",
"security_state.h",
]
public_deps = [
":features",
"//base",
"//net",
"//url",
]
deps = [ "//services/network/public/cpp" ]
}
if (is_android) {
java_cpp_enum("security_state_enums") {
sources = [ "security_state.h" ]
}
android_library("security_state_enums_java") {
srcjar_deps = [ ":security_state_enums" ]
deps = [ "//third_party/androidx:androidx_annotation_annotation_java" ]
}
}
jumbo_source_set("unit_tests") {
testonly = true
sources = [ "security_state_unittest.cc" ]
deps = [
":core",
":features",
"//net:test_support",
"//testing/gtest",
]
}
component("features") {
output_name = "security_state_features"
defines = [ "IS_SECURITY_STATE_FEATURES_IMPL" ]
sources = [
"features.cc",
"features.h",
]
deps = [ "//base" ]
}
|