On 02/14/2013 12:21 AM, Dang wrote:
Facing some issues in compiling selinux 4.1.2_r1 branch on Ubuntu 10.04.
Compilation fails with error
/packages/apps/SEAndroidAdmin/src/com/android/seandroid_admin/MMACFragment.java:159:
cannot find symbol/
/symbol : method getEnforcingMode()/
/location: class android.content.pm.SELinuxMMAC/
/ boolean systemState = SELinuxMMAC.getEnforcingMode();/
/ ^/
/1 error/
/make: ***
[out/target/common/obj/APPS/SEAndroidAdmin_intermediates/classes-full-debug.jar]
Error 41/
File frameworks/base/core/java/android/content/pm/SELinuxMMAC.java does
not have getEnforcingMode() method.
So the problem here is that our local_manifest.xml file points to the
master branch of packages/apps/SEAndroidAdmin, which has undergone
changes to match API changes in our seandroid (master-based) branch.
Our options are to:
- Try to back port those changes to 4.1.2 (we did that for 4.2 but not
yet for 4.1.2, and they unfortunately do not apply cleanly so it would
require manually back porting them), or
- Create a seandroid-4.1.2 branch for SEAndroidAdmin just prior to those
changes and update the 4.1.2 local_manifest.xml file to refer to that
branch, or
- Just drop SEAndroidAdmin from the 4.1.2 local_manifest.xml file
altogether. It isn't required for basic operation of SE Android.
Is there a particular reason you need/want 4.1.2 rather than 4.2.1?
Trying to balance between supporting stable versions but avoiding extra
maintenance burden.
--
This message was distributed to subscribers of the seandroid-list mailing list.
If you no longer wish to subscribe, send mail to majord...@tycho.nsa.gov with
the words "unsubscribe seandroid-list" without quotes as the message.