diff options
author | Adam Lesinski <adamlesinski@google.com> | 2014-09-16 14:43:29 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2014-10-23 10:39:31 -0700 |
commit | 40e8eefbedcafc51948945647d746daaee092f16 (patch) | |
tree | eb14bacf3510fc8865145a1c68b4dcb8fc802904 /tools/aapt/ConfigDescription.h | |
parent | 74af6700196ed55a0aa39c7777293e735e7b4d73 (diff) | |
download | frameworks_base-40e8eefbedcafc51948945647d746daaee092f16.zip frameworks_base-40e8eefbedcafc51948945647d746daaee092f16.tar.gz frameworks_base-40e8eefbedcafc51948945647d746daaee092f16.tar.bz2 |
First commit of split-select tool
This tool emits a set of rules as JSON for when a Split APK
should match a target device.
Change-Id: I8bfbdfbdb51efcfc645889dd03e1961f16e39645
Diffstat (limited to 'tools/aapt/ConfigDescription.h')
-rw-r--r-- | tools/aapt/ConfigDescription.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/aapt/ConfigDescription.h b/tools/aapt/ConfigDescription.h index 779c423..4f999a2 100644 --- a/tools/aapt/ConfigDescription.h +++ b/tools/aapt/ConfigDescription.h @@ -28,10 +28,12 @@ struct ConfigDescription : public android::ResTable_config { memset(this, 0, sizeof(*this)); size = sizeof(android::ResTable_config); } + ConfigDescription(const android::ResTable_config&o) { *static_cast<android::ResTable_config*>(this) = o; size = sizeof(android::ResTable_config); } + ConfigDescription(const ConfigDescription&o) { *static_cast<android::ResTable_config*>(this) = o; } @@ -41,6 +43,7 @@ struct ConfigDescription : public android::ResTable_config { size = sizeof(android::ResTable_config); return *this; } + ConfigDescription& operator=(const ConfigDescription& o) { *static_cast<android::ResTable_config*>(this) = o; return *this; |