OLD | NEW |
---|---|
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'includes': [ | 6 'includes': [ |
7 'remoting_host_linux.gypi', | 7 'remoting_host_linux.gypi', |
8 'remoting_host_mac.gypi', | 8 'remoting_host_mac.gypi', |
9 'remoting_host_win.gypi', | 9 'remoting_host_win.gypi', |
10 ], | 10 ], |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
126 'dependencies' : [ | 126 'dependencies' : [ |
127 '../ui/ozone/ozone.gyp:ozone', | 127 '../ui/ozone/ozone.gyp:ozone', |
128 ] | 128 ] |
129 }], | 129 }], |
130 ], | 130 ], |
131 }], | 131 }], |
132 ['OS=="mac"', { | 132 ['OS=="mac"', { |
133 'dependencies': [ | 133 'dependencies': [ |
134 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gy p:google_toolbox_for_mac', | 134 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gy p:google_toolbox_for_mac', |
135 ], | 135 ], |
136 'variables': { | |
137 # Include internal_mac-inl.h only if it exists. | |
138 'use_remoting_macosx_internal%': | |
139 '<!(python -c "import os; print os.path.exists(\'tools/interna l/internal_mac-inl.h\') and 1 or 0")' | |
Jamie
2014/12/13 02:12:16
A more Pythonic way of expressing this would be:
dcaiafa
2014/12/13 02:16:56
Done.
| |
140 }, | |
141 'conditions': [ | |
142 ['use_remoting_macosx_internal==1', { | |
143 'sources': [ | |
144 'internal/internal_mac-inl.h' | |
145 ], | |
146 'defines': [ | |
147 'USE_REMOTING_MACOSX_INTERNAL' | |
148 ] | |
149 }] | |
150 ], | |
136 'link_settings': { | 151 'link_settings': { |
137 'libraries': [ | 152 'libraries': [ |
138 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', | 153 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
139 'libpam.a', | 154 'libpam.a', |
140 ], | 155 ], |
141 }, | 156 }, |
142 }], | 157 }], |
143 ['OS=="win"', { | 158 ['OS=="win"', { |
144 'defines': [ | 159 'defines': [ |
145 '_ATL_NO_EXCEPTIONS', | 160 '_ATL_NO_EXCEPTIONS', |
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
722 }], # mac_breakpad==1 | 737 }], # mac_breakpad==1 |
723 ], # conditions | 738 ], # conditions |
724 }], # OS=mac | 739 }], # OS=mac |
725 ], | 740 ], |
726 }, # end of target 'remoting_it2me_native_messaging_host' | 741 }, # end of target 'remoting_it2me_native_messaging_host' |
727 ], # end of 'targets' | 742 ], # end of 'targets' |
728 }], # # end of OS!="win" and enable_it2me_host==1 | 743 }], # # end of OS!="win" and enable_it2me_host==1 |
729 | 744 |
730 ], # end of 'conditions' | 745 ], # end of 'conditions' |
731 } | 746 } |
OLD | NEW |