DescriptionAura on Android: fix mangling of definitions in jni.h by Byte definition in zlib.
In image_writer_private_api.cc the operation_manager.h -> operation.h -> zip_reader.h -> minizip/unzip.h -> zlib.h -> zconf.h -> mozconff.h include path defines "Byte" as "MOZ_Z_Byte", which mangles some of the definitions in jni.h which is indirectly included by profile.h. This causes some compile errors.
This patch tries to solve this problem by forward declaring zip::ZipReader in operation.h and including zip_reader.h in operation.cc instead of operation.h.
BUG=554199
Committed: https://crrev.com/83deb42017ace10596869a7f9200cd80943492a4
Cr-Commit-Position: refs/heads/master@{#360076}
Patch Set 1 #Patch Set 2 : Addressed feedback" #Patch Set 3 : Rebase. #
Total comments: 2
Patch Set 4 : Addressed feedback from patch set 3. #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 20 (5 generated)
|