1 { 2 'TOOLS': ['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 } 29 ], 30 'HEADERS': [ 31 { 32 'FILES': [ 33 'gtest-death-test.h', 34 'gtest.h', 35 'gtest-message.h', 36 'gtest-param-test.h', 37 'gtest_pred_impl.h', 38 'gtest-printers.h', 39 'gtest_prod.h', 40 'gtest-spi.h', 41 'gtest-test-part.h', 42 'gtest-typed-test.h', 43 ], 44 'DEST': 'include/gtest', 45 }, 46 { 47 'FILES': [ 48 'gtest-death-test-internal.h', 49 'gtest-filepath.h', 50 'gtest-internal.h', 51 'gtest-linked_ptr.h', 52 'gtest-param-util-generated.h', 53 'gtest-param-util.h', 54 'gtest-port.h', 55 'gtest-string.h', 56 'gtest-tuple.h', 57 'gtest-type-util.h', 58 ], 59 'DEST': 'include/gtest/internal', 60 }, 61 { 62 # This is cheesy, but gtest.cc includes "src/gtest-internal-inl.h". Since 63 # gtest is not installed in the SDK, I don't really care about the 64 # directory layout. 65 # TODO(binji): If we decide to include gtest, put this file in a better 66 # spot. 67 'FILES': [ 68 'gtest-internal-inl.h', 69 ], 70 'DEST': 'include/gtest/internal/src', 71 }, 72 ], 73 'DEST': 'src', 74 'NAME': 'gtest', 75 } 76