Chromium Code Reviews| Index: third_party/robolectric/BUILD.gn |
| diff --git a/third_party/robolectric/BUILD.gn b/third_party/robolectric/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..88d1a827c0f2e25d964e0ee97fc01efc01372c7a |
| --- /dev/null |
| +++ b/third_party/robolectric/BUILD.gn |
| @@ -0,0 +1,19 @@ |
| +# Copyright 2014 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +import("//build/config/android/rules.gni") |
| + |
| +# GYP: //third_party/robolectric/robolectric.gyp:android_all_jar |
| +java_prebuilt("android_all_java") { |
|
jbudorick
2015/01/12 14:07:14
should this be testonly too?
|
| + jar_path = "lib/android-all-5.0.0_r2-robolectric-0.jar" |
| +} |
| + |
| +# GYP: //third_party/robolectric/robolectric.gyp:robolectric_prebuilt_jar |
| +java_prebuilt("robolectric_prebuilt_jar") { |
| + testonly = true |
| + jar_path = "lib/robolectric-2.4-jar-with-dependencies.jar" |
| + deps = [ |
| + ":android_all_java", |
| + ] |
| +} |