Commit Graph

83 Commits

Author SHA1 Message Date
baldurk 8374e2f01f Add license notes about OpenSSL distribution 2018-02-07 16:06:53 +00:00
baldurk 84ea588036 Move android support files into /plugins/android/ in the build
* We also don't copy out of the android SDK anymore as that has a
  licensing impact. Instead we ship our own builds from a local AOSP
  checkout, the same way as other plugins.
2018-02-01 20:21:50 +00:00
baldurk 64c9e93831 Commit interceptor-lib from GAPID @ 9492539f1
* This library will be used to replace the PLT hooking for most core
  functions, and is generally more reliable. It still fails in some
  cases though when the target function is not patchable.
* To build, it requires LLVM. See README.md for instructions on building
  a compatible LLVM for use.
2018-01-31 18:24:12 +00:00
baldurk ec7b2807d0 Build each architecture into its own APK
* This means we can have all the architectures we care about installed,
  and load the right library regardless of what the app does.
2018-01-26 21:19:16 +00:00
baldurk 8d265284ee Add some python valgrind suppressions 2018-01-24 22:52:31 +00:00
baldurk bf4e14ced8 Use full path for invoking keytool 2018-01-17 21:07:03 +00:00
baldurk e305029ddd Update copyright years to 2018 2018-01-01 17:55:29 +00:00
baldurk 464218604f Clone 50 commits instead of 1 on appveyor, matching travis
* This allows the git-commit script embedded in each vcxproj to run OK.
2017-12-27 16:05:15 +00:00
baldurk 16f64a5ace Remove use of unnecessary swig generated .py wrappers
* These .py wrappers are relevant for the non-builtin path, but since we
  use -builtin they serve no purpose except to make things more complex.
* So instead we make the module directly exported as 'module' instead of
  '_module'.
* On windows there's no conflict because we have renderdoc.dll vs
  renderdoc.pyd. On linux it's librenderdoc.so vs renderdoc.so.
* To prevent supporting files like .lib / .pdb from conflicting on
  windows we build the python modules into a subdirectory. They're not
  ever used by the UI (it links in the bindings directly).
2017-12-25 15:05:28 +00:00
baldurk 1c49f335a2 In travis docs builds, do a minimal build of the python modules
* We need to apt-get some build dependencies, and switch to python3 for
  the sphinx build so it can load the module.
2017-12-19 19:01:10 +00:00
baldurk 1825be575f Set warnings-as-errors for travis sphinx builds 2017-12-19 18:14:17 +00:00
baldurk 1e36e73ed9 Remove reference to hash_version.sh script 2017-12-19 12:26:34 +00:00
baldurk b3e48a7576 Add search logic to find android tools automagically, which we ship
* We search first in specified folders by the user (they can browse to
  the android SDK and java JDK).
* If the tools we want aren't found there, we look relative to the UI
  as we now distribute the required tools with windows builds.
* If we still don't find them, we prefer to look in PATH since the user
  has 'opted in' to any tools found in there. If the tool isn't in PATH
  either then we look relative to known environment variables.
2017-12-14 14:38:39 +00:00
baldurk 8c241f13b7 Remove hash_version.sh - no longer needed on windows now
* The VS project fetches the git hash if we're in a git clone inside the
  build process.
2017-12-14 13:36:10 +00:00
baldurk e8dc6471a3 Add pugixml 1.8 2017-11-03 15:54:57 +00:00
baldurk 32c8b38568 Add zstd v1.3.1
* The directories are flattened since the #include paths aren't
  relative and instead just #include "file.h". The recommended
  solution is just to flatten the directory structure.
2017-11-03 15:54:57 +00:00
baldurk e6e36d1ea4 Update lz4 to v1.8.0 2017-11-03 15:54:57 +00:00
baldurk 43d6d6e197 Add brew update to try and fix OSX intermittent errors on travis 2017-10-09 16:06:52 +01:00
baldurk 8c74c92079 Move docstring check from fatal-onstart-hack to unit test run by CI 2017-10-02 15:54:23 +01:00
baldurk e790c39f5f Add a couple of valgrind system leaks to ignore 2017-09-26 11:54:39 +01:00
Janos Pantos ff084037a5 Fix detecting renderdoccmd as a replay application on android
* Force loading librenderdoccmd.so in the Loader
* Build renderdoc as libVkLayer_GLES_RenderDoc.so, link renderdoccmd
  against it, otherwise we will get UnsatisfiedLinkError when running
2017-09-15 12:17:21 -07:00
baldurk 3a934cf66c Use sudo to update pip packages 2017-09-13 12:30:38 +01:00
baldurk dd80af8e91 Skip x86 development on appveyor in a cleaner way 2017-08-29 13:19:52 +01:00
baldurk 73b85f141a Run tests from appveyor and travis builds (Linux only for now) 2017-08-29 13:19:51 +01:00
baldurk eb15c43b41 Add Catch.hpp for unit testing, with appveyor hooks 2017-08-29 13:19:44 +01:00
Cody Northrop a88801c0e7 travis: Update config for Android with latest SDK/NDK 2017-08-17 09:53:37 +01:00
Cody Northrop a95d2bb625 android: Update packaging to work with latest SDK
This removes dependencies on deprecated tools "ant" and "android project"

The new method relies on JAVA_HOME and ANDROID_SDK being set.

It also requires specific versions of the Android build-tools (26.0.1) and
platforms (android-23).  See updates to CONTRIBUTING.md and our Travis-CI
config for details.

Travis-CI and documentation also roll forward to latest public NDK r14b.
2017-08-17 09:53:37 +01:00
baldurk 0ae03ad1ae Fetch the qrenderdoc 3rdparty binaries before doing coverity build 2017-08-15 10:14:37 +01:00
baldurk 8af5d486b2 Change curl to Invoke-WebRequest as curl doesn't work on appveyor 2017-08-14 18:56:17 +01:00
baldurk 46f07fa97f Until deps are committed to the repo, fetch them from web in appveyor 2017-08-14 18:09:59 +01:00
baldurk 2b01ee78f2 Remove C# renderdocui UI. Add qrenderdoc to visual studio solution 2017-08-14 18:09:59 +01:00
baldurk 703c6ba07b Enable CI builds for v0.x and v1.x branches, and disable master 2017-08-04 16:50:23 +01:00
baldurk 0c8ca76c9e Use parallel builds on travis 2017-07-28 19:06:47 +01:00
baldurk 8476be2300 Fix mac build, split PlistBuddy use to separate script, suppress errors
* There's no "add or replace" so we have to just delete and ignore if
  it fails, then add/set as normal.
2017-07-25 22:06:30 +01:00
baldurk c2f08d25de Android layer is compiled as librenderdoc.so before being renamed/copied 2017-07-25 09:11:01 +01:00
Cody Northrop 7f0758f0ae android: Rename librenderdoc to libVkLayer_GLES_Renderdoc
This allows the library to be used as a Vulkan layer and shared
object for GLES debugging.  It was already being renamed in the
distribution scripts.  We've been renaming by hand for local
Vulkan development.
2017-07-21 10:29:46 -07:00
baldurk a6215fa0e7 Include the GCN plugins in the build process 2017-07-05 21:51:43 +01:00
baldurk ecf88787d7 Add code to disassemble SPIR-V, glsl and DXBC into GCN ISA.
* Requires binary plugins to function from the RGA repository. These
  will be included with distributions (nightly and stable builds) where
  possible, however D3D disassembly currently requires the AMD driver
  DLL which cannot be distributed. Placing it in the folder with the
  other files will automatically work.
2017-07-05 20:37:48 +01:00
baldurk 50bd5a4dcf Change android build to use lib/ instead of libs/ and only 32-bit apk 2017-06-29 13:06:00 +01:00
baldurk d44528794a Change qrenderdoc icons to Farm-Fresh, to add high-DPI versions. 2017-06-19 16:17:20 +01:00
baldurk 50af5eda1c Skip copying obj directory in dist script
* The folder is >1GB easily per arch and we delete it right afterwards.
2017-06-13 14:56:40 +01:00
baldurk d1db941275 Tweak a couple of lines to refer to renderdoc.org instead of github 2017-05-19 14:24:27 +01:00
baldurk abb07a5be1 Add missing mention of D3D12 support in a couple of places. 2017-05-19 13:52:16 +01:00
baldurk e36204da09 Bump the MSI version to 3.1, since the VS2015 redist requires it
* 3.1 is still available everywhere we care about - I think even 4.5
  ships with win7.
2017-05-19 13:27:12 +01:00
baldurk dda3da8e96 Only copy adb.exe if there's already an android folder 2017-05-15 11:01:45 +01:00
baldurk c6c13a584a appveyor coverity build should happen with v140 toolset 2017-05-11 15:17:35 +01:00
baldurk 8f70762ed6 Add a release target for linux clang builds 2017-05-09 16:37:06 +01:00
baldurk c18b9147aa Tidy up travis scripts to only set the active build type variables 2017-05-09 16:35:22 +01:00
baldurk 37379043a1 Copy adb.exe and dlls into distribution if it exists under $ANDROID_SDK 2017-05-04 20:36:45 +01:00
baldurk ae50fa99ee Revamp version tagging, remove ugly suffix on git hash. Refs #571
* Tacking -official onto the git hash was a hack only needed on windows,
  and since we want more information it doesn't scale.
* Instead we track anything we need to know about the version in
  separate variables, like whether it's a stable build or a nightly/
  local build. Or if it's built by a downstream distribution then the
  version number for the downstream build.
2017-04-27 19:47:50 +01:00