


{"id":11107,"date":"2017-09-10T02:18:30","date_gmt":"2017-09-10T02:18:30","guid":{"rendered":"https:\/\/expressplay.local\/?page_id=11107"},"modified":"2021-02-10T12:03:58","modified_gmt":"2021-02-10T20:03:58","slug":"sdk-source-build-guide","status":"publish","type":"page","link":"https:\/\/www.expressplay.com\/ja\/developer\/sdk-source-build-guide\/","title":{"rendered":"SDK Source Building Guide"},"content":{"rendered":"<style>\nh2,h3 {\n    margin: 20px 0;\n}<\/p>\n<\/style>\n<h2>SDK Source Building Guide<\/h2>\n<div id=\"buildingexpressplay\">\n<h2>General Build Instructions<\/h2>\n<p>General instructions for compiling and building ExpressPlay SDK are provided in operating system- specific documents in the following directory of the ExpressPlay SDK distribution:<\/p>\n<p style=\"text-indent: 3em\" ;=\"\">$SDK_HOME\/Documents\/Client\/Build<\/p>\n<h2>Required Deployment-Specific Build Modifications<\/h2>\n<p>Default implementations are built into ExpressPlay SDK for some replaceable functionality. This section describes how to replace implementations that are required to be replaced. Section 8.3 documents how to replace implementations that may be optionally replaced.<\/p>\n<h3>Replacing Default SKB API Implementation<\/h3>\n<p>ExpressPlay SDK uses the SKB (Secure Key Box) API for the handling of secret data, such as cryptographic keys. ExpressPlay SDK includes a generic SKB API implementation that is automatically used by default, but this implementation is insecure and must be replaced with a secure implementation of the SKB API.<\/p>\n<p>In order to have a different implementation utilized, do the following. Please note: Currently, these instructions apply only to Linux systems. Here are the basic steps, followed by an example:\n<\/p>\n<ol>\n<li>Obtain a static or dynamic library containing the SKB implementation.<\/li>\n<li>Add two lines in the ExpressPlay SDK Config.scons file setting the following environment variables:\n<ul>\n<li>WSB_SKB_LIB \u2013 The value of this variable should specify the name of the SKB library file, not including the lib prefix or the extension.<\/li>\n<li>WSB_SKB_LIB_ABSOLUTE_DIR \u2013 The value of this variable should specify the absolute path to the library file location.<\/li>\n<\/ul>\n<\/li>\n<li>If the SKB library depends on other libraries, add the following to Config.scons: env[\u2018ENV\u2019][\u2018LD_RUN_PATH\u2019] = \u2018\/path\/to\/skb\/lib\/dependencies\u2019<\/li>\n<li>Build in the same way as usual.<\/li>\n<li>If the SKB library is a dynamic library, configure LD_LIBRARY_PATH to refer to the directory containing the library. This step is not needed for a static library.<\/li>\n<\/ol>\n<h2>Optional Deployment-Specific Build Modifications<\/h2>\n<p>The following section covers some of the optional build modifications which are commonly used.<\/p>\n<h3>Replacing Default Action Result Validator<\/h3>\n<p style=\"word-wrap: break-word;\">This replaceable function is declared in $SDK_HOME\/Source\/Config\/Validator\/WsbConfigActionResultValidator.h<\/p>\n<p style=\"word-wrap: break-word;\">There is a default implementation at $SDK_HOME\/Source\/Config\/Validator\/Default\/WsbConfigActionResultValidator.cpp<\/p>\n<p>In many deployments, it will be desirable to replace the default implementation with one that can handle more license requirements. To do so, create a new directory under Source\/Config\/Validator, place the appropriate implementation there, and, prior to building ExpressPlay SDK, specify that directory name of \u2018Default\u2019 in the following line in the Build.scons file: env[\u2018WSB_CONFIG_ACTION_RESULT_VALIDATOR\u2019] = \u2018Default\u2019<\/p>\n<p>Additional deployment specific modifications are documented in a \u201cDeployment Guide\u201d available by request from <a href=\"mailto:support@expressplay.zendesk.com\">support@expressplay.zendesk.com<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SDK Source Building Guide General Build Instructions General instructions for compiling and building ExpressPlay SDK are provided in operating system- specific documents in the following directory of the ExpressPlay SDK distribution: $SDK_HOME\/Documents\/Client\/Build Required Deployment-Specific Build Modifications Default implementations are built into ExpressPlay SDK for some replaceable functionality. This section describes how to replace implementations that are required to be replaced. Section 8.3 documents how to replace implementations that may be optionally replaced. Replacing Default SKB API Implementation ExpressPlay SDK uses the SKB (Secure Key Box) API for the handling of secret data, such as cryptographic keys. ExpressPlay SDK includes a generic SKB API implementation that is automatically used by default, [&hellip;]<\/p>\n","protected":false},"author":124,"featured_media":0,"parent":10924,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-expressplay-developer.php","meta":{"_acf_changed":false,"footnotes":""},"tax_page_type":[512],"coauthors":[621],"class_list":["post-11107","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.expressplay.com\/ja\/wp-json\/wp\/v2\/pages\/11107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.expressplay.com\/ja\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.expressplay.com\/ja\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.expressplay.com\/ja\/wp-json\/wp\/v2\/users\/124"}],"replies":[{"embeddable":true,"href":"https:\/\/www.expressplay.com\/ja\/wp-json\/wp\/v2\/comments?post=11107"}],"version-history":[{"count":0,"href":"https:\/\/www.expressplay.com\/ja\/wp-json\/wp\/v2\/pages\/11107\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.expressplay.com\/ja\/wp-json\/wp\/v2\/pages\/10924"}],"wp:attachment":[{"href":"https:\/\/www.expressplay.com\/ja\/wp-json\/wp\/v2\/media?parent=11107"}],"wp:term":[{"taxonomy":"tax_page_type","embeddable":true,"href":"https:\/\/www.expressplay.com\/ja\/wp-json\/wp\/v2\/tax_page_type?post=11107"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.expressplay.com\/ja\/wp-json\/wp\/v2\/coauthors?post=11107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}