1//############################################# 2// Compile Robolectric shadows httpclient 3//############################################# 4 5java_library_host { 6 name: "Robolectric_shadows_httpclient", 7 libs: [ 8 "Robolectric_shadows_framework", 9 "Robolectric_annotations", 10 "Robolectric_shadowapi", 11 "Robolectric_utils", 12 "robolectric-httpclient-4.0.3", 13 "robolectric-httpcore-4.0.1", 14 "robolectric-javax.annotation-api-1.2", 15 "robolectric-host-android_all", 16 "robolectric-host-org_apache_http_legacy", 17 ], 18 plugins: ["Robolectric_processor"], 19 javacflags: ["-Aorg.robolectric.annotation.processing.shadowPackage=org.robolectric.shadows.httpclient"], 20 srcs: ["src/main/java/**/*.java"], 21} 22 23//############################################# 24// Compile Robolectric shadows httpclient tests 25//############################################# 26 27java_test_host { 28 name: "Robolectric_shadows_httpclient_tests", 29 srcs: ["src/test/java/**/*.java"], 30 java_resource_dirs: ["src/test/resources"], 31 static_libs: [ 32 "Robolectric_shadows_httpclient", 33 "Robolectric_shadows_framework", 34 "Robolectric_annotations", 35 "Robolectric_robolectric", 36 "Robolectric_resources", 37 "Robolectric_shadowapi", 38 "Robolectric_sandbox", 39 "Robolectric_junit", 40 "Robolectric_utils", 41 "robolectric-maven-ant-tasks-2.1.3", 42 "bouncycastle-unbundled", 43 "hamcrest", 44 "robolectric-httpclient-4.0.3", 45 "asm-commons-6.0", 46 "robolectric-httpcore-4.0.1", 47 "guava", 48 "asm-tree-6.0", 49 "junit", 50 "truth-prebuilt", 51 "robolectric-ant-1.8.0", 52 "asm-6.0", 53 "jsr305", 54 "robolectric-host-android_all", 55 "robolectric-host-org_apache_http_legacy", 56 ], 57 test_suites: ["general-tests"], 58} 59