| 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/config/android/rules.gni") | 5 import("//build/config/android/rules.gni") |
| 6 | 6 |
| 7 java_prebuilt("tagsoup-1.2") { | 7 java_prebuilt("tagsoup-1.2") { |
| 8 testonly = true | 8 testonly = true |
| 9 jar_path = "lib/tagsoup-1.2.jar" | 9 jar_path = "lib/tagsoup-1.2.jar" |
| 10 } | 10 } |
| (...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 563 | 563 |
| 564 inputs = _template_files | 564 inputs = _template_files |
| 565 outputs = _processed_template_files | 565 outputs = _processed_template_files |
| 566 | 566 |
| 567 deps = [ | 567 deps = [ |
| 568 ":robolectric_template_processor", | 568 ":robolectric_template_processor", |
| 569 ] | 569 ] |
| 570 } | 570 } |
| 571 | 571 |
| 572 java_library(target_name) { | 572 java_library(target_name) { |
| 573 # TODO(mikecase): Remove this once crbug.com/638875 is fixed. |
| 574 enable_incremental_javac_override = false |
| 575 |
| 573 testonly = true | 576 testonly = true |
| 574 processors_javac = | 577 processors_javac = |
| 575 [ "org.robolectric.annotation.processing.RobolectricProcessor" ] | 578 [ "org.robolectric.annotation.processing.RobolectricProcessor" ] |
| 576 processor_args_javac = [ "org.robolectric.annotation.processing.shadowPackag
e=org.robolectric" ] | 579 processor_args_javac = [ "org.robolectric.annotation.processing.shadowPackag
e=org.robolectric" ] |
| 577 provider_configurations = [ | 580 provider_configurations = [ |
| 578 "robolectric/robolectric-shadows/resources/META-INF/services/org.robolectr
ic.internal.ShadowProvider", | 581 "robolectric/robolectric-shadows/resources/META-INF/services/org.robolectr
ic.internal.ShadowProvider", |
| 579 "robolectric/robolectric-shadows/shadows-core/src/main/resources/META-INF/
services/org.robolectric.ShadowsAdapter", | 582 "robolectric/robolectric-shadows/shadows-core/src/main/resources/META-INF/
services/org.robolectric.ShadowsAdapter", |
| 580 ] | 583 ] |
| 581 if (host_os == "linux") { | 584 if (host_os == "linux") { |
| 582 additional_jar_files = [ | 585 additional_jar_files = [ |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 642 deps = [ | 645 deps = [ |
| 643 ":android-all-5.0.0_r2-robolectric-1", | 646 ":android-all-5.0.0_r2-robolectric-1", |
| 644 ":robolectric_annotations_java", | 647 ":robolectric_annotations_java", |
| 645 ":robolectric_processor_java", | 648 ":robolectric_processor_java", |
| 646 ":robolectric_utils_java", | 649 ":robolectric_utils_java", |
| 647 "//build/android:sun_tools_java", | 650 "//build/android:sun_tools_java", |
| 648 "//third_party/android_tools:android_support_multidex_java", | 651 "//third_party/android_tools:android_support_multidex_java", |
| 649 "//third_party/guava:guava_java", | 652 "//third_party/guava:guava_java", |
| 650 ] | 653 ] |
| 651 } | 654 } |
| OLD | NEW |