android - Does Buck have anything like Gradle's build variants and product flavors? -


I am using Buck for a big project, but I want to know what is equivalent to the versions of grading build. I

More product flavors that are very useful.

For debug vs release build (i.e., Code> BuildConfig.java ), there android_build_config () : is. If you are curious, then in detail how android_build_config () works and why it is a more efficient implementation than Grad, in particular, at the bank, you make debug at the same time Can build and build a parallel, but in Gradle, you can not.

Although there is currently no document, the argument is to limit resource_filter and CPU_Filter to the appropriate APK to the appropriate resources. There can be a list like source_filter ['mdpi', 'hdpi'] , while cpu_filters can be a set [' Arm ',' Armv7 ',' x86 '] . At present, for each permutation, you have to type a different android_binary () rule, which is more tedious than defining things in Gradle. I recommend that you define all your android_binary () rules to help eliminate the boilerplate. We are working to make it easier to use the built-in rule, so developers have to There is no need to create your own macro for the goods.

Comments

Popular posts from this blog

php - how to change mysql_result($res, 0, "url"); to mysqli -

c# - Textbox not clickable but editable -

Matlab transpose a table vector -