OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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/config/android/rules.gni") | 5 import("//build/config/android/rules.gni") |
6 | 6 |
7 java_library("junit_test_support") { | 7 java_library("junit_test_support") { |
| 8 # Skip platform checks since Robolectric depends on requires_android targets. |
| 9 bypass_platform_checks = true |
8 testonly = true | 10 testonly = true |
9 java_files = [ "src/org/chromium/webapk/test/WebApkTestHelper.java" ] | 11 java_files = [ "src/org/chromium/webapk/test/WebApkTestHelper.java" ] |
10 deps = [ | 12 deps = [ |
11 "//third_party/robolectric:robolectric_all_java", | 13 "//third_party/robolectric:robolectric_all_java", |
12 ] | 14 ] |
13 } | 15 } |
OLD | NEW |