| 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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 'defines': [ | 387 'defines': [ |
| 388 '<@(skia_for_android_framework_defines)', | 388 '<@(skia_for_android_framework_defines)', |
| 389 ], | 389 ], |
| 390 }], | 390 }], |
| 391 | 391 |
| 392 [ 'skia_use_sdl == 1', | 392 [ 'skia_use_sdl == 1', |
| 393 { | 393 { |
| 394 'defines': [ 'SK_USE_SDL' ], | 394 'defines': [ 'SK_USE_SDL' ], |
| 395 }], | 395 }], |
| 396 | 396 |
| 397 [ 'skia_dump_stats == 1', |
| 398 { |
| 399 'defines': [ 'SK_DUMP_STATS'], |
| 400 }], |
| 401 |
| 397 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', | 402 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', |
| 398 { | 403 { |
| 399 'defines': [ | 404 'defines': [ |
| 400 'SK_SAMPLES_FOR_X', | 405 'SK_SAMPLES_FOR_X', |
| 401 'SK_BUILD_FOR_UNIX', | 406 'SK_BUILD_FOR_UNIX', |
| 402 ], | 407 ], |
| 403 'configurations': { | 408 'configurations': { |
| 404 'Coverage': { | 409 'Coverage': { |
| 405 'conditions': [ | 410 'conditions': [ |
| 406 [ 'skia_clang_build', { | 411 [ 'skia_clang_build', { |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 642 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], | 647 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], |
| 643 }, | 648 }, |
| 644 }], | 649 }], |
| 645 | 650 |
| 646 ], # end 'conditions' | 651 ], # end 'conditions' |
| 647 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 652 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
| 648 'xcode_settings': { | 653 'xcode_settings': { |
| 649 'SYMROOT': '<(DEPTH)/xcodebuild', | 654 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 650 }, | 655 }, |
| 651 } | 656 } |
| OLD | NEW |