# Copyright 2013 Google Inc. All Rights Reserved. # This is for googletest release 1.8.0 { 'target_defaults': { # It seems that if one target uses -fPIC, then all targets will need that # flag or else there will be linking errors. PIC means Position Independent # Code and is needed to build the shared library version of liboemrypto.so. # Similarly, -g is all or nothing. It turns on debugging symbols. 'cflags': [ '-g', '-fPIC', ], 'cflags_cc': [ '-std=gnu++98', ], 'ldflags': [ '-fPIC', ], 'include_dirs': [ 'googletest/googlemock', 'googletest/googlemock/include', 'googletest/googletest', 'googletest/googletest/include', ], 'direct_dependent_settings': { 'include_dirs': [ 'googletest/googlemock/include', 'googletest/googletest/include', ], }, }, 'targets': [ { 'target_name': 'gmock', 'type': 'static_library', 'sources': [ 'googletest/googlemock/src/gmock-all.cc', ], }, { 'target_name': 'gmock_main', 'type': 'static_library', 'sources': [ 'googletest/googlemock/src/gmock_main.cc', ], }, { 'target_name': 'gtest', 'type': 'static_library', 'sources': [ 'googletest/googletest/src/gtest-all.cc', ], }, ], }