Index: tools/gn/target_generator.cc |
diff --git a/tools/gn/target_generator.cc b/tools/gn/target_generator.cc |
index cd633f200018d9d5bda1ed6813a7a78d88c0e47a..833b382e274147275463fa4b3cbc2577359c6ec8 100644 |
--- a/tools/gn/target_generator.cc |
+++ b/tools/gn/target_generator.cc |
@@ -183,17 +183,11 @@ bool TargetGenerator::FillDependentConfigs() { |
if (!FillGenericConfigs(variables::kAllDependentConfigs, |
&target_->all_dependent_configs())) |
return false; |
+ |
if (!FillGenericConfigs(variables::kPublicConfigs, |
&target_->public_configs())) |
return false; |
- // "public_configs" was previously named "direct_dependent_configs", fall |
- // back to that if public_configs was undefined. |
- if (!scope_->GetValue(variables::kPublicConfigs, false)) { |
- if (!FillGenericConfigs("direct_dependent_configs", |
- &target_->public_configs())) |
- return false; |
- } |
return true; |
} |