| OLD | NEW |
| 1 { | 1 { |
| 2 'TOOLS': ['newlib', 'glibc', 'pnacl'], | 2 'TOOLS': ['newlib', 'glibc', 'pnacl'], |
| 3 'SEL_LDR': True, | 3 'SEL_LDR': True, |
| 4 | 4 |
| 5 # Need to add ../../examples for common.js | |
| 6 'SEARCH': ['.', '../../examples'], | |
| 7 'TARGETS': [ | 5 'TARGETS': [ |
| 8 { | 6 { |
| 9 'NAME' : 'sdk_util_test', | 7 'NAME' : 'sdk_util_test', |
| 10 'TYPE' : 'main', | 8 'TYPE' : 'main', |
| 11 'SOURCES' : [ | 9 'SOURCES' : [ |
| 12 'main.cc', | 10 'main.cc', |
| 13 'string_util_test.cc', | 11 'string_util_test.cc', |
| 14 ], | 12 ], |
| 15 'DEPS': ['ppapi_simple', 'sdk_util', 'nacl_io'], | 13 'DEPS': ['ppapi_simple', 'sdk_util', 'nacl_io'], |
| 16 # Order matters here: gtest has a "main" function that will be used if | 14 # Order matters here: gtest has a "main" function that will be used if |
| 17 # referenced before ppapi. | 15 # referenced before ppapi. |
| 18 'LIBS': ['gmock', 'ppapi_cpp', 'ppapi', 'gtest', 'pthread'], | 16 'LIBS': ['gmock', 'ppapi_cpp', 'ppapi', 'gtest', 'pthread'], |
| 19 'INCLUDES': ['$(NACL_SDK_ROOT)/include/gtest/internal'], | 17 'INCLUDES': ['$(NACL_SDK_ROOT)/include/gtest/internal'], |
| 20 'CXXFLAGS': ['-Wno-sign-compare', '-Wno-unused-private-field'], | 18 'CXXFLAGS': ['-Wno-sign-compare', '-Wno-unused-private-field'], |
| 21 'CFLAGS_GCC': ['-Wno-unused-local-typedefs'], | 19 'CFLAGS_GCC': ['-Wno-unused-local-typedefs'], |
| 22 } | 20 } |
| 23 ], | 21 ], |
| 24 'DATA': [ | 22 'DATA': [ |
| 25 'example.js' | 23 'example.js' |
| 26 ], | 24 ], |
| 27 'DEST': 'tests', | 25 'DEST': 'tests', |
| 28 'NAME': 'sdk_util_test', | 26 'NAME': 'sdk_util_test', |
| 29 'TITLE': 'SDK Util test', | 27 'TITLE': 'SDK Util test', |
| 30 } | 28 } |
| OLD | NEW |