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

Unified Diff: components/security_state/BUILD.gn

Issue 1539043002: Pull SecurityStateModel out into a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 11 months 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
« no previous file with comments | « components/security_state.gypi ('k') | components/security_state/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/security_state/BUILD.gn
diff --git a/components/security_state/BUILD.gn b/components/security_state/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..68cd2827e09b3bc6563af508712999395f9e3e2e
--- /dev/null
+++ b/components/security_state/BUILD.gn
@@ -0,0 +1,50 @@
+# 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")
+}
+
+# GYP version: components/security_state.gyp
+source_set("security_state") {
+ sources = [
+ "security_state_model.cc",
+ "security_state_model.h",
+ "security_state_model_client.h",
+ "switches.cc",
+ "switches.h",
+ ]
+
+ deps = [
+ "//base",
+ "//net",
+ ]
+}
+
+if (is_android) {
+ # GYP: //components/security_state.gypi:security_state_enums_java
+ java_cpp_enum("security_state_enums_java") {
+ sources = [
+ "security_state_model.h",
+ ]
+ }
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "security_state_model_unittest.cc",
+ ]
+
+ deps = [
+ ":security_state",
+ "//net:test_support",
+ "//testing/gtest",
+ ]
+
+ data = [
+ "//net/data/",
+ ]
+}
« no previous file with comments | « components/security_state.gypi ('k') | components/security_state/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698