Index: third_party/libphonenumber/BUILD.gn |
diff --git a/third_party/libphonenumber/BUILD.gn b/third_party/libphonenumber/BUILD.gn |
index 26386a64bac43d21758c8778577920d146621ed8..22d13475be5fc88f86d5a4ddf3901e55834c4771 100644 |
--- a/third_party/libphonenumber/BUILD.gn |
+++ b/third_party/libphonenumber/BUILD.gn |
@@ -49,15 +49,16 @@ static_library("libphonenumber_without_metadata") { |
configs -= [ "//build/config/compiler:chromium_code" ] |
configs += [ "//build/config/compiler:no_chromium_code" ] |
- direct_dependent_configs = [ ":libphonenumber_config" ] |
+ public_configs = [ ":libphonenumber_config" ] |
+ public_deps = [ |
+ ":proto", |
+ ] |
deps = [ |
":proto", |
"//third_party/icu", |
"//third_party/protobuf:protobuf_lite", |
] |
- |
- forward_dependent_configs_from = [ ":proto" ] |
} |
# Library used by clients that includes production metadata. |
@@ -70,10 +71,9 @@ static_library("libphonenumber") { |
#"src/phonenumbers/metadata.cc", |
] |
- deps = [ |
+ public_deps = [ |
":libphonenumber_without_metadata", |
] |
- forward_dependent_configs_from = deps |
} |
# GYP version: third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests |