Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Side by Side Diff: gyp/common_conditions.gypi

Issue 1243383002: Add skia_use_android_framework_defines GYP_DEFINE (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | gyp/common_variables.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 'GR_GL_CUSTOM_SETUP_HEADER "gl/GrGLConfig_chrome.h"', 390 'GR_GL_CUSTOM_SETUP_HEADER "gl/GrGLConfig_chrome.h"',
391 'IGNORE_ROT_AA_RECT_OPT', 391 'IGNORE_ROT_AA_RECT_OPT',
392 'SK_DEFAULT_FONT_CACHE_LIMIT (768 * 1024)', 392 'SK_DEFAULT_FONT_CACHE_LIMIT (768 * 1024)',
393 'SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)', 393 'SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)',
394 'SK_IGNORE_ETC1_SUPPORT', 394 'SK_IGNORE_ETC1_SUPPORT',
395 # We can't use the skia_shared_library gyp setting because we need expos e 395 # We can't use the skia_shared_library gyp setting because we need expos e
396 # this define globally and the the implemention define as a cflag. 396 # this define globally and the the implemention define as a cflag.
397 'SKIA_DLL', 397 'SKIA_DLL',
398 'SK_PRINT_CODEC_MESSAGES', 398 'SK_PRINT_CODEC_MESSAGES',
399 # Defines from skia_for_android_framework_defines.gypi 399 # Defines from skia_for_android_framework_defines.gypi
400 '<@(skia_for_android_framework_defines)', 400 '<@(skia_for_android_framework_defines)',
scroggo 2015/07/22 13:02:43 Should we instead set skia_use_android_framework_d
borenet 2015/07/22 13:32:35 Good idea. Done.
401 ], 401 ],
402 }], 402 }],
403 403
404 ['skia_use_android_framework_defines', {
scroggo 2015/07/22 13:02:43 Could you add a comment why this is necessary, her
borenet 2015/07/22 13:32:35 Done.
405 'includes' : [
406 'skia_for_android_framework_defines.gypi',
407 ],
408 'defines': [
409 '<@(skia_for_android_framework_defines)',
410 ],
411 }],
412
404 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', 413 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]',
405 { 414 {
406 'defines': [ 415 'defines': [
407 'SK_SAMPLES_FOR_X', 416 'SK_SAMPLES_FOR_X',
408 'SK_BUILD_FOR_UNIX', 417 'SK_BUILD_FOR_UNIX',
409 ], 418 ],
410 'configurations': { 419 'configurations': {
411 'Coverage': { 420 'Coverage': {
412 'conditions': [ 421 'conditions': [
413 [ 'skia_clang_build', { 422 [ 'skia_clang_build', {
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 [ 'sknx_no_simd', { 641 [ 'sknx_no_simd', {
633 'defines': [ 'SKNX_NO_SIMD' ], 642 'defines': [ 'SKNX_NO_SIMD' ],
634 }], 643 }],
635 644
636 ], # end 'conditions' 645 ], # end 'conditions'
637 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details 646 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details
638 'xcode_settings': { 647 'xcode_settings': {
639 'SYMROOT': '<(DEPTH)/xcodebuild', 648 'SYMROOT': '<(DEPTH)/xcodebuild',
640 }, 649 },
641 } 650 }
OLDNEW
« no previous file with comments | « no previous file | gyp/common_variables.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698