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

Side by Side Diff: content/content_shell.gypi

Issue 147533004: Remove unneeded JNI registrations. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Fix android webview build issues. Created 6 years, 8 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 'variables': { 6 'variables': {
7 'content_shell_product_name': 'Content Shell', 7 'content_shell_product_name': 'Content Shell',
8 # The "19" is so that sites that sniff for version think that this is 8 # The "19" is so that sites that sniff for version think that this is
9 # something reasonably current; the "77.34.5" is a hint that this isn't a 9 # something reasonably current; the "77.34.5" is a hint that this isn't a
10 # standard Chrome. 10 # standard Chrome.
(...skipping 979 matching lines...) Expand 10 before | Expand all | Expand 10 after
990 'sources': [ 990 'sources': [
991 'shell/android/shell_library_loader.cc', 991 'shell/android/shell_library_loader.cc',
992 'shell/android/shell_library_loader.h', 992 'shell/android/shell_library_loader.h',
993 ], 993 ],
994 'conditions': [ 994 'conditions': [
995 ['android_webview_build==1', { 995 ['android_webview_build==1', {
996 'ldflags': [ 996 'ldflags': [
997 '-lgabi++', # For rtti 997 '-lgabi++', # For rtti
998 ], 998 ],
999 }], 999 }],
1000 ['component == "static_library"', {
1001 'ldflags!': [
1002 # Don't need to strip symbols from libs, because exports are con trolled
1003 # through linker vesrion script.
1004 '-Wl,--exclude-libs=ALL',
1005 ],
1006 'ldflags': [
1007 # Android exports in linker version script.
1008 # TODO(ostap): Gyp doesn't corectly calculate path if <(DEPTH) is used here.
1009 # Use <(DEPTH) when gyp is fixed or replaced with gn.
1010 '-Wl,--version-script="../../build/android/android_exports.lst" ',
1011 ],
1012 }],
1000 ], 1013 ],
1001 }, 1014 },
1002 { 1015 {
1003 'target_name': 'content_shell_java', 1016 'target_name': 'content_shell_java',
1004 'type': 'none', 1017 'type': 'none',
1005 'dependencies': [ 1018 'dependencies': [
1006 'content.gyp:content_java', 1019 'content.gyp:content_java',
1007 ], 1020 ],
1008 'variables': { 1021 'variables': {
1009 'java_in_dir': '../content/shell/android/java', 1022 'java_in_dir': '../content/shell/android/java',
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
1121 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', 1134 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb',
1122 '--destination_dir', '<(dest_dir)', 1135 '--destination_dir', '<(dest_dir)',
1123 ], 1136 ],
1124 }, 1137 },
1125 ], 1138 ],
1126 }, 1139 },
1127 ], 1140 ],
1128 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" 1141 }], # OS=="win" and fastbuild==0 and target_arch=="ia32"
1129 ] 1142 ]
1130 } 1143 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698