| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # Copyright 2011 (c) The Native Client Authors. All rights reserved. Use | 2 # Copyright 2011 (c) The Native Client Authors. All rights reserved. Use |
| 3 # of this source code is governed by a BSD-style license that can be | 3 # of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 { | 5 { |
| 6 'includes': [ | 6 'includes': [ |
| 7 '../../../build/common.gypi', | 7 '../../../build/common.gypi', |
| 8 ], | 8 ], |
| 9 'target_defaults': { | 9 'target_defaults': { |
| 10 'variables':{ | 10 'variables':{ |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 }, | 26 }, |
| 27 'conditions': [ | 27 'conditions': [ |
| 28 # NOTE: We do not support untrusted gyp build on arm yet. | 28 # NOTE: We do not support untrusted gyp build on arm yet. |
| 29 ['target_arch!="arm"', { | 29 ['target_arch!="arm"', { |
| 30 'targets': [ | 30 'targets': [ |
| 31 { | 31 { |
| 32 'target_name': 'weak_ref_lib', | 32 'target_name': 'weak_ref_lib', |
| 33 'type': 'none', | 33 'type': 'none', |
| 34 'variables': { | 34 'variables': { |
| 35 'nlib_target': 'libweak_ref.a', | 35 'nlib_target': 'libweak_ref.a', |
| 36 'nso_target': 'libweak_ref.so', |
| 36 'build_glibc': 1, | 37 'build_glibc': 1, |
| 37 'build_newlib': 1, | 38 'build_newlib': 1, |
| 38 'sources': ['weak_ref.cc'], | 39 'sources': ['weak_ref.cc'], |
| 39 }, | 40 }, |
| 40 'dependencies': [ | 41 'dependencies': [ |
| 41 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 42 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
| 42 ], | 43 ], |
| 43 }, | 44 }, |
| 44 ], | 45 ], |
| 45 }], | 46 }], |
| (...skipping 19 matching lines...) Expand all Loading... |
| 65 'type': 'static_library', # 'dynamic_library', ?!? | 66 'type': 'static_library', # 'dynamic_library', ?!? |
| 66 'variables': { | 67 'variables': { |
| 67 'target_base': 'weak_ref', | 68 'target_base': 'weak_ref', |
| 68 }, | 69 }, |
| 69 'dependencies': [ | 70 'dependencies': [ |
| 70 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform', | 71 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform', |
| 71 ], | 72 ], |
| 72 }, | 73 }, |
| 73 ], | 74 ], |
| 74 } | 75 } |
| OLD | NEW |