diff options
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/linux_crash_logger/CMakeLists.txt | 11 | ||||
| -rw-r--r-- | indra/linux_updater/CMakeLists.txt | 11 | ||||
| -rw-r--r-- | indra/newview/CMakeLists.txt | 13 | ||||
| -rwxr-xr-x | indra/newview/viewer_manifest.py | 29 | 
4 files changed, 15 insertions, 49 deletions
diff --git a/indra/linux_crash_logger/CMakeLists.txt b/indra/linux_crash_logger/CMakeLists.txt index 4b19e28066..ab62a0d0af 100644 --- a/indra/linux_crash_logger/CMakeLists.txt +++ b/indra/linux_crash_logger/CMakeLists.txt @@ -54,12 +54,5 @@ target_link_libraries(linux-crash-logger      ${DB_LIBRARIES}      ) -add_custom_command( -    OUTPUT linux-crash-logger-stripped -    COMMAND strip -    ARGS --strip-debug -o linux-crash-logger-stripped linux-crash-logger -    DEPENDS linux-crash-logger -    ) - -add_custom_target(linux-crash-logger-strip-target ALL -                  DEPENDS linux-crash-logger-stripped) +add_custom_target(linux-crash-logger-target ALL +                  DEPENDS linux-crash-logger) diff --git a/indra/linux_updater/CMakeLists.txt b/indra/linux_updater/CMakeLists.txt index 9fe32ecb46..00a78b2a8f 100644 --- a/indra/linux_updater/CMakeLists.txt +++ b/indra/linux_updater/CMakeLists.txt @@ -47,12 +47,5 @@ target_link_libraries(linux-updater      ${LLCOMMON_LIBRARIES}      ) -add_custom_command( -    OUTPUT linux-updater-stripped -    COMMAND strip -    ARGS --strip-debug -o linux-updater-stripped linux-updater -    DEPENDS linux-updater -    ) - -add_custom_target(linux-updater-strip-target ALL -                  DEPENDS linux-updater-stripped) +add_custom_target(linux-updater-target ALL +                  DEPENDS linux-updater) diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index 6634fe5379..14eb75e457 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -1624,13 +1624,6 @@ set(ARTWORK_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE PATH  if (LINUX) -  add_custom_command( -      OUTPUT secondlife-stripped -      COMMAND strip -      ARGS --strip-debug -o secondlife-stripped ${VIEWER_BINARY_NAME} -      DEPENDS ${VIEWER_BINARY_NAME} -      ) -    set(product SecondLife-${ARCH}-${viewer_VERSION})    add_custom_command( @@ -1650,15 +1643,15 @@ if (LINUX)          --login_channel=${VIEWER_LOGIN_CHANNEL}          --source=${CMAKE_CURRENT_SOURCE_DIR}          --touch=${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/.${product}.touched -      DEPENDS secondlife-stripped ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py +      DEPENDS ${VIEWER_BINARY_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py        )    add_dependencies(${VIEWER_BINARY_NAME} SLPlugin media_plugin_gstreamer010 media_plugin_webkit)    if (NOT INSTALL)      add_custom_target(package ALL DEPENDS ${product}.tar.bz2) -    add_dependencies(package linux-crash-logger-strip-target) -    add_dependencies(package linux-updater-strip-target) +    add_dependencies(package linux-crash-logger-target) +    add_dependencies(package linux-updater-target)      check_message_template(package)    endif (NOT INSTALL)  endif (LINUX) diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py index 15a51bbe14..3f379fcf75 100755 --- a/indra/newview/viewer_manifest.py +++ b/indra/newview/viewer_manifest.py @@ -854,16 +854,10 @@ class Linux_i686Manifest(LinuxManifest):                  print "Skipping %s - not found" % libfile                  pass -             -        if(self.args['buildtype'].lower() == 'release'): -            print "* packaging stripped viewer binary." -            self.path("secondlife-stripped","bin/do-not-directly-run-secondlife-bin") -        else: -            print "* packaging un-stripped viewer binary." -            self.path("secondlife-bin","bin/do-not-directly-run-secondlife-bin") +        self.path("secondlife-bin","bin/do-not-directly-run-secondlife-bin") -        self.path("../linux_crash_logger/linux-crash-logger-stripped","bin/linux-crash-logger.bin") -        self.path("../linux_updater/linux-updater-stripped", "bin/linux-updater.bin") +        self.path("../linux_crash_logger/linux-crash-logger","bin/linux-crash-logger.bin") +        self.path("../linux_updater/linux-updater", "bin/linux-updater.bin")          self.path("../llplugin/slplugin/SLPlugin", "bin/SLPlugin")          if self.prefix("res-sdl"):              self.path("*") @@ -914,23 +908,16 @@ class Linux_i686Manifest(LinuxManifest):              if self.prefix(src="vivox-runtime/i686-linux", dst="lib"):                      self.path("libortp.so")                      self.path("libsndfile.so.1") -                    #self.path("libvivoxoal.so.1") # no - we'll re-use the viewer's own OAL lib +                    #self.path("libvivoxoal.so.1") # no - we'll re-use the viewer's own OpenAL lib                      self.path("libvivoxsdk.so")                      self.path("libvivoxplatform.so")                      self.end_prefix("lib") -class Linux_x86_64Manifest(LinuxManifest): -    def construct(self): -        super(Linux_x86_64Manifest, self).construct() -        self.path("secondlife-stripped","bin/do-not-directly-run-secondlife-bin") -        self.path("../linux_crash_logger/linux-crash-logger-stripped","linux-crash-logger.bin") -        if self.prefix("res-sdl"): -            self.path("*") -            # recurse -            self.end_prefix("res-sdl") +        if self.args['buildtype'].lower() == 'release': +            print "* Going strip-crazy on the packaged binaries, since this is a RELEASE build" +            self.run_command("find %(d)r/bin %(d)r/lib -type f | xargs --no-run-if-empty strip -S" % {'d': self.get_dst_prefix()} ) # makes some small assumptions about our packaged dir structure -        self.path("featuretable_linux.txt") -        self.path("secondlife-i686.supp") +################################################################  if __name__ == "__main__":      main()  | 
