OLD | NEW |
1 # Copyright 2009, Google Inc. | 1 # Copyright 2009, Google Inc. |
2 # All rights reserved. | 2 # All rights reserved. |
3 # | 3 # |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
6 # met: | 6 # met: |
7 # | 7 # |
8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
(...skipping 22 matching lines...) Expand all Loading... |
33 ], | 33 ], |
34 'targets': [ | 34 'targets': [ |
35 { | 35 { |
36 'target_name': 'service_runtime_x86_64', | 36 'target_name': 'service_runtime_x86_64', |
37 'type': 'static_library', | 37 'type': 'static_library', |
38 'sources': [ | 38 'sources': [ |
39 'nacl_switch.S', | 39 'nacl_switch.S', |
40 'nacl_syscall.S', | 40 'nacl_syscall.S', |
41 'sel_rt_64.c', | 41 'sel_rt_64.c', |
42 ], | 42 ], |
| 43 'conditions': [ |
| 44 [ 'library=="shared_library"', { |
| 45 'asflags': [ |
| 46 '-fPIC', |
| 47 ], |
| 48 }], |
| 49 ], |
43 }, | 50 }, |
44 ], | 51 ], |
45 } | 52 } |
OLD | NEW |