I'm not entirely sure what you're asking, but I wouldn't expect most people to be using COMMON_LUNCH_CHOICES very often. That is only used for the lunch menu, which only shows up when you don't pass an argument to lunch, or pass a number (don't do that!). The expected flow would be to do something like:
$ source build/envsetup.sh $ lunch aosp_crosshatch-eng $ m None of those steps will use COMMON_LUNCH_CHOICES. - Dan On Thu, Mar 12, 2020 at 8:58 AM Bo YU <[email protected]> wrote: > Hi, > please correct me if i understood wrong. > In AOSP/build call chains,we know, `source > aosp-src/build/envsetup.sh`, it will execute three shell functions firstly: > > validate_current_shell > source_vendorsetup > addcompletions > In my view, it does not affect the config list.especially > source_vendorsetup: > But, if it does not source global var,eg,COMMON_LUNCH_CHOICES, > lunch->print_lunch_menu->get_build_var > (COMMON_LUNCH_CHOICES)->soong/soong_ui.bash. > Although COMMON_LUNCH_CHOICES is defined in > make/target/product/AndroidProducts.mk, > Can we call it directly without preparing read COMMON_LUNCH_CHOICES? > Thank you very much > > > > -- > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/android-building/dc791e87-4a9c-4501-bc1c-429843dbbb57%40googlegroups.com > <https://groups.google.com/d/msgid/android-building/dc791e87-4a9c-4501-bc1c-429843dbbb57%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/CALQgHdnGwD8CeDq8jrz4y7fPDMYGhEE0gjB4Bu0p9zUvR5ngyw%40mail.gmail.com.
