summaryrefslogtreecommitdiffstats
path: root/tools/aapt2/Debug.h
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2015-05-13 21:38:01 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-05-13 21:38:02 +0000
commit79e04686f6b57ce3a5adf415212c592ad4c6d605 (patch)
tree4da674b9650910f3f69fb31feabd74382bde3676 /tools/aapt2/Debug.h
parent87cca291bd70100522b62a28e7e6e433fcd49cc2 (diff)
parent330edcdf1316ed599fe0eb16a64330821fd92f18 (diff)
downloadframeworks_base-79e04686f6b57ce3a5adf415212c592ad4c6d605.zip
frameworks_base-79e04686f6b57ce3a5adf415212c592ad4c6d605.tar.gz
frameworks_base-79e04686f6b57ce3a5adf415212c592ad4c6d605.tar.bz2
Merge "AAPT2: Support static lib referencing static lib" into mnc-dev
Diffstat (limited to 'tools/aapt2/Debug.h')
-rw-r--r--tools/aapt2/Debug.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/tools/aapt2/Debug.h b/tools/aapt2/Debug.h
new file mode 100644
index 0000000..84ae40f
--- /dev/null
+++ b/tools/aapt2/Debug.h
@@ -0,0 +1,33 @@
+/*
+ * Copyright (C) 2015 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef AAPT_DEBUG_H
+#define AAPT_DEBUG_H
+
+#include "ResourceTable.h"
+
+#include <memory>
+
+namespace aapt {
+
+struct Debug {
+ static void printTable(const std::shared_ptr<ResourceTable>& table);
+ static void printStyleGraph(const std::shared_ptr<ResourceTable>& table);
+};
+
+} // namespace aapt
+
+#endif // AAPT_DEBUG_H