libchrome: cherry-pick of r829887 on ScopedSetRunningOnChromeOSForTesting

In preparation of r860220 uprev.
Without unittest and add new src files to BUILD.gn.

BUG=chromium:1179608
TEST=emerge-eve libchrome

Cq-Depend: chromium:2886528
Change-Id: I129aabf78990cfcb8fa374b20d0a518635bde1b4
Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/external/libchrome/+/2885866
Tested-by: Grace Cham <[email protected]>
Reviewed-by: Qijiang Fan <[email protected]>
Commit-Queue: Grace Cham <[email protected]>
2 files changed
tree: 5e062c50391a9c5f09488f074d5d7679c9f05c8b
  1. base/
  2. build/
  3. components/
  4. crypto/
  5. dbus/
  6. device/
  7. ipc/
  8. libchrome_tools/
  9. mojo/
  10. soong/
  11. testing/
  12. third_party/
  13. ui/
  14. .gitignore
  15. Android.bp
  16. BASE_VER
  17. BUILD.gn
  18. BUILD.IGNORE
  19. MODULE_LICENSE_BSD
  20. NOTICE
  21. OWNERS
  22. PRESUBMIT.cfg
  23. README.md
  24. testrunner.cc
  25. unblocked_terms.txt
README.md

libchrome

Overview

This directory includes the source from Chrome's libbase for use in Chrome OS.

See libchrome.md for more info.