• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
2#
3# Use of this source code is governed by a BSD-style license
4# that can be found in the LICENSE file in the root of the source
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS.  All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
9# This is almost an identical copy of src/build/apk_test.gypi with minor
10# modifications to allow test executables starting with "lib".
11# See http://crbug.com/543820 for more details.
12
13{
14  'dependencies': [
15    '<(DEPTH)/base/base.gyp:base_java',
16    '<(DEPTH)/build/android/pylib/device/commands/commands.gyp:chromium_commands',
17    '<(DEPTH)/build/android/pylib/remote/device/dummy/dummy.gyp:remote_device_dummy_apk',
18    '<(DEPTH)/testing/android/appurify_support.gyp:appurify_support_java',
19    '<(DEPTH)/testing/android/on_device_instrumentation.gyp:reporter_java',
20    '<(DEPTH)/tools/android/android_tools.gyp:android_tools',
21  ],
22  'conditions': [
23     ['OS == "android"', {
24       'variables': {
25         # These are used to configure java_apk.gypi included below.
26         'test_type': 'gtest',
27         'apk_name': '<(test_suite_name)',
28         'intermediate_dir': '<(PRODUCT_DIR)/<(test_suite_name)_apk',
29         'final_apk_path': '<(intermediate_dir)/<(test_suite_name)-debug.apk',
30         'java_in_dir': '<(DEPTH)/testing/android/native_test/java',
31         'native_lib_target': '<(test_suite_name)',
32         'gyp_managed_install': 0,
33       },
34       'includes': [
35         '../../build/java_apk.gypi',
36         '../../build/android/test_runner.gypi',
37       ],
38     }],  # 'OS == "android"
39  ],  # conditions
40}
41