| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/locales.gni") | 7 import("//build/config/locales.gni") |
| 8 import("//build/config/sanitizers/sanitizers.gni") | 8 import("//build/config/sanitizers/sanitizers.gni") |
| 9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
| 10 import("//chromecast/build/tests/cast_test.gni") | 10 import("//chromecast/build/tests/cast_test.gni") |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 filters += [ url_unittests_filter ] | 130 filters += [ url_unittests_filter ] |
| 131 } | 131 } |
| 132 | 132 |
| 133 base_unittests_filter = { | 133 base_unittests_filter = { |
| 134 test_name = "base_unittests" | 134 test_name = "base_unittests" |
| 135 if (target_os == "linux" && !is_cast_desktop_build) { | 135 if (target_os == "linux" && !is_cast_desktop_build) { |
| 136 # Disable ProcessMetricsTest.GetNumberOfThreads (b/15610509) | 136 # Disable ProcessMetricsTest.GetNumberOfThreads (b/15610509) |
| 137 # Disable ProcessUtilTest.* (need to define OS_ANDROID) | 137 # Disable ProcessUtilTest.* (need to define OS_ANDROID) |
| 138 # Disable StackContainer.BufferAlignment (don't support 16-byte alignment) | 138 # Disable StackContainer.BufferAlignment (don't support 16-byte alignment) |
| 139 # Disable SystemMetrics2Test.GetSystemMemoryInfo (buffers>0 can't be guara
nteed) | 139 # Disable SystemMetrics2Test.GetSystemMemoryInfo (buffers>0 can't be guara
nteed) |
| 140 # Disable TimeFormattingTest.TimeFormat* for flakiness on devices (crbug/6
71429) |
| 140 gtest_excludes = [ | 141 gtest_excludes = [ |
| 141 "ProcessMetricsTest.GetNumberOfThreads", | 142 "ProcessMetricsTest.GetNumberOfThreads", |
| 142 "ProcessUtilTest.*", | 143 "ProcessUtilTest.*", |
| 143 "StackContainer.BufferAlignment", | 144 "StackContainer.BufferAlignment", |
| 144 "SystemMetrics2Test.GetSystemMemoryInfo", | 145 "SystemMetrics2Test.GetSystemMemoryInfo", |
| 146 "TimeFormattingTest.TimeFormat*", |
| 145 ] | 147 ] |
| 146 | 148 |
| 147 if (is_cast_audio_only) { | 149 if (is_cast_audio_only) { |
| 148 # Also disable TimeFormattingTest on audio-only builds, since we don't | 150 # Also disable TimeFormattingTest on audio-only builds, since we don't |
| 149 # include the necessary info in icudtl.dat. | 151 # include the necessary info in icudtl.dat. |
| 150 gtest_excludes += [ "TimeFormattingTest.*" ] | 152 gtest_excludes += [ "TimeFormattingTest.*" ] |
| 151 } | 153 } |
| 152 } | 154 } |
| 153 } | 155 } |
| 154 filters += [ base_unittests_filter ] | 156 filters += [ base_unittests_filter ] |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 460 shared_libraries = [ "//chromecast/android:libcast_shell_android" ] | 462 shared_libraries = [ "//chromecast/android:libcast_shell_android" ] |
| 461 | 463 |
| 462 deps = [ | 464 deps = [ |
| 463 ":cast_shell_apk_assets", | 465 ":cast_shell_apk_assets", |
| 464 "//base:base_java", | 466 "//base:base_java", |
| 465 "//chromecast/android:libcast_shell_android", | 467 "//chromecast/android:libcast_shell_android", |
| 466 "//chromecast/browser/android:cast_shell_java", | 468 "//chromecast/browser/android:cast_shell_java", |
| 467 ] | 469 ] |
| 468 } | 470 } |
| 469 } | 471 } |
| OLD | NEW |