From 738fa38d347a0f3f71a41c23cb4f03618e071d7c Mon Sep 17 00:00:00 2001 From: dgn Date: Tue, 10 Nov 2015 07:33:50 -0800 Subject: Update webview and chrome instrumentation test to use PreTestHooks for policies - Add utilities to set policies for tests using anotation and pre test hooks - Add AwInstrumentationTestRunner and update ChromeInstrumentationTestRunner to register said hooks - Add classes to simplify building policy bundles BUG=542859 Review URL: https://codereview.chromium.org/1387633002 Cr-Commit-Position: refs/heads/master@{#358829} --- components/policy.gypi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'components/policy.gypi') diff --git a/components/policy.gypi b/components/policy.gypi index 7788538..6380877 100644 --- a/components/policy.gypi +++ b/components/policy.gypi @@ -427,6 +427,20 @@ }, 'includes': [ '../build/java.gypi' ], }, + { + # GN: //components/policy/android:policy_java_test_support + 'target_name': 'policy_java_test_support', + 'type': 'none', + 'dependencies': [ + '../base/base.gyp:base_java', + '../base/base.gyp:base_java_test_support', + 'policy_java' + ], + 'variables': { + 'java_in_dir': 'policy/android/javatests', + }, + 'includes': [ '../build/java.gypi' ], + }, ], }], ['OS=="win" and target_arch=="ia32" and configuration_policy==1', { -- cgit v1.1