Created by: byronwind
In android_binary rule, I add two boolean arguments: check_linear_alloc_limit and primary_dex_patterns_excluded.
If check_linear_alloc_limit is False, it will not check the linear alloc limit. The default value is False.
if primary_dex_patterns_excluded is True, the classes match primary_dex_patterns will be excluded in primary dex file. They will be included in secondary dex files.
Refer to issue #202 (closed)