3

I am in the process of migrating an NDK application from AOSP 7 to 8 and right away I have two (related) issues.

1) I used to build my module with mm -B, but now it seems -B is no longer an accepted option.

2) How can I do a clean of just my module? This answer was pre AOSP 8 and instructed doing an mm -B which is no longer an option.

Donato Azevedo
  • 1,378
  • 1
  • 13
  • 22

2 Answers2

2

The short answer is that you don't. Soong tracks dependencies properly (unlike our old make system) so you don't ever need to do the equivalent of mm -B. If you find any cases to the contrary that's a bug.

Dan Albert
  • 10,079
  • 2
  • 36
  • 79
0

Google has people in charge of Android that are, literally, learning as they go, like Dan Albert. So I would expect answers of the type "You cannot do this...because we say so". No reasoning behind it. It is one of the worst build environments to work with on the planet. In your case, I don't think there is anything you can do about it.

temax
  • 11
  • 2
  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Sep 06 '22 at 08:54