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

Side by Side 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 unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 if (is_android) { 5 if (is_android) {
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 import("//build/config/android/rules.gni") 7 import("//build/config/android/rules.gni")
8 } 8 }
9 9
10 static_library("security_state") { 10 static_library("core") {
11 sources = [ 11 sources = [
12 "security_state_model.cc", 12 "security_state.cc",
13 "security_state_model.h", 13 "security_state.h",
14 "security_state_model_client.h",
15 "switches.cc", 14 "switches.cc",
16 "switches.h", 15 "switches.h",
17 ] 16 ]
18 17
19 deps = [ 18 deps = [
20 "//base", 19 "//base",
21 "//net", 20 "//net",
22 ] 21 ]
23 } 22 }
24 23
25 if (is_android) { 24 if (is_android) {
26 java_cpp_enum("security_state_enums_java") { 25 java_cpp_enum("security_state_enums_java") {
27 sources = [ 26 sources = [
28 "security_state_model.h", 27 "security_state.h",
29 ] 28 ]
30 } 29 }
31 } 30 }
32 31
33 source_set("unit_tests") { 32 source_set("unit_tests") {
34 testonly = true 33 testonly = true
35 sources = [ 34 sources = [
36 "security_state_model_unittest.cc", 35 "security_state_unittest.cc",
37 ] 36 ]
38 37
39 deps = [ 38 deps = [
40 ":security_state", 39 ":core",
41 "//net:test_support", 40 "//net:test_support",
42 "//testing/gtest", 41 "//testing/gtest",
43 ] 42 ]
44 } 43 }
OLDNEW
« 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