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 20 matching lines...) Expand all Loading... |
31 # dicts), so we have to re-define every variable at every enclosure level | 31 # dicts), so we have to re-define every variable at every enclosure level |
32 # within our ridiculous matryoshka doll of 'variable' dicts. That's why | 32 # within our ridiculous matryoshka doll of 'variable' dicts. That's why |
33 # we have variable definitions like this: 'skia_os%': '<(skia_os)', | 33 # we have variable definitions like this: 'skia_os%': '<(skia_os)', |
34 # | 34 # |
35 # See http://src.chromium.org/viewvc/chrome/trunk/src/build/common.gypi?revisi
on=127004 , | 35 # See http://src.chromium.org/viewvc/chrome/trunk/src/build/common.gypi?revisi
on=127004 , |
36 # which deals with these same constraints in a similar manner. | 36 # which deals with these same constraints in a similar manner. |
37 # | 37 # |
38 'variables': { # level 1 | 38 'variables': { # level 1 |
39 'angle_path%': '../', | 39 'angle_path%': '../', |
40 | 40 |
| 41 'skia_mojo_experiment%': '0', |
| 42 |
41 'variables': { # level 2 | 43 'variables': { # level 2 |
42 | 44 |
43 # Variables needed by conditions list within the level-2 variables dict. | 45 # Variables needed by conditions list within the level-2 variables dict. |
44 'variables': { # level 3 | 46 'variables': { # level 3 |
45 'variables': { # level 4 | 47 'variables': { # level 4 |
46 # We use 'skia_os' instead of 'OS' throughout our gyp files, to allow | 48 # We use 'skia_os' instead of 'OS' throughout our gyp files, to allow |
47 # for cross-compilation (e.g. building for either MacOS or iOS on Mac)
. | 49 # for cross-compilation (e.g. building for either MacOS or iOS on Mac)
. |
48 # We set it automatically based on 'OS' (the host OS), but allow the | 50 # We set it automatically based on 'OS' (the host OS), but allow the |
49 # user to override it via GYP_DEFINES if they like. | 51 # user to override it via GYP_DEFINES if they like. |
50 'skia_os%': '<(OS)', | 52 'skia_os%': '<(OS)', |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 '-ffast-math', # Optimize float math even when it breaks IEEE
compliance. | 260 '-ffast-math', # Optimize float math even when it breaks IEEE
compliance. |
259 #'-flto' # Enable link-time optimization. | 261 #'-flto' # Enable link-time optimization. |
260 ], | 262 ], |
261 | 263 |
262 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 264 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
263 # | 265 # |
264 'skia_src_path%': '../src', | 266 'skia_src_path%': '../src', |
265 'skia_include_path%': '../include', | 267 'skia_include_path%': '../include', |
266 }, | 268 }, |
267 } | 269 } |
OLD | NEW |