aboutsummaryrefslogtreecommitdiff
path: root/build-android/jni/Android.mk
AgeCommit message (Collapse)Author
2017-11-28layers: Add xxhashChris Forbes
2017-11-06android: Remove mips targetsCody Northrop
2017-10-12android: Use NDK structure for third party modulesMike Stroyan
Locate glslang and spirv directories under shaderc directory. This allows the layers build to optionally use the NDK sources. For glslang and spirv and shaderc- Use LOCAL_STATIC_LIBRARIES instead of LOCAL_C_INCLUDES to find headers. Use import-module instead of PREBUILT_STATIC_LIBRARY.
2017-10-12LOCAL_C_INCLUDES and LOCAL_CPPFLAGS changesMike Stroyan
Drop abspath from LOCAL_PATH. Use LOCAL_PATH for LOCAL_C_INCLUDES but not LOCAL_SRC_FILES. Move LOCAL_CPPFLAGS from Application.mk to Android.mk.
2017-08-17vkjson: Add support for AndroidCody Northrop
This commit adds vkjson and vkjson_info to the Android build. It is only generated as an executable for devices with root access, but it could be expanded to an APK with some more boilerplate work. See updates to BUILD.md for how to build and run on the device.
2017-08-16android: Updates for NDK r15Cody Northrop
Removes app_dummy from apps that use native activity. For more details refer to: https://github.com/android-ndk/ndk/issues/381
2017-08-16layers: Re-architect parameter validation layerMark Lobodzinski
Changed the codegen to autogenerate validation functions for any new APIs without user intervention. Manual updates are only necessary to extend PV functionality. - parameter_validation.h is now checked into the layers directory - parameter_validation.cpp is now generated - parameter_validation_utils.cpp is new and contains any custom (non-generated) or housekeeping functions. - parameter_validation_utils.h is deprecated - updated database for new VUID coverage Change-Id: Ib9261894386145573ba9e8906ba4ad4e9fecbdfd
2017-07-24build: Switch to generated object_tracker.cppMark Lobodzinski
- updated desktop/android build - removed layers/object_tracker.cpp - updated doc validator script for new location - updated error database for 124 new checks - added gen'd VU to GetSwapchainImages Change-Id: If1b218dfcf62b203a8df96a0f12cbeb8bdcaf826
2017-07-18layers: Reorganize ObjectTracker for future codegenMark Lobodzinski
Moved to-be-generated source to object_tracker.cpp, manually- written and helper functions to object_tracker_utils.cpp (new file), and reworked header. Updated doc validator to search new file. Change-Id: I0fd3bcc4f6d123db07c7f8e2633e6fe16833e231
2017-06-12build: Remove swapchain layer build from cmakeMark Lobodzinski
Also removed from android makefiles. Change-Id: Ib4be1c737e9bd9fda21210ed7b234b9242b7b8f5
2017-06-09layers: Move shader validation plumbing out into own fileChris Forbes
2017-05-23android: Update gradle layer build to use cmakeguanghuafan
2017-03-29layers: refactor layer utilsDave Houlton
Split format-related helper fxns out of vk_layer_utils.cpp into a new file vk_format_utils.cpp. Remove the duplicated fxns in the render framework and share the new format utils across both projects. Rename the util fxns into CamelCase per coding std. Change-Id: I0f9a34bc5931dfca085dfdc8d4800664aec526cf
2017-03-01vulkan: update to header 1.0.42Mark Young
Updated all necessary files to 1.0.42. This includes the various headers as well as the loader, and the parameter validation, object tracking, and threading layers. Additionally, bump all layer JSON files to 1.0.42. Also, in this change: - Enable loader extension automation so that the loader now generates all extension entry-points automatically during build to reduce likelihood of missing a critical piece on header update. - Enable layer dispatch table extension automation for the same reason. - Fixes from Mark Lobodzinski and Tony Barbour to resolve crash in loader when working with Intel's Windows driver due to GetInstanceProcAddr getting called on inappropriate command names. Change-Id: Ic18d3fac2e145c386c0192031deb5089c91a00d8
2017-02-16android: Update build to skip image layerMark Lobodzinski
All image layer functionality has been moved into the core_validation layer. Change-Id: I980e279626e4e3f29c5068240260a737a5a707b1
2017-01-17layers: Move CreateImage recording to buf/img moduleMark Lobodzinski
- Move source from core_validation.cpp into new module - Add new module to layers cmake file - Update android build scripts/makefiles for new files Change-Id: Ia4000b26384d96a551d727f5e37997372f01764a
2016-12-02build: Removed obsolete ICD refs from android scriptMark Lobodzinski
Change-Id: I38ddea801f3efb887eac9da469428d3476f7adc3
2016-11-14android: Move external under build-androidCody Northrop
2016-11-14android: Pull known good toolchain versionsCody Northrop
This includes pulling libSPIRV-Tools-opt into the build to satisfy new shaderc revision.
2016-11-02layers: Change to including vk_safe_struct code.Mike Stroyan
Cmake on windows cannot handle multiple projects using generated library code.
2016-10-03build: hide layer symbols in android buildMike Stroyan
Hide symbols from layers that don't need to be exported. This makes libraries smaller. It reduces symbol lookup time and call overhead. It prevents possible symbol collisions.
2016-10-03build: make android layers favor their own symbolsMike Stroyan
Use -Bsymbolic linking android layers so they don't get symbols like vkCreateDebugReportCallbackEXT from outside the layer.
2016-07-28tests: Create APK version of layer validation testsCody Northrop
2016-07-06layers: Remove device_limits from Android buildMark Lobodzinski
Change-Id: I4d63b740f046ee8378267082abc3792aa7a85418
2016-05-05layers: Rearchitect Descriptor Set validation codeTobin Ehlis
This change pulls all of the DescriptorSet code out of core_validation.cpp and into its own files/classes in descriptor_set.h/cpp. See header file for complete class documentation. These changes pass tri/cube/smoketest --validate. All related layer validation tests are also updated and passing. Finally, I ran it through mustpass CTS and did not hit any issues related to these changes. These changes not only update the descriptor interface but fix some known lingering bugs with how descriptor updates occurred. This includes now correctly handling updates that cross binding boundaries and updates that write a subset of a binding. Going forward this is a general outline for how we would like to evolve core_validation. That is, we'd like to move the functionality of the checks into reasonable classes and just have core_validation call into those classes to do the majority of the work.
2016-05-05android: Move external deps into project dirCody Northrop
Mirroring commit d288cb9a, stop using directories outside of our project location to host external files. Small changes to update_external_sources_android.sh/bat to find glslang, spirv-tool, shaderc in "external" instead of ".."
2016-04-28android: Move vulkan_wrapper to common (from Cody)Tobin Ehlis
2016-04-28Fix android build for CV -> spirv-tools depChris Forbes
Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-04-22toolchain: Bump everything to pull in required SPIR-V tools revisionCody Northrop
Encompasses pull request #261 from Chris. Also gets things building again reflecting upstream changesi, mainly HLSL libs for glslang. Desktop build/test results w/ update_external_sources.sh/bat Windows on Skylake: _run_all_tests.ps1, demos with --validate Ubuntu on Skylake: vk_layer_validation_tests, cube --validate Android build/test results w/ update_external_sources_android.sh/bat: Windows: VkLayerValidationTests pass OSX: VkLayerValidationTests pass Ubuntu: VkLayerValidationTests pass
2016-04-07android: Clean up Android.mkCody Northrop
2016-04-07android: minor indentation correction in Android.mkguanghuafan
2016-04-07android: Adding template for gradle wrapper buildguanghuafan