import("//build/config/android/config.gni") import("//build/config/android/rules.gni") generate_jni("test_support_content_jni_headers") { jni_package = "content/public/test" sources = [ "javatests/src/org/chromium/content/browser/test/NestedSystemMessageHandler.java", ] } android_library("layouttest_java_support") { testonly = true deps = [ "//base:base_java", ] java_files = [ "javatests/src/org/chromium/content/browser/test/NestedSystemMessageHandler.java" ] } android_library("content_java_test_support") { testonly = true deps = [ ":layouttest_java_support", "//base:base_java", "//base:base_java_test_support", "//content/public/android:content_java", "//third_party/android_support_test_runner:runner_java", "//third_party/junit:junit", "//ui/android:ui_java", "//ui/android:ui_java_test_support", ] java_files = [ "javatests/src/org/chromium/content/browser/test/ChildProcessAllocatorSettings.java", "javatests/src/org/chromium/content/browser/test/ChildProcessAllocatorSettingsHook.java", "javatests/src/org/chromium/content/browser/test/ContentJUnit4ClassRunner.java", "javatests/src/org/chromium/content/browser/test/InterstitialPageDelegateAndroid.java", "javatests/src/org/chromium/content/browser/test/NativeLibraryTestRule.java", "javatests/src/org/chromium/content/browser/test/mock/MockRenderFrameHost.java", "javatests/src/org/chromium/content/browser/test/mock/MockWebContents.java", "javatests/src/org/chromium/content/browser/test/util/ClickUtils.java", "javatests/src/org/chromium/content/browser/test/util/Coordinates.java", "javatests/src/org/chromium/content/browser/test/util/Criteria.java", "javatests/src/org/chromium/content/browser/test/util/CriteriaHelper.java", "javatests/src/org/chromium/content/browser/test/util/DOMUtils.java", "javatests/src/org/chromium/content/browser/test/util/EqualityCriteria.java", "javatests/src/org/chromium/content/browser/test/util/HistoryUtils.java", "javatests/src/org/chromium/content/browser/test/util/JavaScriptUtils.java", "javatests/src/org/chromium/content/browser/test/util/KeyUtils.java", "javatests/src/org/chromium/content/browser/test/util/RenderProcessLimit.java", "javatests/src/org/chromium/content/browser/test/util/TestCallbackHelperContainer.java", "javatests/src/org/chromium/content/browser/test/util/TestInputMethodManagerWrapper.java", "javatests/src/org/chromium/content/browser/test/util/TestSelectionPopupController.java", "javatests/src/org/chromium/content/browser/test/util/TestTouchUtils.java", "javatests/src/org/chromium/content/browser/test/util/TestWebContentsObserver.java", "javatests/src/org/chromium/content/browser/test/util/TouchCommon.java", "javatests/src/org/chromium/content/browser/test/util/UiUtils.java", ] } generate_jni("content_test_jni") { testonly = true jni_package = "content/public/test" sources = [ "javatests/src/org/chromium/content/browser/test/InterstitialPageDelegateAndroid.java", "javatests/src/org/chromium/content/browser/test/util/DOMUtils.java", ] } static_library("content_native_test_support") { testonly = true sources = [ "dom_utils.cc", "interstitial_page_delegate_android.cc", "interstitial_page_delegate_android.h", ] deps = [ ":content_test_jni", "//base", "//content/public/browser", "//device/gamepad", "//media/midi", "//ui/android", ] }