Can you describe more about the flag you are trying to add?  It would
probably go in BaseCompilerProperties in build/soong/cc/compiler.go,
then be parsed in baseCompiler.compilerFlags into a something that is
passed to the compiler in TransformSourceToObj.

On Wed, Aug 2, 2017 at 12:27 AM, Minseong Kim <[email protected]> wrote:
> Hi~
>
> It is quite difficult to find information about handling Android.bp files.
>
> Does anyone know how to add an additional Boolean flag to a module in a
> local Android.bp (e.g. bionic/libdl/Android.bp) and this newly added flag
> can be examined true/false when being parsed (e.g. at TransformSourceToObj
> function in build/soong/cc/builder.go where local flags from Android.bp
> files are parsed and constructed) ?
>
> Your time and help is greatly appreciated in advance.
>
> cheers,
> Min
>
>
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> 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 [email protected].
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to