From a678948db4df87b2c4d5c140e8b61c267388fbbf Mon Sep 17 00:00:00 2001 From: KongQun Yang Date: Thu, 22 Jun 2017 13:38:27 -0700 Subject: [PATCH] Update gyp to generate standalone static libpackager Change-Id: Ic62b2e4e8a9529da936aa5c64e93faad7187a79a --- packager/packager.gyp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packager/packager.gyp b/packager/packager.gyp index 3f50052a5c..ea42eec564 100644 --- a/packager/packager.gyp +++ b/packager/packager.gyp @@ -40,12 +40,15 @@ 'version/version.gyp:version', ], 'conditions': [ - ['libpackager_type=="shared_library"', { + ['libpackager_type == "shared_library"', { 'defines': [ 'SHARED_LIBRARY_BUILD', 'SHAKA_IMPLEMENTATION', ], }], + ['libpackager_type == "static_library"', { + 'standalone_static_library': 1, + }], ], }, {