bluetooth: add option NEEDS_SYSTEM_UPDATE

To downgrade apt-clone packages is not reliable and may be error prone,
this patch skip the packages installation if the flag
NEEDS_SYSTEM_UPDATE in the Makefile is 'False'.
This provide us a way to control the system packages installation.

BUG=b:214496518
TEST=test_that bluetooth_AdapterAUHealth.au_a2dp_test

Change-Id: I0677764fd6482639798d03d3f63bccbc49c4d7d8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/chameleon/+/3462040
Reviewed-by: Shuo-Peng Liao <deanliao@chromium.org>
Reviewed-by: Michael Sun <michaelfsun@google.com>
Reviewed-by: Shijin Abraham <shijinabraham@google.com>
Commit-Queue: John Lai <johnlai@google.com>
Tested-by: John Lai <johnlai@google.com>
Auto-Submit: John Lai <johnlai@google.com>
2 files changed