Index: components/wifi_sync/BUILD.gn |
diff --git a/components/wifi_sync/BUILD.gn b/components/wifi_sync/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ef79cdf3f56d8de206ff06875132587587a91524 |
--- /dev/null |
+++ b/components/wifi_sync/BUILD.gn |
@@ -0,0 +1,47 @@ |
+# Copyright 2014 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. |
+ |
+source_set("wifi_sync") { |
+ sources = [ |
+ "wifi_credential.cc", |
+ "wifi_credential.h", |
+ "wifi_credential_syncable_service.cc", |
+ "wifi_credential_syncable_service.h", |
+ "wifi_credential_syncable_service_factory.cc", |
+ "wifi_credential_syncable_service_factory.h", |
+ "wifi_security_class.h", |
+ ] |
+ |
+ deps = [ |
+ "//base", |
+ "//sync", |
+ ] |
+ |
+ if (is_chromeos) { |
+ sources += [ |
+ "network_state_helper_chromeos.cc", |
+ "network_state_helper_chromeos.h", |
+ "wifi_security_class_chromeos.cc", |
+ ] |
+ } |
+} |
+ |
+source_set("unit_tests") { |
+ testonly = true |
+ |
+ deps = [ |
+ ":wifi_sync", |
+ "//components/user_manager", |
mukesh agrawal
2014/12/03 01:44:43
Stray dependency. Will be removed in PS8.
mukesh agrawal
2014/12/03 01:47:04
Er, make that PS9.
|
+ "//testing/gtest", |
+ ] |
+ |
+ sources = [ |
+ ] |
+ |
+ if (is_chromeos) { |
+ sources += [ |
+ "wifi_security_class_chromeos_unittest.cc", |
+ ] |
+ } |
+} |