Re: [android-building] How to modify LOCAL_SRC_FILES := ../../ in Android.bp

2017-10-01 Thread Colin Cross
If the source files are logically part of the module, move your Android.bp
file into the top directory that contains all the source files.  If you are
using source files from another module, export them from that module using
a filegroup module:

filegroup {
name: "my_exported_sources",
srcs: ["a.c", "b.c"],
}

And then in your module that was using ../.., use:
srcs: [
"my_local_srcs.c",
":my_exported_sources",
]

On Fri, Sep 29, 2017 at 9:51 PM, oanh le  wrote:

> Dear all,
> Android.mk support back directory
>
> LOCAL_SRC_FILES := ../../
>
> How to make it in Android.bp
>
> Thank you
>
> --
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
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.
For more options, visit https://groups.google.com/d/optout.


[android-building] How to modify LOCAL_SRC_FILES := ../../ in Android.bp

2017-10-01 Thread oanh le
Dear all,
Android.mk support back directory

LOCAL_SRC_FILES := ../../

How to make it in Android.bp

Thank you

-- 
-- 
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.
For more options, visit https://groups.google.com/d/optout.


[android-building] Can not locate config makefile for product

2017-10-01 Thread aadi
 

I extracted the device tree from stock boot.img and made vendor tree but 
when i run lunch and select the device this error comes.



Which would you like? [aosp_arm-eng] 25

build/core/product_config.mk:227: *** Can not locate config makefile for 
product "htc_m8et".  Stop.

adityas-Mac-Pro:android aditya$ 

-- 
-- 
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.
For more options, visit https://groups.google.com/d/optout.