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

Side by Side Diff: third_party/libsdl/android/sdl_android.gypi

Issue 1415453009: Wire up SDL on Android (Closed) Base URL: https://skia.googlesource.com/skia.git@sdl
Patch Set: fix appurify 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/android/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 # Linux 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',
12 '-ldl', 11 '-ldl',
13 '-lpthread', 12 '-lGLESv1_CM',
14 '-lrt' 13 '-lGLESv2',
14 '-llog',
15 '-landroid',
15 ], 16 ],
16 }, 17 },
17 'sources': [ 18 'sources': [
18 '<(src_dir)/src/SDL.c', 19 '<(src_dir)/src/SDL.c',
19 '<(src_dir)/src/SDL_assert.c', 20 '<(src_dir)/src/SDL_assert.c',
20 '<(src_dir)/src/SDL_error.c', 21 '<(src_dir)/src/SDL_error.c',
21 '<(src_dir)/src/SDL_hints.c', 22 '<(src_dir)/src/SDL_hints.c',
22 '<(src_dir)/src/SDL_log.c', 23 '<(src_dir)/src/SDL_log.c',
23 '<(src_dir)/src/atomic/SDL_atomic.c', 24 '<(src_dir)/src/atomic/SDL_atomic.c',
24 '<(src_dir)/src/atomic/SDL_spinlock.c', 25 '<(src_dir)/src/atomic/SDL_spinlock.c',
25 '<(src_dir)/src/audio/SDL_audio.c', 26 '<(src_dir)/src/audio/SDL_audio.c',
26 '<(src_dir)/src/audio/SDL_audiocvt.c', 27 '<(src_dir)/src/audio/SDL_audiocvt.c',
27 '<(src_dir)/src/audio/SDL_audiodev.c', 28 '<(src_dir)/src/audio/SDL_audiodev.c',
28 '<(src_dir)/src/audio/SDL_audiotypecvt.c', 29 '<(src_dir)/src/audio/SDL_audiotypecvt.c',
29 '<(src_dir)/src/audio/SDL_mixer.c', 30 '<(src_dir)/src/audio/SDL_mixer.c',
30 '<(src_dir)/src/audio/SDL_wave.c', 31 '<(src_dir)/src/audio/SDL_wave.c',
32 '<(src_dir)/src/audio/dummy/SDL_dummyaudio.c',
33 '<(src_dir)/src/audio/android/SDL_androidaudio.c',
31 '<(src_dir)/src/cpuinfo/SDL_cpuinfo.c', 34 '<(src_dir)/src/cpuinfo/SDL_cpuinfo.c',
32 '<(src_dir)/src/dynapi/SDL_dynapi.c', 35 '<(src_dir)/src/dynapi/SDL_dynapi.c',
33 '<(src_dir)/src/events/SDL_clipboardevents.c', 36 '<(src_dir)/src/events/SDL_clipboardevents.c',
34 '<(src_dir)/src/events/SDL_dropevents.c', 37 '<(src_dir)/src/events/SDL_dropevents.c',
35 '<(src_dir)/src/events/SDL_events.c', 38 '<(src_dir)/src/events/SDL_events.c',
36 '<(src_dir)/src/events/SDL_gesture.c', 39 '<(src_dir)/src/events/SDL_gesture.c',
37 '<(src_dir)/src/events/SDL_keyboard.c', 40 '<(src_dir)/src/events/SDL_keyboard.c',
38 '<(src_dir)/src/events/SDL_mouse.c', 41 '<(src_dir)/src/events/SDL_mouse.c',
39 '<(src_dir)/src/events/SDL_quit.c', 42 '<(src_dir)/src/events/SDL_quit.c',
40 '<(src_dir)/src/events/SDL_touch.c', 43 '<(src_dir)/src/events/SDL_touch.c',
41 '<(src_dir)/src/events/SDL_windowevents.c', 44 '<(src_dir)/src/events/SDL_windowevents.c',
42 '<(src_dir)/src/file/SDL_rwops.c', 45 '<(src_dir)/src/file/SDL_rwops.c',
43 '<(src_dir)/src/haptic/SDL_haptic.c', 46 '<(src_dir)/src/haptic/SDL_haptic.c',
44 '<(src_dir)/src/joystick/SDL_gamecontroller.c', 47 '<(src_dir)/src/joystick/SDL_gamecontroller.c',
45 '<(src_dir)/src/joystick/SDL_joystick.c', 48 '<(src_dir)/src/joystick/SDL_joystick.c',
46 '<(src_dir)/src/libm/e_atan2.c', 49 '<(src_dir)/src/joystick/android/SDL_sysjoystick.c',
47 '<(src_dir)/src/libm/e_log.c',
48 '<(src_dir)/src/libm/e_pow.c',
49 '<(src_dir)/src/libm/e_rem_pio2.c',
50 '<(src_dir)/src/libm/e_sqrt.c',
51 '<(src_dir)/src/libm/k_cos.c',
52 '<(src_dir)/src/libm/k_rem_pio2.c',
53 '<(src_dir)/src/libm/k_sin.c',
54 '<(src_dir)/src/libm/k_tan.c',
55 '<(src_dir)/src/libm/s_atan.c',
56 '<(src_dir)/src/libm/s_copysign.c',
57 '<(src_dir)/src/libm/s_cos.c',
58 '<(src_dir)/src/libm/s_fabs.c',
59 '<(src_dir)/src/libm/s_floor.c',
60 '<(src_dir)/src/libm/s_scalbn.c',
61 '<(src_dir)/src/libm/s_sin.c',
62 '<(src_dir)/src/libm/s_tan.c',
63 '<(src_dir)/src/power/SDL_power.c', 50 '<(src_dir)/src/power/SDL_power.c',
51 '<(src_dir)/src/power/android/SDL_syspower.c',
52 '<(src_dir)/src/loadso/dlopen/SDL_sysloadso.c',
64 '<(src_dir)/src/render/SDL_d3dmath.c', 53 '<(src_dir)/src/render/SDL_d3dmath.c',
65 '<(src_dir)/src/render/SDL_render.c', 54 '<(src_dir)/src/render/SDL_render.c',
66 '<(src_dir)/src/render/SDL_yuv_mmx.c', 55 '<(src_dir)/src/render/SDL_yuv_mmx.c',
67 '<(src_dir)/src/render/SDL_yuv_sw.c', 56 '<(src_dir)/src/render/SDL_yuv_sw.c',
68 '<(src_dir)/src/render/direct3d/SDL_render_d3d.c', 57 '<(src_dir)/src/render/direct3d/SDL_render_d3d.c',
69 '<(src_dir)/src/render/direct3d11/SDL_render_d3d11.c', 58 '<(src_dir)/src/render/direct3d11/SDL_render_d3d11.c',
70 '<(src_dir)/src/render/opengl/SDL_render_gl.c', 59 '<(src_dir)/src/render/opengl/SDL_render_gl.c',
71 '<(src_dir)/src/render/opengl/SDL_shaders_gl.c', 60 '<(src_dir)/src/render/opengl/SDL_shaders_gl.c',
72 '<(src_dir)/src/render/opengles/SDL_render_gles.c', 61 '<(src_dir)/src/render/opengles/SDL_render_gles.c',
73 '<(src_dir)/src/render/opengles2/SDL_render_gles2.c', 62 '<(src_dir)/src/render/opengles2/SDL_render_gles2.c',
(...skipping 26 matching lines...) Expand all
100 '<(src_dir)/src/video/SDL_bmp.c', 89 '<(src_dir)/src/video/SDL_bmp.c',
101 '<(src_dir)/src/video/SDL_clipboard.c', 90 '<(src_dir)/src/video/SDL_clipboard.c',
102 '<(src_dir)/src/video/SDL_egl.c', 91 '<(src_dir)/src/video/SDL_egl.c',
103 '<(src_dir)/src/video/SDL_fillrect.c', 92 '<(src_dir)/src/video/SDL_fillrect.c',
104 '<(src_dir)/src/video/SDL_pixels.c', 93 '<(src_dir)/src/video/SDL_pixels.c',
105 '<(src_dir)/src/video/SDL_rect.c', 94 '<(src_dir)/src/video/SDL_rect.c',
106 '<(src_dir)/src/video/SDL_shape.c', 95 '<(src_dir)/src/video/SDL_shape.c',
107 '<(src_dir)/src/video/SDL_stretch.c', 96 '<(src_dir)/src/video/SDL_stretch.c',
108 '<(src_dir)/src/video/SDL_surface.c', 97 '<(src_dir)/src/video/SDL_surface.c',
109 '<(src_dir)/src/video/SDL_video.c', 98 '<(src_dir)/src/video/SDL_video.c',
110 '<(src_dir)/src/loadso/dlopen/SDL_sysloadso.c', 99 '<(src_dir)/src/video/android/SDL_androidgl.c',
111 '<(src_dir)/src/video/x11/SDL_x11clipboard.c', 100 '<(src_dir)/src/video/android/SDL_androidkeyboard.c',
112 '<(src_dir)/src/video/x11/SDL_x11dyn.c', 101 '<(src_dir)/src/video/android/SDL_androidwindow.c',
113 '<(src_dir)/src/video/x11/SDL_x11events.c', 102 '<(src_dir)/src/video/android/SDL_androidmouse.c',
114 '<(src_dir)/src/video/x11/SDL_x11framebuffer.c', 103 '<(src_dir)/src/video/android/SDL_androidvideo.c',
115 '<(src_dir)/src/video/x11/SDL_x11keyboard.c', 104 '<(src_dir)/src/video/android/SDL_androidclipboard.c',
116 '<(src_dir)/src/video/x11/SDL_x11messagebox.c', 105 '<(src_dir)/src/video/android/SDL_androidtouch.c',
117 '<(src_dir)/src/video/x11/SDL_x11modes.c', 106 '<(src_dir)/src/video/android/SDL_androidevents.c',
118 '<(src_dir)/src/video/x11/SDL_x11mouse.c', 107 '<(src_dir)/src/video/android/SDL_androidmessagebox.c',
119 '<(src_dir)/src/video/x11/SDL_x11opengl.c',
120 '<(src_dir)/src/video/x11/SDL_x11opengles.c',
121 '<(src_dir)/src/video/x11/SDL_x11shape.c',
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', 108 '<(src_dir)/src/thread/pthread/SDL_systhread.c',
129 '<(src_dir)/src/thread/pthread/SDL_syssem.c', 109 '<(src_dir)/src/thread/pthread/SDL_syssem.c',
130 '<(src_dir)/src/thread/pthread/SDL_sysmutex.c', 110 '<(src_dir)/src/thread/pthread/SDL_sysmutex.c',
131 '<(src_dir)/src/thread/pthread/SDL_syscond.c', 111 '<(src_dir)/src/thread/pthread/SDL_syscond.c',
132 '<(src_dir)/src/thread/pthread/SDL_systls.c', 112 '<(src_dir)/src/thread/pthread/SDL_systls.c',
133 '<(src_dir)/src/filesystem/unix/SDL_sysfilesystem.c', 113 '<(src_dir)/src/filesystem/android/SDL_sysfilesystem.c',
134 '<(src_dir)/src/timer/unix/SDL_systimer.c', 114 '<(src_dir)/src/timer/unix/SDL_systimer.c',
135 '<(src_dir)/src/core/linux/SDL_evdev.c', 115 '<(src_dir)/src/core/android/SDL_android.c',
136 '<(src_dir)/src/joystick/dummy/SDL_sysjoystick.c',
137 '<(src_dir)/src/haptic/dummy/SDL_syshaptic.c', 116 '<(src_dir)/src/haptic/dummy/SDL_syshaptic.c',
138 '<(src_dir)/src/main/dummy/SDL_dummy_main.c', 117 '<(src_dir)/src/main/android/SDL_android_main.c',
139 ], 118 ],
140 'defines': [ 119 'defines': [
141 '__LINUX__', 120 'GL_GLEXT_PROTOTYPES',
142 '_REENTRANT'
143 ], 121 ],
144 'cflags': [ 122 'cflags': [
145 '-fPIC', 123 '-fPIC',
146 '-O3', 124 '-O3',
147 '-mmmx',
148 '-m3dnow',
149 '-msse',
150 '-msse2',
151 '-fvisibility=hidden', 125 '-fvisibility=hidden',
152 ], 126 ],
153 } 127 }
OLDNEW
« no previous file with comments | « third_party/libsdl/android/SDL_config.h ('k') | third_party/libsdl/sdl.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698