Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow Buck to run without Android SDK #7
If you are interested in looking at a real world pure Java project's usage of Buck, see https://gerrit.googlesource.com/gerrit/+/57a4d597cd1111ebabf9bbf495ecd45324e7acdd as it contains a complete, non-trivial "pure Java" project build system alongside of the existing Maven build.
I unfortunately had to use 22 genrules() to provide a number of hacks for features missing from Buck. The worst hack of all was committing local.properties to work around the Android SDK. :-)
I have a fix for this internally, but I'm waiting for a code review :(
On Wed, May 1, 2013 at 10:02 AM, Shawn O. Pearce
…to master * commit '5860f1ccb114d2a1786748603a444996debd09f6': (680 commits) Fix crash building Android rules Ignore classes within anonymous or local classes Fix annotations on inner class constructor params Enable `abi_verification_mode=fail` Fix stubs for deeply-nested static inner classes Fix references to deeply-nested enums Close cache at the end of cache command Add ndk.extra_ldflags Refactor creation of NDK ldflags Handle race conditions in Buck project constructor. ClassLoaderBootstrapper: Create ClassLoader earlier Stop logging "No Android platform target specified" to console JarBuilder: Eliminate checkNotNull Add more info for cannot delete directory failures AndroidLibraryDescription: Move ABI rule construction into the builder AndroidLibraryDescription: Move graph enhancement into the builder AndroidLibraryDescription: Push provided_deps_query into the builder DefaultJavaLibraryBuilder: Factor out getJavac DefaultJavaLibraryBuilder: Make initial BuildRuleParams accessible to subclasses Plumb TargetGraph and CellPathResolver into DefaultJavaLibraryBuilder ...