summaryrefslogtreecommitdiff
path: root/library/Android.mk
AgeCommit message (Collapse)Author
2017-11-10Fix import of android-support-annotationsAurimas Liutikas
Bug: 69161825 Change-Id: Ic48ec4a3a5125ebc1fe83ae9b23e7696cd7c0cef
2017-05-11Merge "Update setupwizard library to use correct support-v4 replacements" ↵Alan Viverette
into oc-dev am: 4af0b56277 am: 6f9823b528 Change-Id: I33f1b73492e62093fe1d6ecab87d90ff188b9634
2017-05-09Update setupwizard library to use correct support-v4 replacementsAlan Viverette
Test: make setup-wizard-lib-gingerbread-compat Change-Id: Id89fa654e1e4517def46925e4f900f93557c347d
2017-03-28Rename SuwLib directoriesMaurice Lam
Rename eclair-mr1 to gingerbread to reflect the min SDK version change, and full-support to recyclerview to better reflect what's inside the directory Also added comments and applied style fixes to keep checkstyle happy. Test: Existing tests pass Change-Id: I20332f718f2aae04092d5e45de944b1efce1a596
2017-03-02Don't use AAPT2 for unbundled buildMaurice Lam
In the build of setup wizard library, if building for unbundled apps (i.e. TARGET_BUILD_APPS is set), don't use AAPT 2, instead reverting to the old way of including as a Java library and including the resource directories directly. Test: make -j showcommands dist TARGET_BUILD_APPS=OobConfig Bug: 35862502 Change-Id: I4e0cae29931b2fda5f8353b3352536cf455e41e6
2017-02-08Remove eclair-mr1 and full-support from makeMaurice Lam
There should be no more references to these targets. New users should use gingerbread-compat instead. Test: Existing tests pass Bug: 33094508 Change-Id: I7adef37813e948e2a06e2376d24d389a12c58f2c
2016-12-12[SuwLib] Add gingerbreadCompat build variantMaurice Lam
Test: Builds fine. ./gradlew produces artifacts for this variant Bug: 33094508 Change-Id: Ie18c12fc64cca3f2949f77b7860d902496c094f8
2016-12-05[SuwLib] Use support-annotation as a java libraryMaurice Lam
support-annotation does not have any resources so we can just depend on it as a java library. This fixes "unbundled" builds where the support-annotation library is defined as a prebuilt rather than built from source. Test: `mma` and `m TARGET_BUILD_APPS=clockwork-setup-robotests-coverage-xml` builds Bug: 33329949 Change-Id: Id35b04225aded984f638bd99a2c8198179974eba
2016-11-29[SuwLib] Add support annotationsMaurice Lam
Add support annotations dependency, and add the annotations in where suitable. Test: Manual. "Inspect code" in Android studio no longer shows nullability errors. Existing automated tests pass Bug: 21559567 Change-Id: I47b1072c9b2a9e032318df49db6b86b6af8d206e
2016-08-15Build with AAPT2Adam Lesinski
Change-Id: Id48c7095055860898a2ab75fea3ea83b723b3b92
2016-08-04Revert "Build with AAPT2"Adam Lesinski
Caused some edge case build failures. Will investigate. This reverts commit 3771a653ed5ea7c1e21b70111825f23b9fe77aa1. Change-Id: Ieb4dc7cba1a54557181ca2184b51de954f51d05c
2016-08-02Build with AAPT2Adam Lesinski
Change-Id: Id48c7095055860898a2ab75fea3ea83b723b3b92
2015-10-26[SuwLib] Recycler item adapter supportMaurice Lam
Implement RecyclerView item adapter for an ItemHierarchy. Change-Id: Id7e650fafa467ca7ee3c80102efc73d4323e5b1c
2015-09-15[SuwLib] Add RecyclerView templatesMaurice Lam
Add new "full-support" build variant that includes RecyclerView as one of its dependencies, and add RecyclerView templates to the library. Bug: 24103690 Change-Id: I01a2b7ba3f9ff1d30a9b8aa9061ffe2a42eed968
2015-09-01[SuwLib] Allow building eclair using MakeMaurice Lam
Add support for building the eclairMr1Compat variant using make. Bug: 19801772 Change-Id: I8f080d54d250948536970941798fc79c00b85fbb
2015-08-19[SuwLib] Tint navigation button iconsMaurice Lam
- Remove the dark variant of button icons, since it is now tinted to the desired color - Use DrawableCompat.setTintList to tint the drawables to the same color used as text - Use textColorPrimary as the navigation text color, since the spec now matches the default textColorPrimary implementation of material theme (This changes the disabled color from 20% alpha to 26% alpha) - Configured the build to take two different implementations of NavigationBarButton. The platform build is the same as Button, since drawable tinting is natively supported. The comapt build uses DrawableCompat in the support library to tint any compound drawables - Removed all xxxhdpi assets since that was introduced in L, but vector assets are used in L instead. - For the vector drawables, use tint instead of fillColor so that the state in the ColorStateList will be taken into account. Bug: 22129308 Change-Id: Id0c7b40ad3e71c2c66a0e89df4522865a61e923e
2015-03-23[SetupWizardLib] Use AppCompat themes for icsCompatMaurice Lam
Always use the AppCompat themes for icsCompat builds, even on v21+ because support library's FragmentActivity et al requires that. Change-Id: Ie67ce494ab58e3e6f39eb92a8014a83a1737f8ee
2015-03-17[SetupWizardLib] Changed project hierarchyMaurice Lam
Moved res-ics to ics/res, and res, src, AndroidManifest to main/. This fits more to the "canonical layout" expected by gradle, and works around the issue where blaze is expecting every res directory used by a target to be named the same (including its library dependencies and its transitive dependencies). Change-Id: I658e3c0a67a01f379c43d3fad82cd40f9aa8cd28
2015-02-11[SetupWizardLib] Initial project structureMaurice Lam
Setup the initial project structure of the Setup Wizard Library, and the makefiles. Change-Id: I169c370d875fda2e73eefa59dbf19b8cb4c83d6b