| OLD | NEW |
| 1 { | 1 { |
| 2 'TOOLS': ['glibc'], | 2 'TOOLS': ['glibc'], |
| 3 'SEARCH': [ |
| 4 '.', |
| 5 '..', |
| 6 '../../tools', |
| 7 ], |
| 3 'TARGETS': [ | 8 'TARGETS': [ |
| 4 { | 9 { |
| 5 'NAME': 'dlopen', | 10 'NAME': 'dlopen', |
| 6 'TYPE': 'main', | 11 'TYPE': 'main', |
| 7 'SOURCES': ['dlopen.cc'], | 12 'SOURCES': ['dlopen.cc'], |
| 8 'LIBS': ['dl', 'ppapi_cpp', 'ppapi', 'pthread'] | 13 'LIBS': ['dl', 'ppapi_cpp', 'ppapi', 'pthread'] |
| 9 }, | 14 }, |
| 10 { | 15 { |
| 11 'NAME' : 'libeightball', | 16 'NAME' : 'libeightball', |
| 12 'TYPE' : 'so', | 17 'TYPE' : 'so', |
| 13 'SOURCES' : ['eightball.cc', 'eightball.h'], | 18 'SOURCES' : ['eightball.cc', 'eightball.h'], |
| 14 'CXXFLAGS': ['-fPIC'], | 19 'CXXFLAGS': ['-fPIC'], |
| 15 'LIBS' : ['ppapi_cpp', 'ppapi', 'pthread'] | 20 'LIBS' : ['ppapi_cpp', 'ppapi', 'pthread'] |
| 16 } | 21 } |
| 17 ], | 22 ], |
| 18 'DATA': ['example.js'], | 23 'DATA': [ |
| 24 'Makefile', |
| 25 'example.js', |
| 26 ], |
| 19 'DEST': 'examples', | 27 'DEST': 'examples', |
| 20 'NAME': 'dlopen', | 28 'NAME': 'dlopen', |
| 21 'TITLE': 'Dynamic Library Open', | 29 'TITLE': 'Dynamic Library Open', |
| 22 'DESC': """ | 30 'DESC': """ |
| 23 The dlopen example demonstrates how build dynamic libraries and then | 31 The dlopen example demonstrates how build dynamic libraries and then |
| 24 open and use them at runtime. When the page loads, type in a question and | 32 open and use them at runtime. When the page loads, type in a question and |
| 25 hit enter or click the ASK! button. The question and answer will be | 33 hit enter or click the ASK! button. The question and answer will be |
| 26 displayed in the page under the text entry box. Shared libraries are only | 34 displayed in the page under the text entry box. Shared libraries are only |
| 27 available with the GLIBC toolchain.""", | 35 available with the GLIBC toolchain.""", |
| 28 'FOCUS': 'Using shared objects.', | 36 'FOCUS': 'Using shared objects.', |
| 29 'GROUP': 'Concepts' | 37 'GROUP': 'Concepts' |
| 30 } | 38 } |
| 31 | 39 |
| OLD | NEW |