Add build tag from a blueprint

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Add build tag from a blueprint

Simon Williams
Using Android.mk, I'm able to add a new Build.TAG value by using
BUILD_VERSION_TAGS += my-tag

Is it possible to do this from an Android.bp soong BluePrint file?

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/eb6940ac-2a71-4b77-9a4d-eea3ac02d587n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Add build tag from a blueprint

Dan Willemsen-2
Huh, I hadn't even realized that was customizable. In any case, we'd expect global configuration like this to happen in the global/device configuration part of the build (build/make/core/config.mk / product makefiles / BoardConfig.mk, and things they include), not happen in Android.mk / Android.bp files (which define things that may not even be used by the current build). What's your use case for setting this in an Android.mk / Android.bp file?

- Dan

On Mon, Aug 10, 2020 at 1:11 PM Simon Williams <[hidden email]> wrote:
Using Android.mk, I'm able to add a new Build.TAG value by using
BUILD_VERSION_TAGS += my-tag

Is it possible to do this from an Android.bp soong BluePrint file?

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/eb6940ac-2a71-4b77-9a4d-eea3ac02d587n%40googlegroups.com.

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/CALQgHd%3D6WK6XnuVq_u11m1axXjrbm6bf8Uk0%2Bi3L15r8rZGAbQ%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

رد: [android-building] Add build tag from a blueprint

احمد الطيب


تم الإرسال من هاتف Huawei الخاص بي


-------- الرسالة الأصلية --------
من:‏ 'Dan Willemsen' via Android Building <[hidden email]>
التاريخ:‏ الاثنين، ١٠ آب، ٢٠٢٠ ١١:٥٣ م
إلى:‏ Android Building <[hidden email]>
الموضوع:‏ Re: [android-building] Add build tag from a blueprint
Huh, I hadn't even realized that was customizable. In any case, we'd expect global configuration like this to happen in the global/device configuration part of the build (build/make/core/config.mk / product makefiles / BoardConfig.mk, and things they include), not happen in Android.mk / Android.bp files (which define things that may not even be used by the current build). What's your use case for setting this in an Android.mk / Android.bp file?

- Dan

On Mon, Aug 10, 2020 at 1:11 PM Simon Williams <[hidden email]> wrote:
Using Android.mk, I'm able to add a new Build.TAG value by using
BUILD_VERSION_TAGS += my-tag

Is it possible to do this from an Android.bp soong BluePrint file?

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/android-building/eb6940ac-2a71-4b77-9a4d-eea3ac02d587n%40googlegroups.com?utm_medium&#61;email&amp;utm_source&#61;footer">https://groups.google.com/d/msgid/android-building/eb6940ac-2a71-4b77-9a4d-eea3ac02d587n%40googlegroups.com.

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to
android-building+[hidden email]
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 [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/android-building/CALQgHd%3D6WK6XnuVq_u11m1axXjrbm6bf8Uk0%2Bi3L15r8rZGAbQ%40mail.gmail.com?utm_medium&#61;email&amp;utm_source&#61;footer">https://groups.google.com/d/msgid/android-building/CALQgHd%3D6WK6XnuVq_u11m1axXjrbm6bf8Uk0%2Bi3L15r8rZGAbQ%40mail.gmail.com.

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/yu6zxrje2yyqfadq9l-7hj1vo-ejf5h1zy147-1r3kzvjs2f0s-q9hgxd2wcxw6uzky46-sx7qla-t31iwvr9hr484zvfh6-q5umd4-ulllum-c3286r5h2e7yf8rism-aliq82-vnu39aie5b7wily1r2.1597149602915%40email.android.com.