Index: tools/gn/config_values.h |
diff --git a/tools/gn/config_values.h b/tools/gn/config_values.h |
index b6592cfcd04ccea828f436b8ce6b6e496af7e38b..823f1df9fc4b4a4f0359c8968a3d310e34790689 100644 |
--- a/tools/gn/config_values.h |
+++ b/tools/gn/config_values.h |
@@ -9,6 +9,7 @@ |
#include <vector> |
#include "base/macros.h" |
+#include "tools/gn/lib_file.h" |
#include "tools/gn/source_dir.h" |
#include "tools/gn/source_file.h" |
@@ -39,12 +40,14 @@ class ConfigValues { |
DIR_VALUES_ACCESSOR (include_dirs) |
STRING_VALUES_ACCESSOR(ldflags) |
DIR_VALUES_ACCESSOR (lib_dirs) |
- STRING_VALUES_ACCESSOR(libs) |
// If you add a new one, be sure to update AppendValues(). |
#undef STRING_VALUES_ACCESSOR |
#undef DIR_VALUES_ACCESSOR |
+ const std::vector<LibFile>& libs() const { return libs_; } |
+ std::vector<LibFile>& libs() { return libs_; } |
+ |
bool has_precompiled_headers() const { |
return !precompiled_header_.empty() || !precompiled_source_.is_null(); |
} |
@@ -72,7 +75,7 @@ class ConfigValues { |
std::vector<SourceDir> include_dirs_; |
std::vector<std::string> ldflags_; |
std::vector<SourceDir> lib_dirs_; |
- std::vector<std::string> libs_; |
+ std::vector<LibFile> libs_; |
// If you add a new one, be sure to update AppendValues(). |
std::string precompiled_header_; |