Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(594)

Unified Diff: components/security_state/core/BUILD.gn

Issue 2448943002: Refactor SecurityStateModel/Clients for simplicity and reusability. (Closed)
Patch Set: sync. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/security_state/core/BUILD.gn
diff --git a/components/security_state/BUILD.gn b/components/security_state/core/BUILD.gn
similarity index 72%
rename from components/security_state/BUILD.gn
rename to components/security_state/core/BUILD.gn
index 9eab4a3a0aaa8db810059f9efd5c72bc9816adaa..3ce60b7059395e87a8513a554b8cb4c9ed6b24fa 100644
--- a/components/security_state/BUILD.gn
+++ b/components/security_state/core/BUILD.gn
@@ -7,11 +7,10 @@ if (is_android) {
import("//build/config/android/rules.gni")
}
-static_library("security_state") {
+static_library("core") {
sources = [
- "security_state_model.cc",
- "security_state_model.h",
- "security_state_model_client.h",
+ "security_state.cc",
+ "security_state.h",
"switches.cc",
"switches.h",
]
@@ -25,7 +24,7 @@ static_library("security_state") {
if (is_android) {
java_cpp_enum("security_state_enums_java") {
sources = [
- "security_state_model.h",
+ "security_state.h",
]
}
}
@@ -33,11 +32,11 @@ if (is_android) {
source_set("unit_tests") {
testonly = true
sources = [
- "security_state_model_unittest.cc",
+ "security_state_unittest.cc",
]
deps = [
- ":security_state",
+ ":core",
"//net:test_support",
"//testing/gtest",
]
« no previous file with comments | « components/security_state/content/testdata/hello.html ('k') | components/security_state/core/security_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698