trunks: Compile test classes into static library

This CL makes trunks compile the Mock* classes into a static library.
This library will be installed in the chroot, but will not be copied to
the target. This allows clients of trunks to use these mock classes to
test code on the host.

Bug: 24099462
TEST=FEATURES=test emerge-rambi trunks

Change-Id: Ib97594dea5a2c47183e442c33bdead82af5b5384
1 file changed
tree: 5e30acac744ee61f1d24f85f43b145526ca6b953
  1. CPPLINT.cfg
  2. MODULE_LICENSE_APACHE2
  3. Makefile
  4. NOTICE
  5. OWNERS
  6. PRESUBMIT.cfg
  7. README
  8. authorization_delegate.h
  9. background_command_transceiver.cc
  10. background_command_transceiver.h
  11. background_command_transceiver_test.cc
  12. blob_parser.cc
  13. blob_parser.h
  14. command_transceiver.h
  15. dbus_interface.h
  16. dbus_interface.proto
  17. error_codes.cc
  18. error_codes.h
  19. ftdi/
  20. generator/
  21. hmac_authorization_delegate.cc
  22. hmac_authorization_delegate.h
  23. hmac_authorization_delegate_unittest.cc
  24. hmac_session.h
  25. hmac_session_impl.cc
  26. hmac_session_impl.h
  27. hmac_session_test.cc
  28. mock_authorization_delegate.cc
  29. mock_authorization_delegate.h
  30. mock_blob_parser.cc
  31. mock_blob_parser.h
  32. mock_command_transceiver.cc
  33. mock_command_transceiver.h
  34. mock_hmac_session.cc
  35. mock_hmac_session.h
  36. mock_policy_session.cc
  37. mock_policy_session.h
  38. mock_session_manager.cc
  39. mock_session_manager.h
  40. mock_tpm.cc
  41. mock_tpm.h
  42. mock_tpm_state.cc
  43. mock_tpm_state.h
  44. mock_tpm_utility.cc
  45. mock_tpm_utility.h
  46. org.chromium.Trunks.conf
  47. password_authorization_delegate.cc
  48. password_authorization_delegate.h
  49. password_authorization_delegate_unittest.cc
  50. policy_session.h
  51. policy_session_impl.cc
  52. policy_session_impl.h
  53. policy_session_test.cc
  54. resource_manager.cc
  55. resource_manager.h
  56. resource_manager_test.cc
  57. scoped_key_handle.cc
  58. scoped_key_handle.h
  59. scoped_key_handle_test.cc
  60. session_manager.h
  61. session_manager_impl.cc
  62. session_manager_impl.h
  63. session_manager_test.cc
  64. tpm_constants.h
  65. tpm_generated.cc
  66. tpm_generated.h
  67. tpm_generated_test.cc
  68. tpm_handle.cc
  69. tpm_handle.h
  70. tpm_simulator_handle.cc
  71. tpm_simulator_handle.h
  72. tpm_state.h
  73. tpm_state_impl.cc
  74. tpm_state_impl.h
  75. tpm_state_test.cc
  76. tpm_utility.h
  77. tpm_utility_impl.cc
  78. tpm_utility_impl.h
  79. tpm_utility_test.cc
  80. trunks.gyp
  81. trunks_client.cc
  82. trunks_client_test.cc
  83. trunks_client_test.h
  84. trunks_export.h
  85. trunks_factory.h
  86. trunks_factory_for_test.cc
  87. trunks_factory_for_test.h
  88. trunks_factory_impl.cc
  89. trunks_factory_impl.h
  90. trunks_ftdi_spi.cc
  91. trunks_ftdi_spi.h
  92. trunks_proxy.cc
  93. trunks_proxy.h
  94. trunks_service.cc
  95. trunks_service.h
  96. trunks_testrunner.cc
  97. trunksd-seccomp-amd64.policy
  98. trunksd-seccomp-arm.policy
  99. trunksd-seccomp-x86.policy
  100. trunksd.cc
  101. trunksd.conf