move media_codecs to msm8xxx-common

Change-Id: Ia1148de0be31a1e1cfd3f9666fe5665b6e67e24b
Move camera workaround to 8974-common

* Only 8974 devices need it, makes no sense to have it
  here now that we have a msm8974-common

This reverts commit eca61b42fe43cfd7a2573dd035a4389b2eff248f

Change-Id: Icc37f821077dac00bf00b1eeb0a60bca700def7d
Build Wi-Fi packages

Change-Id: Ia680a8fc6bcd8afa3140b62cdcac5a1e45e8b377
CameraWrapper: Include from system/media/camera

Change-Id: I12db367baa729bd2a831eecce350382a8e531d81
CameraWrapper: Apology accepted, g++

* Fixes:
  sorry, unimplemented: non-trivial designated initializers not supported

Change-Id: I96317be77c44ed53b5f0407bca99ff40e8aa6592
libril: remove -lpthread

* Unused, and doesn't exist anymore

Change-Id: I44bfe72c894c5ec08cf0eb67ea429a22e405487d