summaryrefslogtreecommitdiff
path: root/tools/aapt2/Resource.h
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2017-02-22 19:29:29 -0800
committerAdam Lesinski <adamlesinski@google.com>2017-02-22 19:54:43 -0800
commitb5dc4bd49a036e3403ca17e961d2c8e13e038295 (patch)
treee07c0d9a9718a34e2834fe6adbfd99e449cebb8b /tools/aapt2/Resource.h
parent9a53d03104c4535f512ec24e63afe9a965979812 (diff)
AAPT2: Few tweaks to get shared-libraries working
Test: manual (building shared support library demo) Change-Id: I4730645aa92ba1893baf67ffe35fbd4aac0f8e46
Diffstat (limited to 'tools/aapt2/Resource.h')
-rw-r--r--tools/aapt2/Resource.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/aapt2/Resource.h b/tools/aapt2/Resource.h
index cffe8d5d803f..493f238b033d 100644
--- a/tools/aapt2/Resource.h
+++ b/tools/aapt2/Resource.h
@@ -118,6 +118,9 @@ struct ResourceNameRef {
bool is_valid() const;
};
+constexpr const uint8_t kAppPackageId = 0x7fu;
+constexpr const uint8_t kFrameworkPackageId = 0x01u;
+
/**
* A binary identifier representing a resource. Internally it
* is a 32bit integer split as follows: