Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: third_party/libsdl/mac/sdl_mac.gypi

Issue 1428633003: Wire up SDL on mac (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweaks Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/libsdl/mac/SDL_config.h ('k') | third_party/libsdl/sdl.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 # Linux 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 #TODO what is really necessary here
9 'link_settings': { 9 'link_settings': {
10 'libraries': [ 10 'libraries': [
11 '-lm', 11 '-lm',
12 '-ldl', 12 '-liconv',
13 '-lobjc',
13 '-lpthread', 14 '-lpthread',
14 '-lrt' 15 '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework',
16 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
17 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
18 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework',
15 ], 19 ],
16 }, 20 },
17 'sources': [ 21 'sources': [
18 '<(src_dir)/src/SDL.c',
19 '<(src_dir)/src/SDL_assert.c', 22 '<(src_dir)/src/SDL_assert.c',
20 '<(src_dir)/src/SDL_error.c', 23 '<(src_dir)/src/SDL_error.c',
21 '<(src_dir)/src/SDL_hints.c', 24 '<(src_dir)/src/SDL_hints.c',
22 '<(src_dir)/src/SDL_log.c', 25 '<(src_dir)/src/SDL_log.c',
23 '<(src_dir)/src/atomic/SDL_atomic.c', 26 '<(src_dir)/src/atomic/SDL_atomic.c',
24 '<(src_dir)/src/atomic/SDL_spinlock.c', 27 '<(src_dir)/src/atomic/SDL_spinlock.c',
25 '<(src_dir)/src/audio/SDL_audio.c', 28 '<(src_dir)/src/audio/SDL_audio.c',
26 '<(src_dir)/src/audio/SDL_audiocvt.c', 29 '<(src_dir)/src/audio/SDL_audiocvt.c',
27 '<(src_dir)/src/audio/SDL_audiodev.c', 30 '<(src_dir)/src/audio/SDL_audiodev.c',
28 '<(src_dir)/src/audio/SDL_audiotypecvt.c', 31 '<(src_dir)/src/audio/SDL_audiotypecvt.c',
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 '<(src_dir)/src/video/SDL_clipboard.c', 104 '<(src_dir)/src/video/SDL_clipboard.c',
102 '<(src_dir)/src/video/SDL_egl.c', 105 '<(src_dir)/src/video/SDL_egl.c',
103 '<(src_dir)/src/video/SDL_fillrect.c', 106 '<(src_dir)/src/video/SDL_fillrect.c',
104 '<(src_dir)/src/video/SDL_pixels.c', 107 '<(src_dir)/src/video/SDL_pixels.c',
105 '<(src_dir)/src/video/SDL_rect.c', 108 '<(src_dir)/src/video/SDL_rect.c',
106 '<(src_dir)/src/video/SDL_shape.c', 109 '<(src_dir)/src/video/SDL_shape.c',
107 '<(src_dir)/src/video/SDL_stretch.c', 110 '<(src_dir)/src/video/SDL_stretch.c',
108 '<(src_dir)/src/video/SDL_surface.c', 111 '<(src_dir)/src/video/SDL_surface.c',
109 '<(src_dir)/src/video/SDL_video.c', 112 '<(src_dir)/src/video/SDL_video.c',
110 '<(src_dir)/src/loadso/dlopen/SDL_sysloadso.c', 113 '<(src_dir)/src/loadso/dlopen/SDL_sysloadso.c',
111 '<(src_dir)/src/video/x11/SDL_x11clipboard.c', 114 '<(src_dir)/src/video/cocoa/SDL_cocoaclipboard.m',
112 '<(src_dir)/src/video/x11/SDL_x11dyn.c', 115 '<(src_dir)/src/video/cocoa/SDL_cocoaevents.m',
113 '<(src_dir)/src/video/x11/SDL_x11events.c', 116 '<(src_dir)/src/video/cocoa/SDL_cocoakeyboard.m',
114 '<(src_dir)/src/video/x11/SDL_x11framebuffer.c', 117 '<(src_dir)/src/video/cocoa/SDL_cocoamessagebox.m',
115 '<(src_dir)/src/video/x11/SDL_x11keyboard.c', 118 '<(src_dir)/src/video/cocoa/SDL_cocoamodes.m',
116 '<(src_dir)/src/video/x11/SDL_x11messagebox.c', 119 '<(src_dir)/src/video/cocoa/SDL_cocoamouse.m',
117 '<(src_dir)/src/video/x11/SDL_x11modes.c', 120 '<(src_dir)/src/video/cocoa/SDL_cocoamousetap.m',
118 '<(src_dir)/src/video/x11/SDL_x11mouse.c', 121 '<(src_dir)/src/video/cocoa/SDL_cocoaopengl.m',
119 '<(src_dir)/src/video/x11/SDL_x11opengl.c', 122 '<(src_dir)/src/video/cocoa/SDL_cocoashape.m',
120 '<(src_dir)/src/video/x11/SDL_x11opengles.c', 123 '<(src_dir)/src/video/cocoa/SDL_cocoavideo.m',
121 '<(src_dir)/src/video/x11/SDL_x11shape.c', 124 '<(src_dir)/src/video/cocoa/SDL_cocoawindow.m',
122 '<(src_dir)/src/video/x11/SDL_x11touch.c',
123 '<(src_dir)/src/video/x11/SDL_x11video.c',
124 '<(src_dir)/src/video/x11/SDL_x11window.c',
125 '<(src_dir)/src/video/x11/SDL_x11xinput2.c',
126 '<(src_dir)/src/video/x11/edid-parse.c',
127 '<(src_dir)/src/video/x11/imKStoUCS.c',
128 '<(src_dir)/src/thread/pthread/SDL_systhread.c', 125 '<(src_dir)/src/thread/pthread/SDL_systhread.c',
129 '<(src_dir)/src/thread/pthread/SDL_syssem.c', 126 '<(src_dir)/src/thread/pthread/SDL_syssem.c',
130 '<(src_dir)/src/thread/pthread/SDL_sysmutex.c', 127 '<(src_dir)/src/thread/pthread/SDL_sysmutex.c',
131 '<(src_dir)/src/thread/pthread/SDL_syscond.c', 128 '<(src_dir)/src/thread/pthread/SDL_syscond.c',
132 '<(src_dir)/src/thread/pthread/SDL_systls.c', 129 '<(src_dir)/src/thread/pthread/SDL_systls.c',
133 '<(src_dir)/src/filesystem/unix/SDL_sysfilesystem.c', 130 '<(src_dir)/src/filesystem/cocoa/SDL_sysfilesystem.m',
134 '<(src_dir)/src/timer/unix/SDL_systimer.c', 131 '<(src_dir)/src/timer/unix/SDL_systimer.c',
135 '<(src_dir)/src/core/linux/SDL_evdev.c', 132 '<(src_dir)/src/file/cocoa/SDL_rwopsbundlesupport.m',
136 '<(src_dir)/src/joystick/dummy/SDL_sysjoystick.c', 133 '<(src_dir)/src/joystick/dummy/SDL_sysjoystick.c',
137 '<(src_dir)/src/haptic/dummy/SDL_syshaptic.c', 134 '<(src_dir)/src/haptic/dummy/SDL_syshaptic.c',
138 '<(src_dir)/src/main/dummy/SDL_dummy_main.c', 135 '<(src_dir)/src/main/dummy/SDL_dummy_main.c',
136 '<(src_dir)/src/test/SDL_test_assert.c',
137 '<(src_dir)/src/test/SDL_test_common.c',
138 '<(src_dir)/src/test/SDL_test_compare.c',
139 '<(src_dir)/src/test/SDL_test_crc32.c',
140 '<(src_dir)/src/test/SDL_test_font.c',
141 '<(src_dir)/src/test/SDL_test_fuzzer.c',
142 '<(src_dir)/src/test/SDL_test_harness.c',
143 '<(src_dir)/src/test/SDL_test_imageBlit.c',
144 '<(src_dir)/src/test/SDL_test_imageBlitBlend.c',
145 '<(src_dir)/src/test/SDL_test_imageFace.c',
146 '<(src_dir)/src/test/SDL_test_imagePrimitives.c',
147 '<(src_dir)/src/test/SDL_test_imagePrimitivesBlend.c',
148 '<(src_dir)/src/test/SDL_test_log.c',
149 '<(src_dir)/src/test/SDL_test_md5.c',
150 '<(src_dir)/src/test/SDL_test_random.c',
151 '<(src_dir)/src/SDL.c',
139 ], 152 ],
140 'defines': [ 153 'defines': [
141 '__LINUX__',
142 '_REENTRANT' 154 '_REENTRANT'
143 ], 155 ],
144 'cflags': [ 156 'cflags': [
145 '-fPIC', 157 '-fPIC',
146 '-O3', 158 '-O3',
147 '-mmmx', 159 '-mmmx',
148 '-m3dnow', 160 '-m3dnow',
149 '-msse', 161 '-msse',
150 '-msse2', 162 '-msse2',
151 '-fvisibility=hidden', 163 '-fvisibility=hidden',
152 ], 164 ],
153 } 165 }
OLDNEW
« no previous file with comments | « third_party/libsdl/mac/SDL_config.h ('k') | third_party/libsdl/sdl.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698