Re: [android-building] Re: android.bp privileged prop not work

2020-05-19 Thread 'Dan Willemsen' via Android Building
The Android.bp next to that go file is going to have a dep entry of "soong-cc" (which gives you access to the "android/soong/cc" package). "soong-java" will allow you to reference the "android/soong/java" package. - Dan On Tue, May 19, 2020 at 12:00 AM fanx lin wrote: > Hi Dan, I have one more

[android-building] Re: android.bp privileged prop not work

2020-05-19 Thread fanx lin
Hi Dan, I have one more question about: if we compile binary bin file,in go file,we write: func testDefaultFactory()(android.Module){ module := cc.DefaultsFactory() android.AddLoadHook(module, testDefault) return module } and if we compile shared lib,in go file ,we write: func testDefaultFactor