1 { 2 'TOOLS': ['bionic', 'newlib', 'glibc', 'pnacl', 'win', 'linux'], 3 'SEARCH': [ 4 '.', 5 '../../../../testing/gtest/include/gtest', 6 '../../../../testing/gtest/include/gtest/internal', 7 '../../../../testing/gtest/src', 8 ], 9 'TARGETS': [ 10 { 11 'NAME' : 'gtest', 12 'TYPE' : 'lib', 13 'SOURCES' : [ 14 'gtest.cc', 15 'gtest-death-test.cc', 16 'gtest-filepath.cc', 17 'gtest_main.cc', 18 'gtest-port.cc', 19 'gtest-printers.cc', 20 'gtest-test-part.cc', 21 'gtest-typed-test.cc', 22 'nacl_gtest_dummy_sys.cc', 23 ], 24 'INCLUDES': [ 25 # See comment below about gtest-internal-inl.h 26 '$(NACL_SDK_ROOT)/include/gtest/internal', 27 ], 28 'CXXFLAGS': ['-Wno-unused-const-variable'], 29 } 30 ], 31 'HEADERS': [ 32 { 33 'FILES': [ 34 'gtest-death-test.h', 35 'gtest.h', 36 'gtest-message.h', 37 'gtest-param-test.h', 38 'gtest_pred_impl.h', 39 'gtest-printers.h', 40 'gtest_prod.h', 41 'gtest-spi.h', 42 'gtest-test-part.h', 43 'gtest-typed-test.h', 44 ], 45 'DEST': 'include/gtest', 46 }, 47 { 48 'FILES': [ 49 'gtest-death-test-internal.h', 50 'gtest-filepath.h', 51 'gtest-internal.h', 52 'gtest-linked_ptr.h', 53 'gtest-param-util-generated.h', 54 'gtest-param-util.h', 55 'gtest-port.h', 56 'gtest-string.h', 57 'gtest-tuple.h', 58 'gtest-type-util.h', 59 ], 60 'DEST': 'include/gtest/internal', 61 }, 62 { 63 # This is cheesy, but gtest.cc includes "src/gtest-internal-inl.h". Since 64 # gtest is not installed in the SDK, I don't really care about the 65 # directory layout. 66 # TODO(binji): If we decide to include gtest, put this file in a better 67 # spot. 68 'FILES': [ 69 'gtest-internal-inl.h', 70 ], 71 'DEST': 'include/gtest/internal/src', 72 }, 73 ], 74 'DEST': 'src', 75 'NAME': 'gtest', 76 } 77