Index: remoting/remoting_android.gypi |
diff --git a/remoting/remoting_android.gypi b/remoting/remoting_android.gypi |
index 738e40ebfe3668a9bb4938e81d2b60c9e997fae6..eb0a13d9c8de2b681a7eb91fa5645ea5f1f79d21 100644 |
--- a/remoting/remoting_android.gypi |
+++ b/remoting/remoting_android.gypi |
@@ -188,14 +188,41 @@ |
], |
}, # end of target 'remoting_apk' |
{ |
+ 'target_name': 'remoting_test_apk_manifest', |
+ 'type': 'none', |
+ 'sources': [ |
+ 'android/javatests/AndroidManifest.xml.jinja2', |
+ ], |
+ 'rules': [{ |
+ 'rule_name': 'generate_manifest', |
+ 'extension': 'jinja2', |
+ 'inputs': [ |
+ '<(remoting_localize_path)', |
+ '<(branding_path)', |
+ ], |
+ 'outputs': [ |
+ '<(SHARED_INTERMEDIATE_DIR)/remoting/android_test/<(RULE_INPUT_ROOT)', |
+ ], |
+ 'action': [ |
+ 'python', '<(remoting_localize_path)', |
+ '--variables', '<(branding_path)', |
+ '--template', '<(RULE_INPUT_PATH)', |
+ '--locale_output', '<@(_outputs)', |
+ 'en', |
+ ], |
+ }], |
+ }, # end of target 'remoting_test_apk_manifest' |
+ { |
'target_name': 'remoting_test_apk', |
'type': 'none', |
'dependencies': [ |
'../base/base.gyp:base_java_test_support', |
'remoting_android_client_java', |
+ 'remoting_test_apk_manifest', |
], |
'variables': { |
'apk_name': 'ChromotingTest', |
+ 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/remoting/android_test/AndroidManifest.xml', |
'java_in_dir': 'android/javatests', |
'is_test_apk': 1, |
}, |