what product_variables means

1,354 views
Skip to first unread message

Kiwon Song

unread,
Mar 12, 2021, 10:45:22 AM3/12/21
to android-...@googlegroups.com
Hi, I have a question about varibles on soong build system.

I can see that there lots of properties on Android.bp file.

where can I check what it means and
what product_variables means?

thank you in advance.

Jingwen Chen

unread,
Mar 15, 2021, 10:44:03 AM3/15/21
to android-...@googlegroups.com
Hello Kiwon,

You can find the definition of the `product_variables` property here: https://cs.android.com/android/platform/superproject/+/master:build/soong/android/variable.go - these contain properties specific to product configuration that are potentially applicable across module types.

Every android.ModuleBase has a variablesProperties struct prop, and the property values in the struct are initialized by the `variables` mutator, which runs right after the os, image and arch mutators.

- Jin

--
--
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-buildi...@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-buildi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/CAJL0CW66iaNhGOTB2mt%3D-Ff-zVN9gvrfMWjybioDkxkvsG5HUA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages