summaryrefslogtreecommitdiff
path: root/tools/aapt2/io/File.cpp
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2017-10-20 19:15:54 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-10-20 19:15:54 +0000
commit7fd74b5ad1df53b92f08a9aa2f3d445bf7b786fe (patch)
tree03bbf941ec0fead1ad64ba2acd06113486a612c1 /tools/aapt2/io/File.cpp
parent4bf7416a062af25574f548846e60e88df332cc55 (diff)
parente59f0d80ec19249f72c07ae191ad673d040443e3 (diff)
Merge changes I1a4b3ce5,Id7216e5b
* changes: AAPT2: Enable building proto artifacts AAPT2: Define and Implement AAPT Container Format
Diffstat (limited to 'tools/aapt2/io/File.cpp')
-rw-r--r--tools/aapt2/io/File.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/aapt2/io/File.cpp b/tools/aapt2/io/File.cpp
index ee737280ec81..b4f1ff3a5b49 100644
--- a/tools/aapt2/io/File.cpp
+++ b/tools/aapt2/io/File.cpp
@@ -39,5 +39,9 @@ std::unique_ptr<IData> FileSegment::OpenAsData() {
return {};
}
+std::unique_ptr<io::InputStream> FileSegment::OpenInputStream() {
+ return OpenAsData();
+}
+
} // namespace io
} // namespace aapt