| OLD | NEW |
| 1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use 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 # Mac specific files and settings for SDL | 5 # Mac specific files and settings for SDL |
| 6 | 6 |
| 7 { | 7 { |
| 8 #TODO what is really necessary here | 8 |
| 9 'link_settings': { | 9 'link_settings': { |
| 10 'libraries': [ | 10 'libraries': [ |
| 11 '-lm', | |
| 12 '-liconv', | |
| 13 '-lobjc', | |
| 14 '-lpthread', | |
| 15 '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework', | 11 '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework', |
| 16 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', | 12 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', |
| 17 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', | 13 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', |
| 18 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', | 14 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', |
| 15 '/usr/lib/libiconv.dylib', |
| 19 ], | 16 ], |
| 20 }, | 17 }, |
| 21 'sources': [ | 18 'sources': [ |
| 22 '<(src_dir)/src/SDL_assert.c', | 19 '<(src_dir)/src/SDL_assert.c', |
| 23 '<(src_dir)/src/SDL_error.c', | 20 '<(src_dir)/src/SDL_error.c', |
| 24 '<(src_dir)/src/SDL_hints.c', | 21 '<(src_dir)/src/SDL_hints.c', |
| 25 '<(src_dir)/src/SDL_log.c', | 22 '<(src_dir)/src/SDL_log.c', |
| 26 '<(src_dir)/src/atomic/SDL_atomic.c', | 23 '<(src_dir)/src/atomic/SDL_atomic.c', |
| 27 '<(src_dir)/src/atomic/SDL_spinlock.c', | 24 '<(src_dir)/src/atomic/SDL_spinlock.c', |
| 28 '<(src_dir)/src/audio/SDL_audio.c', | 25 '<(src_dir)/src/audio/SDL_audio.c', |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 'cflags': [ | 153 'cflags': [ |
| 157 '-fPIC', | 154 '-fPIC', |
| 158 '-O3', | 155 '-O3', |
| 159 '-mmmx', | 156 '-mmmx', |
| 160 '-m3dnow', | 157 '-m3dnow', |
| 161 '-msse', | 158 '-msse', |
| 162 '-msse2', | 159 '-msse2', |
| 163 '-fvisibility=hidden', | 160 '-fvisibility=hidden', |
| 164 ], | 161 ], |
| 165 } | 162 } |
| OLD | NEW |