Re: [android-building] Re: Some questions on Android.bp files

2019-09-02 Thread jw wang
Hello Amit Agrawal

I need to create some items as marked by red in the following to avoid 
proguard_dictionary', needed by 'out/target/common/obj/APPS/
AudioEFXService_intermediates/proguard_dictionary

 optimize: {
proguard_flags_files: ["proguard.flags"],
enabled: false,
},


but I don't know why it is acting like this way, anyone can explain ?


On Monday, August 26, 2019 at 10:51:11 PM UTC+8, Amit Agrawal wrote:
>
> Hi wang,
>
> I have also faced such issues. This comes when you are building a Module 
> which is written in Android.bp and you want to include some dependency(a 
> module like shared library) which is written in Android.mk. The soong build 
> system can not resolve such dependencies. I haven't got any solution for 
> this. Only way I have got is you need to convert all the dependencies to 
> Android.bp. 
>
> Let me know if you find any solution other than this conversion to bp file.
>
> Thanks,
> Amit
>
> On Wednesday, August 21, 2019 at 10:26:14 PM UTC+5:30, jw wang wrote:
>>
>>
>> Hi google
>>
>> is there anything missing so I got this ?
>>
>> ninja: error: 
>> 'out/soong/.intermediates/FOO/android_common/proguard_dictionary', needed 
>> by 'out/target/common/obj/APPS/FOO_intermediates/proguard_dictionary', 
>> missing and no known rule to make it
>> 11:43:21 ninja failed with: exit status 1
>>
>>
>>
>>
>>
>> On Tuesday, August 6, 2019 at 2:03:33 AM UTC+8, Dan Willemsen wrote:
>>>
>>> proguard_flag_files was a typo -- it should be proguard_flag*s*_files. 
>>> It was fixed here: 
>>> https://android-review.googlesource.com/c/platform/build/soong/+/691330
>>>
>>> - Dan
>>>
>>> On Wed, Jul 31, 2019 at 11:32 PM jw wang  wrote:
>>>
 Hi Google

 I'm coming across two similar build break after converting the mk to bp 
 :

 1. 1. service/Android.bp:7:28: unrecognized property "
 optimize.proguard_flag_files“

  2. /android_common/proguard_dictionary', needed by 
 'out/target/common/obj/APPS/AudioEFXService_intermediates/
 proguard_dictionary’


 I think the error comes from the optimize item which generated by 
 androidtomk tool
  optimize: {
  proguard_flag_files: ["proguard.flags"],
  
 },



 On Tuesday, 30 July 2019 22:10:07 UTC+8, jyoti kulkarni wrote:
>
> Hello Sir/madam,
>
> Im trying to convert some of the .mk files to .bp 
> I am using androidmk tool for initial conversion.
>
> But later I m trying to change the converted files to add some more 
> properties and some conditional statement.
>
> I have below questions:
> 1. Any new property added is giving an error "unrecognized property" 
> for eg: unrecognized property "host_required"
>
> 2. If I'am trying to include other .mk file in .bp its giving "Path 
> Outside directory"
> Iam trying to do something like this:
> srcs: ["../Android.mk"]
>
> Please help in addressing these questions.
>
> Thanks
>
 -- 
 -- 
 You received this message because you are subscribed to the "Android 
 Building" mailing list.
 To post to this group, send email to android-...@googlegroups.com
 To unsubscribe from this group, send email to
 android-...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-building?hl=en

 --- 
 You received this message because you are subscribed to the Google 
 Groups "Android Building" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to android-...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/android-building/63281eff-1da3-40f8-83fd-9b19243d2e8f%40googlegroups.com
  
 
 .

>>>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/1d1f6b15-1023-4355-90cf-5cdc2e229a79%40googlegroups.com.


Re: [android-building] Re: Some questions on Android.bp files

2019-08-26 Thread Amit Agrawal
Hi wang,

I have also faced such issues. This comes when you are building a Module 
which is written in Android.bp and you want to include some dependency(a 
module like shared library) which is written in Android.mk. The soong build 
system can not resolve such dependencies. I haven't got any solution for 
this. Only way I have got is you need to convert all the dependencies to 
Android.bp. 

Let me know if you find any solution other than this conversion to bp file.

Thanks,
Amit

On Wednesday, August 21, 2019 at 10:26:14 PM UTC+5:30, jw wang wrote:
>
>
> Hi google
>
> is there anything missing so I got this ?
>
> ninja: error: 
> 'out/soong/.intermediates/FOO/android_common/proguard_dictionary', needed 
> by 'out/target/common/obj/APPS/FOO_intermediates/proguard_dictionary', 
> missing and no known rule to make it
> 11:43:21 ninja failed with: exit status 1
>
>
>
>
>
> On Tuesday, August 6, 2019 at 2:03:33 AM UTC+8, Dan Willemsen wrote:
>>
>> proguard_flag_files was a typo -- it should be proguard_flag*s*_files. 
>> It was fixed here: 
>> https://android-review.googlesource.com/c/platform/build/soong/+/691330
>>
>> - Dan
>>
>> On Wed, Jul 31, 2019 at 11:32 PM jw wang  wrote:
>>
>>> Hi Google
>>>
>>> I'm coming across two similar build break after converting the mk to bp :
>>>
>>> 1. 1. service/Android.bp:7:28: unrecognized property "
>>> optimize.proguard_flag_files“
>>>
>>>  2. /android_common/proguard_dictionary', needed by 
>>> 'out/target/common/obj/APPS/AudioEFXService_intermediates/
>>> proguard_dictionary’
>>>
>>>
>>> I think the error comes from the optimize item which generated by 
>>> androidtomk tool
>>>  optimize: {
>>>  proguard_flag_files: ["proguard.flags"],
>>>  
>>> },
>>>
>>>
>>>
>>> On Tuesday, 30 July 2019 22:10:07 UTC+8, jyoti kulkarni wrote:

 Hello Sir/madam,

 Im trying to convert some of the .mk files to .bp 
 I am using androidmk tool for initial conversion.

 But later I m trying to change the converted files to add some more 
 properties and some conditional statement.

 I have below questions:
 1. Any new property added is giving an error "unrecognized property" 
 for eg: unrecognized property "host_required"

 2. If I'am trying to include other .mk file in .bp its giving "Path 
 Outside directory"
 Iam trying to do something like this:
 srcs: ["../Android.mk"]

 Please help in addressing these questions.

 Thanks

>>> -- 
>>> -- 
>>> You received this message because you are subscribed to the "Android 
>>> Building" mailing list.
>>> To post to this group, send email to android-...@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-building?hl=en
>>>
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Android Building" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to android-...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/android-building/63281eff-1da3-40f8-83fd-9b19243d2e8f%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/547747f0-3b5c-4183-89cd-7fce88d11d08%40googlegroups.com.


Re: [android-building] Re: Some questions on Android.bp files

2019-08-21 Thread jw wang

Hi google

is there anything missing so I got this ?

ninja: error: 
'out/soong/.intermediates/FOO/android_common/proguard_dictionary', needed 
by 'out/target/common/obj/APPS/FOO_intermediates/proguard_dictionary', 
missing and no known rule to make it
11:43:21 ninja failed with: exit status 1





On Tuesday, August 6, 2019 at 2:03:33 AM UTC+8, Dan Willemsen wrote:
>
> proguard_flag_files was a typo -- it should be proguard_flag*s*_files. It 
> was fixed here: 
> https://android-review.googlesource.com/c/platform/build/soong/+/691330
>
> - Dan
>
> On Wed, Jul 31, 2019 at 11:32 PM jw wang > 
> wrote:
>
>> Hi Google
>>
>> I'm coming across two similar build break after converting the mk to bp :
>>
>> 1. 1. service/Android.bp:7:28: unrecognized property "
>> optimize.proguard_flag_files“
>>
>>  2. /android_common/proguard_dictionary', needed by 
>> 'out/target/common/obj/APPS/AudioEFXService_intermediates/
>> proguard_dictionary’
>>
>>
>> I think the error comes from the optimize item which generated by 
>> androidtomk tool
>>  optimize: {
>>  proguard_flag_files: ["proguard.flags"],
>>  
>> },
>>
>>
>>
>> On Tuesday, 30 July 2019 22:10:07 UTC+8, jyoti kulkarni wrote:
>>>
>>> Hello Sir/madam,
>>>
>>> Im trying to convert some of the .mk files to .bp 
>>> I am using androidmk tool for initial conversion.
>>>
>>> But later I m trying to change the converted files to add some more 
>>> properties and some conditional statement.
>>>
>>> I have below questions:
>>> 1. Any new property added is giving an error "unrecognized property" 
>>> for eg: unrecognized property "host_required"
>>>
>>> 2. If I'am trying to include other .mk file in .bp its giving "Path 
>>> Outside directory"
>>> Iam trying to do something like this:
>>> srcs: ["../Android.mk"]
>>>
>>> Please help in addressing these questions.
>>>
>>> Thanks
>>>
>> -- 
>> -- 
>> You received this message because you are subscribed to the "Android 
>> Building" mailing list.
>> To post to this group, send email to android-...@googlegroups.com 
>> 
>> To unsubscribe from this group, send email to
>> android-...@googlegroups.com 
>> For more options, visit this group at
>> http://groups.google.com/group/android-building?hl=en
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Android Building" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to android-...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/android-building/63281eff-1da3-40f8-83fd-9b19243d2e8f%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/ab0120cc-1094-4f97-9d84-b08e9697e400%40googlegroups.com.


Re: [android-building] Re: Some questions on Android.bp files

2019-08-05 Thread 'Dan Willemsen' via Android Building
proguard_flag_files was a typo -- it should be proguard_flag*s*_files. It
was fixed here:
https://android-review.googlesource.com/c/platform/build/soong/+/691330

- Dan

On Wed, Jul 31, 2019 at 11:32 PM jw wang  wrote:

> Hi Google
>
> I'm coming across two similar build break after converting the mk to bp :
>
> 1. 1. service/Android.bp:7:28: unrecognized property "
> optimize.proguard_flag_files“
>
>  2. /android_common/proguard_dictionary', needed by
> 'out/target/common/obj/APPS/AudioEFXService_intermediates/
> proguard_dictionary’
>
>
> I think the error comes from the optimize item which generated by
> androidtomk tool
>  optimize: {
>  proguard_flag_files: ["proguard.flags"],
>
> },
>
>
>
> On Tuesday, 30 July 2019 22:10:07 UTC+8, jyoti kulkarni wrote:
>>
>> Hello Sir/madam,
>>
>> Im trying to convert some of the .mk files to .bp
>> I am using androidmk tool for initial conversion.
>>
>> But later I m trying to change the converted files to add some more
>> properties and some conditional statement.
>>
>> I have below questions:
>> 1. Any new property added is giving an error "unrecognized property"
>> for eg: unrecognized property "host_required"
>>
>> 2. If I'am trying to include other .mk file in .bp its giving "Path
>> Outside directory"
>> Iam trying to do something like this:
>> srcs: ["../Android.mk"]
>>
>> Please help in addressing these questions.
>>
>> Thanks
>>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Building" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-building+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-building/63281eff-1da3-40f8-83fd-9b19243d2e8f%40googlegroups.com
> 
> .
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/CALQgHdmKeGVm4W2S5XdOXztvHJhNRhGL_xMQR9SMgiBHaByOJA%40mail.gmail.com.