src/jdk.jlink/linux/classes/jdk/tools/jlink/resources/strip_native_debug_symbols_plugin.properties
author sgehwolf
Thu, 14 Mar 2019 14:04:39 +0100
changeset 54824 adb3a3aa2e52
permissions -rw-r--r--
8214796: Create a jlink plugin for stripping debug info symbols from native libraries Reviewed-by: alanb, mchung, erikj, ihse
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
54824
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
     1
#
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
     2
# Copyright (c) 2019, Red Hat Inc.
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
     4
#
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    10
#
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    15
# accompanied this code).
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    16
#
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    20
#
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    23
# questions.
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    24
#
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    25
strip-native-debug-symbols.description=\
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    26
Strip debug symbols from native libraries (if any). \n\
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    27
\ This plugin requires at least one option: \n\
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    28
\ \ \ objcopy: The path to the 'objcopy' binary. Defaults to 'objcopy' in PATH.\n\
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    29
\ \ \ exclude-debuginfo-files: Exclude debug info files. Defaults to true.\n\
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    30
\ \ \ keep-debuginfo-files[=<ext>]: Keep debug info files in <file>.<ext>.\n\
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    31
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Defaults to <file>.debuginfo \n\
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    32
\ Examples: --strip-native-debug-symbols keep-debuginfo-files:objcopy=/usr/bin/objcopy \n\
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    33
\ \ \ \ \ \ \ \ \ \ \ --strip-native-debug-symbols=exclude-debuginfo-files\n
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    34
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    35
strip-native-debug-symbols.argument=\
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    36
<exclude-debuginfo-files|keep-debuginfo-files|objcopy=/path/to/objcopy>
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    37
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    38
strip-native-debug-symbols.invalidstrip=Invalid objcopy command: {0}
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    39
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    40
strip-native-debug-symbols.iae={0}: Unrecognized argument ''{1}''
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    41
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    42
strip-native-debug-symbols.iae.conflict=\
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    43
{0}: Cannot use ''{1}'' and ''{2}'' at the same time
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    44
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    45
strip-native-debug-symbols.error.file=Error: {0}: Stripping debug info for file ''{1}'' failed.
adb3a3aa2e52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf
parents:
diff changeset
    46
strip-native-debug-symbols.error.debugfile=Error: {0}: Creating debug info file for ''{1}'' failed.