| OLD | NEW |
| 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 | 5 |
| 6 # conditions used in both common.gypi and skia.gyp in chromium | 6 # conditions used in both common.gypi and skia.gyp in chromium |
| 7 # | 7 # |
| 8 { | 8 { |
| 9 'defines': [ | 9 'defines': [ |
| 10 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', | 10 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', |
| (...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 # specifically requested. These should be temporary staging defines. Any | 381 # specifically requested. These should be temporary staging defines. Any |
| 382 # permanent defines should be moved into the skia_android_framework block | 382 # permanent defines should be moved into the skia_android_framework block |
| 383 # above. | 383 # above. |
| 384 'includes' : [ | 384 'includes' : [ |
| 385 'skia_for_android_framework_defines.gypi', | 385 'skia_for_android_framework_defines.gypi', |
| 386 ], | 386 ], |
| 387 'defines': [ | 387 'defines': [ |
| 388 '<@(skia_for_android_framework_defines)', | 388 '<@(skia_for_android_framework_defines)', |
| 389 ], | 389 ], |
| 390 }], | 390 }], |
| 391 |
| 392 [ 'skia_use_sdl == 1', |
| 393 { |
| 394 'defines': [ 'SK_USE_SDL' ], |
| 395 }], |
| 391 | 396 |
| 392 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', | 397 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', |
| 393 { | 398 { |
| 394 'defines': [ | 399 'defines': [ |
| 395 'SK_SAMPLES_FOR_X', | 400 'SK_SAMPLES_FOR_X', |
| 396 'SK_BUILD_FOR_UNIX', | 401 'SK_BUILD_FOR_UNIX', |
| 397 ], | 402 ], |
| 398 'configurations': { | 403 'configurations': { |
| 399 'Coverage': { | 404 'Coverage': { |
| 400 'conditions': [ | 405 'conditions': [ |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 632 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], | 637 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], |
| 633 }, | 638 }, |
| 634 }], | 639 }], |
| 635 | 640 |
| 636 ], # end 'conditions' | 641 ], # end 'conditions' |
| 637 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 642 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
| 638 'xcode_settings': { | 643 'xcode_settings': { |
| 639 'SYMROOT': '<(DEPTH)/xcodebuild', | 644 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 640 }, | 645 }, |
| 641 } | 646 } |
| OLD | NEW |