Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / components / autofill / core / browser / BUILD.gn
index acda944..b31e90f 100644 (file)
@@ -17,7 +17,7 @@ config("autofill_browser_config") {
 
 # GYP version: components/autofill.gyp:autofill_regexes
 action("regexes") {
-  visibility = "//components/autofill/*"
+  visibility = [ "//components/autofill/*" ]
   script = "//build/escape_unicode.py"
 
   inputs = [
@@ -149,16 +149,14 @@ static_library("browser") {
     "//third_party/icu",
     "//third_party/libaddressinput:util",
     "//third_party/libphonenumber",
+    "//third_party/libjingle",
     "//ui/base",
     "//ui/gfx",
     "//ui/gfx/geometry",
     "//url",
-    # TODO(GYP) also remove libjingle_stub_config below when this is added:
-    #'../third_party/libjingle/libjingle.gyp:libjingle',  TODO(GYP)
   ]
 
-  configs += [ "//content:libjingle_stub_config" ]
-  direct_dependent_configs = [ ":autofill_browser_config" ]
+  public_configs = [ ":autofill_browser_config" ]
 
   if (autofill_enable_sync) {
     deps += [ "//sync" ]
@@ -176,6 +174,7 @@ static_library("browser") {
 }
 
 static_library("test_support") {
+  testonly = true
   sources = [
     "autofill_test_utils.cc",
     "autofill_test_utils.h",
@@ -201,6 +200,7 @@ static_library("test_support") {
 }
 
 source_set("unit_tests") {
+  testonly = true
   sources = [
     "address_field_unittest.cc",
     "address_unittest.cc",
@@ -235,8 +235,6 @@ source_set("unit_tests") {
     "webdata/web_data_service_unittest.cc",
   ]
 
-  configs += [ "//content:libjingle_stub_config" ]
-
   deps = [
     ":browser",
     ":test_support",
@@ -244,6 +242,6 @@ source_set("unit_tests") {
     "//components/strings",
     "//testing/gmock",
     "//third_party/libphonenumber",
-    #'../third_party/libjingle/libjingle.gyp:libjingle',  TODO(GYP)
+    "//third_party/libjingle"
   ]
 }