OLD | NEW |
(Empty) | |
| 1 { |
| 2 'TOOLS': ['newlib', 'glibc', 'pnacl', 'win'], |
| 3 'SEARCH': [ |
| 4 '../../../../testing/gtest/include/gtest', |
| 5 '../../../../testing/gtest/include/gtest/internal', |
| 6 '../../../../testing/gtest/src', |
| 7 ], |
| 8 'TARGETS': [ |
| 9 { |
| 10 'NAME' : 'gtest', |
| 11 'TYPE' : 'lib', |
| 12 'SOURCES' : [ |
| 13 'gtest.cc', |
| 14 'gtest-death-test.cc', |
| 15 'gtest-filepath.cc', |
| 16 'gtest_main.cc', |
| 17 'gtest-port.cc', |
| 18 'gtest-printers.cc', |
| 19 'gtest-test-part.cc', |
| 20 'gtest-typed-test.cc', |
| 21 ], |
| 22 # Ignore warning: |
| 23 # gtest.cc:2555: error: enumeration value ‘COLOR_DEFAULT’ not handled in
switch |
| 24 'CXXFLAGS': ['-Wno-switch-enum'], |
| 25 'INCLUDES': [ |
| 26 # See comment below about gtest-internal-inl.h |
| 27 '$(NACL_SDK_ROOT)/include/gtest/internal', |
| 28 ], |
| 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': 'testing', |
| 75 'NAME': 'gtest', |
| 76 } |
OLD | NEW |