OSDN Git Service

AAPT2: Fail compiling when private symbols are referenced
authorAdam Lesinski <adamlesinski@google.com>
Tue, 17 Nov 2015 01:35:44 +0000 (17:35 -0800)
committerAdam Lesinski <adamlesinski@google.com>
Thu, 19 Nov 2015 22:46:53 +0000 (14:46 -0800)
commit467f171315f9c2037fcd3eb5edcfabc40671bf7b
tree3b14762e3d9e42a660479d0d5722883b391f835b
parentabf83cbe4f63cd76043aab89cd0e08525560fea2
AAPT2: Fail compiling when private symbols are referenced

Also moved some XML specific stuff into its own directory,
and refactored ReferenceLinker a bit.

Change-Id: I912247a82023c1bbf72dc191fbdaf62858cbec0c
54 files changed:
tools/aapt2/Android.mk
tools/aapt2/ResourceParser.cpp
tools/aapt2/ResourceParser.h
tools/aapt2/ResourceParser_test.cpp
tools/aapt2/ResourceUtils.cpp
tools/aapt2/ResourceUtils.h
tools/aapt2/ResourceUtils_test.cpp
tools/aapt2/ResourceValues.cpp
tools/aapt2/compile/Compile.cpp
tools/aapt2/compile/XmlIdCollector.cpp
tools/aapt2/compile/XmlIdCollector.h
tools/aapt2/compile/XmlIdCollector_test.cpp
tools/aapt2/flatten/ResourceTypeExtensions.h
tools/aapt2/flatten/TableFlattener.cpp
tools/aapt2/flatten/TableFlattener_test.cpp
tools/aapt2/flatten/XmlFlattener.cpp
tools/aapt2/flatten/XmlFlattener.h
tools/aapt2/flatten/XmlFlattener_test.cpp
tools/aapt2/java/AnnotationProcessor_test.cpp
tools/aapt2/java/ClassDefinitionWriter.h
tools/aapt2/java/ManifestClassGenerator.cpp
tools/aapt2/java/ManifestClassGenerator.h
tools/aapt2/java/ManifestClassGenerator_test.cpp
tools/aapt2/java/ProguardRules.cpp
tools/aapt2/java/ProguardRules.h
tools/aapt2/link/Link.cpp
tools/aapt2/link/Linkers.h
tools/aapt2/link/ManifestFixer.cpp
tools/aapt2/link/ManifestFixer.h
tools/aapt2/link/ManifestFixer_test.cpp
tools/aapt2/link/PrivateAttributeMover.cpp
tools/aapt2/link/ReferenceLinker.cpp
tools/aapt2/link/ReferenceLinker.h [new file with mode: 0644]
tools/aapt2/link/ReferenceLinkerVisitor.h [deleted file]
tools/aapt2/link/ReferenceLinker_test.cpp
tools/aapt2/link/XmlReferenceLinker.cpp
tools/aapt2/link/XmlReferenceLinker_test.cpp
tools/aapt2/process/IResourceTableConsumer.h
tools/aapt2/process/SymbolTable.cpp
tools/aapt2/test/Builders.h
tools/aapt2/test/Context.h
tools/aapt2/unflatten/BinaryResourceParser.cpp
tools/aapt2/unflatten/BinaryResourceParser.h
tools/aapt2/util/Util.cpp
tools/aapt2/util/Util.h
tools/aapt2/xml/XmlDom.cpp [moved from tools/aapt2/XmlDom.cpp with 91% similarity]
tools/aapt2/xml/XmlDom.h [moved from tools/aapt2/XmlDom.h with 74% similarity]
tools/aapt2/xml/XmlDom_test.cpp [moved from tools/aapt2/XmlDom_test.cpp with 94% similarity]
tools/aapt2/xml/XmlPullParser.cpp [moved from tools/aapt2/XmlPullParser.cpp with 85% similarity]
tools/aapt2/xml/XmlPullParser.h [moved from tools/aapt2/XmlPullParser.h with 91% similarity]
tools/aapt2/xml/XmlPullParser_test.cpp [moved from tools/aapt2/XmlPullParser_test.cpp with 63% similarity]
tools/aapt2/xml/XmlUtil.cpp [new file with mode: 0644]
tools/aapt2/xml/XmlUtil.h [new file with mode: 0644]
tools/aapt2/xml/XmlUtil_test.cpp [new file with mode: 0644]