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':{ |
11 'target_base': 'none', | 11 'target_base': 'none', |
12 }, | 12 }, |
13 'target_conditions': [ | 13 'target_conditions': [ |
14 ['target_base=="weak_ref"', { | 14 ['target_base=="weak_ref"', { |
15 'sources': [ | 15 'sources': [ |
16 'weak_ref.cc', | 16 'weak_ref.cc', |
17 'weak_ref.h', | 17 'weak_ref.h', |
| 18 'call_on_main_thread.h', |
18 ], | 19 ], |
19 'xcode_settings': { | 20 'xcode_settings': { |
20 'WARNING_CFLAGS': [ | 21 'WARNING_CFLAGS': [ |
21 '-Wno-missing-field-initializers' | 22 '-Wno-missing-field-initializers' |
22 ] | 23 ] |
23 }, | 24 }, |
24 }, | 25 }, |
25 ]], | 26 ]], |
26 }, | 27 }, |
27 'conditions': [ | 28 'conditions': [ |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 'type': 'static_library', # 'dynamic_library', ?!? | 71 'type': 'static_library', # 'dynamic_library', ?!? |
71 'variables': { | 72 'variables': { |
72 'target_base': 'weak_ref', | 73 'target_base': 'weak_ref', |
73 }, | 74 }, |
74 'dependencies': [ | 75 'dependencies': [ |
75 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform', | 76 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform', |
76 ], | 77 ], |
77 }, | 78 }, |
78 ], | 79 ], |
79 } | 80 } |
OLD | NEW |