OLD | NEW |
---|---|
1 # Copyright 2012 The Android Open Source Project | 1 # Copyright 2012 The Android Open Source Project |
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 | 5 |
6 { | 6 { |
7 # Get ready for the ugly... | 7 # Get ready for the ugly... |
8 # | 8 # |
9 # - We have to nest our variables dictionaries multiple levels deep, so that | 9 # - We have to nest our variables dictionaries multiple levels deep, so that |
10 # this and other gyp files can rely on previously-set variable values in | 10 # this and other gyp files can rely on previously-set variable values in |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
65 [ 'skia_os == "win"', { | 65 [ 'skia_os == "win"', { |
66 'os_posix%': 0, | 66 'os_posix%': 0, |
67 }, { | 67 }, { |
68 'os_posix%': 1, | 68 'os_posix%': 1, |
69 }], | 69 }], |
70 [ 'skia_os in ["linux", "win"]', { | 70 [ 'skia_os in ["linux", "win"]', { |
71 'skia_poppler_enabled%': 1, | 71 'skia_poppler_enabled%': 1, |
72 }, { | 72 }, { |
73 'skia_poppler_enabled%': 0, | 73 'skia_poppler_enabled%': 0, |
74 }], | 74 }], |
75 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "mac"]', { | 75 [ 'skia_arch_type == "arm64"', { |
djsollen
2014/03/28 14:31:25
just add 'or skia_arch_type == "arm64"' to this co
| |
76 'skia_arch_width%': 64, | 76 'skia_arch_width%': 64, |
77 }, { | 77 }, { |
78 'skia_arch_width%': 32, | 78 'conditions': [ |
79 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "mac"]', { | |
80 'skia_arch_width%': 64, | |
81 }, { | |
82 'skia_arch_width%': 32, | |
83 }], | |
84 ], | |
79 }], | 85 }], |
80 [ 'skia_os == "android"', { | 86 [ 'skia_os == "android"', { |
81 'skia_static_initializers%': 0, | 87 'skia_static_initializers%': 0, |
82 }, { | 88 }, { |
83 'skia_static_initializers%': 1, | 89 'skia_static_initializers%': 1, |
84 }], | 90 }], |
85 [ 'skia_os == "ios"', { | 91 [ 'skia_os == "ios"', { |
86 'skia_arch_type%': 'arm', | 92 'skia_arch_type%': 'arm', |
87 'arm_version%': 7, | 93 'arm_version%': 7, |
88 'arm_neon%': 0, # neon asm files known not to work with the ios build | 94 'arm_neon%': 0, # neon asm files known not to work with the ios build |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
217 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', | 223 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', |
218 'skia_run_pdfviewer_in_gm%': 0, | 224 'skia_run_pdfviewer_in_gm%': 0, |
219 'skia_disable_inlining%': 0, | 225 'skia_disable_inlining%': 0, |
220 | 226 |
221 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 227 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
222 # | 228 # |
223 'skia_src_path%': '../src', | 229 'skia_src_path%': '../src', |
224 'skia_include_path%': '../include', | 230 'skia_include_path%': '../include', |
225 }, | 231 }, |
226 } | 232 } |
OLD | NEW |