Index: build/android/pylib/remote/device/dummy/dummy.gyp |
diff --git a/build/android/pylib/remote/device/dummy/dummy.gyp b/build/android/pylib/remote/device/dummy/dummy.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b003edcd86950d84562dfe457c2b57f128bbe5f6 |
--- /dev/null |
+++ b/build/android/pylib/remote/device/dummy/dummy.gyp |
@@ -0,0 +1,25 @@ |
+# Copyright 2015 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+# Running gtests on a remote device via am instrument requires both an "app" |
+# APK and a "test" APK with different package names. Our gtests only use one |
+# APK, so we build a dummy APK to upload as the app. |
+ |
+{ |
+ 'targets': [ |
+ { |
+ # GN: //build/android/pylib/remote/device/dummy:remote_device_dummy_apk |
+ 'target_name': 'remote_device_dummy_apk', |
+ 'type': 'none', |
+ 'variables': { |
+ 'apk_name': 'remote_device_dummy', |
+ 'java_in_dir': '.', |
+ 'android_manifest_path': '../../../../../../build/android/AndroidManifest.xml', |
+ }, |
+ 'includes': [ |
+ '../../../../../../build/java_apk.gypi', |
+ ] |
+ }, |
+ ] |
+} |