diff options
author | Mark Urbanus <urbanus@google.com> | 2017-01-27 12:58:18 -0800 |
---|---|---|
committer | Treehugger Robot <treehugger-gerrit@google.com> | 2017-05-08 22:03:29 +0000 |
commit | 394b004b777766b8627785efd928f4cb8847e3a7 (patch) | |
tree | d81fbf3e39f873214595fd4b228eaa126172af76 | |
parent | c9027cbc0526c43c81d754ccd986d6d748ce7b08 (diff) | |
download | libchrome-394b004b777766b8627785efd928f4cb8847e3a7.tar.gz |
Make libchrome_test_helpers static buildable for hostandroid-o-preview-3android-n-iot-preview-4n-iot-preview-4
Bug: 35314006
Test: Validated compilation on linux and mac host.
-rw-r--r-- | Android.bp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp index cdeca03c0e..b2b79f0f2c 100644 --- a/Android.bp +++ b/Android.bp @@ -182,6 +182,7 @@ libchromeCommonSrc = [ "base/task_scheduler/sequence_sort_key.cc", "base/task_scheduler/task.cc", "base/task_scheduler/task_traits.cc", + "base/test/trace_event_analyzer.cc", "base/third_party/icu/icu_utf.cc", "base/third_party/nspr/prtime.cc", "base/threading/non_thread_safe_impl.cc", @@ -363,6 +364,7 @@ cc_library_static { name: "libchrome_test_helpers", defaults: ["libchrome-test-defaults"], shared_libs: ["libchrome"], + host_supported: true, srcs: [ "base/test/simple_test_clock.cc", @@ -372,7 +374,11 @@ cc_library_static { "base/test/test_switches.cc", "base/test/test_timeouts.cc", ], - + target: { + darwin: { + enabled: false, + }, + }, } // Helpers needed for unit tests (for host). |