summaryrefslogtreecommitdiff
path: root/tools/aapt2/cmd/Compile.cpp
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2018-03-30 00:15:39 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-03-30 00:15:39 +0000
commit68c02569ef6a2dea1852e07a309f3c328044f890 (patch)
treead7d48069d5773ddeb38572dd610df6ea38c278f /tools/aapt2/cmd/Compile.cpp
parent1f481277cdb407bc91d45aed06606f75ad972e56 (diff)
parenta15c2a8957b9883cb293fdacaeabd7f2e037a0a5 (diff)
Merge "Check the size of the strings in the StringPool before flattening."
Diffstat (limited to 'tools/aapt2/cmd/Compile.cpp')
-rw-r--r--tools/aapt2/cmd/Compile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt2/cmd/Compile.cpp b/tools/aapt2/cmd/Compile.cpp
index 6ba9d441d186..1db63350670c 100644
--- a/tools/aapt2/cmd/Compile.cpp
+++ b/tools/aapt2/cmd/Compile.cpp
@@ -263,7 +263,7 @@ static bool CompileTable(IAaptContext* context, const CompileOptions& options,
ContainerWriter container_writer(&copying_adaptor, 1u);
pb::ResourceTable pb_table;
- SerializeTableToPb(table, &pb_table);
+ SerializeTableToPb(table, &pb_table, context->GetDiagnostics());
if (!container_writer.AddResTableEntry(pb_table)) {
context->GetDiagnostics()->Error(DiagMessage(output_path) << "failed to write");
return false;