ukanth/afwall — pull request #237 by chr4 (2013-12-20 10:53:06+00:00)
Title: Build afwall inside AOSP

(NOT FINISHED YET)

afwall still cannot be build inside an AOSP tree. This is required if you want to directly include afwall in a clean way into a ROM. (Droidwall supported this)
There are several reasons why this is not working, some I tried to already fix in this PR.

fix provided (but not tested):

- All strings need to be localized
- There are some unknown resources when building inside AOSP
- Additional settings required in `Android.mk`

not fixed:

- Include ActionBarSherlock in a way that does not require a submodule (not sure how this is done cleanly), or be independend from it

Currently, after manually checking out the submodule, the build fails with the following message:

```
make: *** No rule to make target `/home/vagrant/cyanogen/out/target/common/obj/JAVA_LIBRARIES/ActionBarSherlock_intermediates/javalib.jar', needed by `/home/vagrant/cyanogen/out/target/common/obj/APPS/afwall_intermediates/classes-full-debug.jar'. Stop.
```

Any thoughts or additional ideas?