| OLD | NEW |
| 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
| 3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 # We should be able to make this work on Mac. We need: | 5 # We should be able to make this work on Mac. We need: |
| 6 # -framework OpenGL -framework GLUT -lm -L /usr/X11/lib | 6 # -framework OpenGL -framework GLUT -lm -L /usr/X11/lib |
| 7 | 7 |
| 8 { | 8 { |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 '../../../runtime', | 43 '../../../runtime', |
| 44 '/usr/X11/include', | 44 '/usr/X11/include', |
| 45 ], | 45 ], |
| 46 'sources': [ | 46 'sources': [ |
| 47 'mobile_emulator_sample.cc', | 47 'mobile_emulator_sample.cc', |
| 48 ], | 48 ], |
| 49 'conditions': [ | 49 'conditions': [ |
| 50 ['OS=="linux"', | 50 ['OS=="linux"', |
| 51 { | 51 { |
| 52 'link_settings': { | 52 'link_settings': { |
| 53 'libraries': [ '-lGL', '-lglut', '-lGLU', '-lm', '-lc' ], | 53 'libraries': [ |
| 54 '-Wl,--start-group', |
| 55 '-lskia_effects', |
| 56 '-lskia_images', |
| 57 '-lskia_core', |
| 58 '-lskia_opts', |
| 59 '-lskia_opts_ssse3', |
| 60 '-lskia_ports', |
| 61 '-lskia_sfnt', |
| 62 '-lskia_utils', |
| 63 '-lskia_gr', |
| 64 '-lskia_skgr', |
| 65 '-Wl,--end-group', |
| 66 '-lfreetype', |
| 67 '-lGL', |
| 68 '-lglut', |
| 69 '-lGLU', |
| 70 '-lm', |
| 71 '-lc' ], |
| 72 'ldflags': [ |
| 73 '-Wall', |
| 74 '-g', |
| 75 '-Lthird_party/skia-desktop/trunk/out/Debug', |
| 76 ], |
| 54 }, | 77 }, |
| 55 } | 78 } |
| 56 ], | 79 ], |
| 57 ['OS=="mac"', | 80 ['OS=="mac"', |
| 58 { | 81 { |
| 59 'ldflags': [ | 82 'ldflags': [ |
| 60 '-framework OpenGL', | 83 '-framework OpenGL', |
| 61 '-framework GLUT', | 84 '-framework GLUT', |
| 62 '-L /usr/X11/lib' | 85 '-L /usr/X11/lib' |
| 63 ], | 86 ], |
| 64 } | 87 } |
| 65 ] | 88 ] |
| 66 ] | 89 ] |
| 67 } | 90 } |
| 68 ] | 91 ] |
| 69 } | 92 } |
| 70 | 93 |
| OLD | NEW |