Enable -Wglobal-constructors in //base.

Fix an unintentional dynamic allocation in base/android.

Explicitly allow dynamic allocation in two other places
where compile-time isn't possible and I *think* are benign.

Bug: 801563, 800760
Change-Id: I183e18d21af31625a8729aff44b89be85dcd1220
Reviewed-on: https://chromium-review.googlesource.com/866738
Commit-Queue: Gabriel Charette <gab@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#530465}

CrOS-Libchrome-Original-Commit: a9698a9ad30bff2bfc150fddd4b380b05d6c6eff
1 file changed
tree: 22108691267cae8ede253677d0411b525ce3d6f8
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/