Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / testing / android / native_test.gyp
blobfcfd7d7028dff816af7d4d1da05d44d6ec2a6af2
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
6   'conditions': [
7     ['OS=="android"', {
8       'targets': [
9         {
10           # GN: //testing/android:native_test_jni_headers
11           'target_name': 'native_test_jni_headers',
12           'type': 'none',
13           'sources': [
14             'native_test/java/src/org/chromium/native_test/NativeTestActivity.java'
15           ],
16           'variables': {
17             'jni_gen_package': 'testing',
18           },
19           'includes': [ '../../build/jni_generator.gypi' ],
20         },
21         {
22           # GN: //testing/android:native_test_support
23           'target_name': 'native_test_support',
24           'message': 'building native pieces of native test package',
25           'type': 'static_library',
26           'sources': [
27             'native_test/native_test_launcher.cc',
28             'native_test/native_test_launcher.h',
29             'native_test/native_test_util.cc',
30             'native_test/native_test_util.h',
31           ],
32           'dependencies': [
33             '../../base/base.gyp:base',
34             '../../base/base.gyp:test_support_base',
35             '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
36             '../gtest.gyp:gtest',
37             'native_test_jni_headers',
38           ],
39         },
40         {
41           # GN: //testing/android:native_test_native_code
42           'target_name': 'native_test_native_code',
43           'message': 'building JNI onload for native test package',
44           'type': 'static_library',
45           'sources': [
46             'native_test/native_test_jni_onload.cc',
47           ],
48           'dependencies': [
49             'native_test_support',
50             '../../base/base.gyp:base',
51           ],
52         },
53         {
54           'target_name': 'native_test_java',
55           'type': 'none',
56           'dependencies': [
57             'appurify_support.gyp:appurify_support_java',
58             '../../base/base.gyp:base_native_libraries_gen',
59             '../../base/base.gyp:base_java',
60           ],
61           'variables': {
62             'chromium_code': '1',
63             'jar_excluded_classes': [ '*/NativeLibraries.class' ],
64             'java_in_dir': 'native_test/java',
65           },
66           'includes': [ '../../build/java.gypi' ],
67         },
68       ],
69     }]
70   ],