summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Urbanus <urbanus@google.com>2017-05-08 22:24:37 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-05-08 22:24:37 +0000
commita7c0905639909f2185dff3408deb620c661aba43 (patch)
treea8e9ebc48716305d3f1a9f7f03aca432d1486b52
parentb097a837d2c2d4acdfdd8407240090917ee8b721 (diff)
parent47f0958c5591c077286a9e9480a25c95f4f748b6 (diff)
downloadlibchrome-a7c0905639909f2185dff3408deb620c661aba43.tar.gz
Make libchrome_test_helpers static buildable for host am: 394b004b77 am: 3c4a94e84c am: a8916bf601
am: 47f0958c55 Change-Id: Iacb19893a4934846982b8bd8084c49a7fb7aa604
-rw-r--r--Android.bp8
1 files changed, 7 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 733dfb6b9f..248215e185 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",
@@ -355,6 +356,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",
@@ -364,7 +366,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).