Comran Morshed | fe7f9ea | 2015-02-19 23:52:57 +0000 | [diff] [blame^] | 1 | { |
| 2 | 'targets': [ |
| 3 | { |
| 4 | 'target_name': 'http_status', |
| 5 | 'type': 'executable', |
| 6 | 'sources': [ |
| 7 | 'http_status.cc', |
| 8 | ], |
| 9 | 'actions': [ |
| 10 | { |
| 11 | 'action_name': 'http_status_gen_embedded', |
| 12 | 'inputs': [ |
| 13 | '<!@(find ./web)', |
| 14 | ], |
| 15 | 'outputs': [ |
| 16 | 'embedded.h', |
| 17 | ], |
| 18 | 'action': [ |
| 19 | 'python', '<(AOS)/externals/seasocks/gen_embedded.py', 'http_status', '<(_outputs)', |
| 20 | ], |
| 21 | }, |
| 22 | ], |
| 23 | 'cflags': [ |
| 24 | # TODO(comran): Fix these once we start writing our own code for the |
| 25 | # server |
| 26 | '-Wno-unused-parameter', |
| 27 | '-Wno-format-nonliteral', |
| 28 | '-Wno-error=cast-align', |
| 29 | '-Wno-switch-enum', |
| 30 | '-Wno-cast-qual', |
| 31 | '-Wno-strict-aliasing', |
| 32 | '-Wno-error=strict-aliasing', |
| 33 | ], |
| 34 | 'dependencies': [ |
| 35 | '<(EXTERNALS):seasocks', |
| 36 | ], |
| 37 | }, |
| 38 | ], |
| 39 | } |