Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Side by Side Diff: testing/android/native_test.gyp

Issue 1975153003: Enable NativeActivity based Android tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'conditions': [ 6 'conditions': [
7 ['OS=="android"', { 7 ['OS=="android"', {
8 'targets': [ 8 'targets': [
9 { 9 {
10 'target_name': 'native_test_activity',
11 'type': 'none',
12 'variables': {
13 'jinja_inputs': [ 'native_test/java/src/org/chromium/native_test/Nat iveTestActivity.java.jinja2' ],
14 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/native_test_activity/jav a/src/org/chromium/native_test/NativeTestActivity.java',
15 'jinja_variables': [ 'use_native_activity="false"', ],
16 },
17 'includes': [ '../../build/android/jinja_template.gypi' ],
18 },
19 {
10 # GN: //testing/android:native_test_jni_headers 20 # GN: //testing/android:native_test_jni_headers
11 'target_name': 'native_test_jni_headers', 21 'target_name': 'native_test_jni_headers',
12 'type': 'none', 22 'type': 'none',
23 'dependencies': [
24 'native_test_activity',
25 ],
13 'sources': [ 26 'sources': [
14 'native_test/java/src/org/chromium/native_test/NativeTestActivity.ja va' 27 '<(SHARED_INTERMEDIATE_DIR)/native_test_activity/java/src/org/chromi um/native_test/NativeTestActivity.java'
15 ], 28 ],
16 'variables': { 29 'variables': {
17 'jni_gen_package': 'testing', 30 'jni_gen_package': 'testing',
18 }, 31 },
19 'includes': [ '../../build/jni_generator.gypi' ], 32 'includes': [ '../../build/jni_generator.gypi' ],
20 }, 33 },
21 { 34 {
22 # GN: //testing/android:native_test_support 35 # GN: //testing/android:native_test_support
23 'target_name': 'native_test_support', 36 'target_name': 'native_test_support',
24 'message': 'building native pieces of native test package', 37 'message': 'building native pieces of native test package',
(...skipping 27 matching lines...) Expand all
52 }, 65 },
53 { 66 {
54 # GN: //testing/android/native_test:native_test_java 67 # GN: //testing/android/native_test:native_test_java
55 'target_name': 'native_test_java', 68 'target_name': 'native_test_java',
56 'type': 'none', 69 'type': 'none',
57 'dependencies': [ 70 'dependencies': [
58 'appurify_support.gyp:appurify_support_java', 71 'appurify_support.gyp:appurify_support_java',
59 'on_device_instrumentation.gyp:reporter_java', 72 'on_device_instrumentation.gyp:reporter_java',
60 '../../base/base.gyp:base_native_libraries_gen', 73 '../../base/base.gyp:base_native_libraries_gen',
61 '../../base/base.gyp:base_java', 74 '../../base/base.gyp:base_java',
75 'native_test_activity',
62 ], 76 ],
63 'variables': { 77 'variables': {
64 'chromium_code': '1', 78 'chromium_code': '1',
65 'jar_excluded_classes': [ '*/NativeLibraries.class' ], 79 'jar_excluded_classes': [ '*/NativeLibraries.class' ],
66 'java_in_dir': 'native_test/java', 80 'java_in_dir': 'native_test/java',
81 'generated_src_dirs': [ '<(SHARED_INTERMEDIATE_DIR)/native_test_acti vity', ],
67 }, 82 },
68 'includes': [ '../../build/java.gypi' ], 83 'includes': [ '../../build/java.gypi' ],
69 }, 84 },
70 ], 85 ],
71 }] 86 }]
72 ], 87 ],
73 } 88 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698