| OLD | NEW |
| 1 { | 1 { |
| 2 'TOOLS': ['newlib', 'glibc', 'pnacl'], | 2 'TOOLS': ['newlib', 'glibc', 'pnacl', 'linux', 'win'], |
| 3 'TARGETS': [ | 3 'TARGETS': [ |
| 4 { | 4 { |
| 5 'NAME' : 'input_events', | 5 'NAME' : 'input_events', |
| 6 'TYPE' : 'main', | 6 'TYPE' : 'main', |
| 7 'SOURCES' : [ | 7 'SOURCES' : [ |
| 8 'custom_events.cc', | 8 'custom_events.cc', |
| 9 'custom_events.h', | 9 'custom_events.h', |
| 10 'input_events.cc', | 10 'input_events.cc', |
| 11 'shared_queue.h', | 11 'shared_queue.h', |
| 12 ], | 12 ], |
| 13 'LIBS': ['ppapi_cpp', 'ppapi', 'pthread'] | 13 'LIBS': ['ppapi_cpp', 'ppapi', 'pthread'] |
| 14 } | 14 } |
| 15 ], | 15 ], |
| 16 'DATA': ['example.js'], | 16 'DATA': [ |
| 17 'Makefile', |
| 18 'example.js', |
| 19 ], |
| 17 'DEST': 'examples', | 20 'DEST': 'examples', |
| 18 'NAME': 'input_events', | 21 'NAME': 'input_events', |
| 19 'TITLE': 'Input Events', | 22 'TITLE': 'Input Events', |
| 20 'DESC': """The Input Events example shows how to handle input events in a | 23 'DESC': """The Input Events example shows how to handle input events in a |
| 21 multi-threaded application. The main thread converts input events to | 24 multi-threaded application. The main thread converts input events to |
| 22 non-pepper events and puts them on a queue. The worker thread pulls them off of | 25 non-pepper events and puts them on a queue. The worker thread pulls them off of |
| 23 the queue, converts them to a string, and then uses CallOnMainThread so that | 26 the queue, converts them to a string, and then uses CallOnMainThread so that |
| 24 PostMessage can be send the result of the worker thread to the browser.""", | 27 PostMessage can be send the result of the worker thread to the browser.""", |
| 25 'FOCUS': """Multi-threading, keyboard and mouse input, view change, and focus | 28 'FOCUS': """Multi-threading, keyboard and mouse input, view change, and focus |
| 26 events.""", | 29 events.""", |
| 27 'GROUP': 'API', | 30 'GROUP': 'API', |
| 28 } | 31 } |
| 29 | 32 |
| OLD | NEW |