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

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

Issue 864563002: Separate JNI registration with initialization (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments and sync Created 5 years, 10 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
« no previous file with comments | « testing/android/BUILD.gn ('k') | testing/android/native_test_jni_onload.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 # GN: //testing/android:native_test_native_code 10 # GN: //testing/android:native_test_native_code
11 'target_name': 'native_test_native_code', 11 'target_name': 'native_test_native_code',
12 'message': 'building native pieces of native test package', 12 'message': 'building native pieces of native test package',
13 'type': 'static_library', 13 'type': 'static_library',
14 'sources': [ 14 'sources': [
15 'native_test_jni_onload.cc',
15 'native_test_launcher.cc', 16 'native_test_launcher.cc',
17 'native_test_launcher.h',
16 ], 18 ],
17 'direct_dependent_settings': { 19 'direct_dependent_settings': {
18 'ldflags!': [ 20 'ldflags!': [
19 # JNI_OnLoad is implemented in a .a and we need to 21 # JNI_OnLoad is implemented in a .a and we need to
20 # re-export in the .so. 22 # re-export in the .so.
21 '-Wl,--exclude-libs=ALL', 23 '-Wl,--exclude-libs=ALL',
22 ], 24 ],
23 }, 25 },
24 'dependencies': [ 26 'dependencies': [
25 '../../base/base.gyp:base', 27 '../../base/base.gyp:base',
(...skipping 25 matching lines...) Expand all
51 'native_test_util.h', 53 'native_test_util.h',
52 ], 54 ],
53 'dependencies': [ 55 'dependencies': [
54 '../../base/base.gyp:base', 56 '../../base/base.gyp:base',
55 ], 57 ],
56 }, 58 },
57 ], 59 ],
58 }] 60 }]
59 ], 61 ],
60 } 62 }
OLDNEW
« no previous file with comments | « testing/android/BUILD.gn ('k') | testing/android/native_test_jni_onload.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698