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

Side by Side Diff: public.bzl

Issue 1817383002: switch surface to sk_sp (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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 | « include/core/SkSurface.h ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ################################################################################ 1 ################################################################################
2 # Skylark macros 2 # Skylark macros
3 ################################################################################ 3 ################################################################################
4 4
5 is_bazel = not hasattr(native, "genmpm") 5 is_bazel = not hasattr(native, "genmpm")
6 6
7 def portable_select(select_dict, bazel_condition, default_condition): 7 def portable_select(select_dict, bazel_condition, default_condition):
8 """Replaces select() with a Bazel-friendly wrapper. 8 """Replaces select() with a Bazel-friendly wrapper.
9 9
10 Args: 10 Args:
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 DEFINES_IOS = [ 515 DEFINES_IOS = [
516 "SK_BUILD_FOR_IOS", 516 "SK_BUILD_FOR_IOS",
517 "SK_IGNORE_ETC1_SUPPORT", 517 "SK_IGNORE_ETC1_SUPPORT",
518 "SKNX_NO_SIMD", 518 "SKNX_NO_SIMD",
519 ] 519 ]
520 520
521 DEFINES_ALL = [ 521 DEFINES_ALL = [
522 # Chrome DEFINES. 522 # Chrome DEFINES.
523 "SK_USE_FLOATBITS", 523 "SK_USE_FLOATBITS",
524 "SK_USE_FREETYPE_EMBOLDEN", 524 "SK_USE_FREETYPE_EMBOLDEN",
525 "SK_SUPPORT_LEGACY_NEW_SURFACE_API",
525 "SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR", 526 "SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR",
526 "SK_SUPPORT_LEGACY_PATHEFFECT_PTR", 527 "SK_SUPPORT_LEGACY_PATHEFFECT_PTR",
527 # Turn on a few Google3-specific build fixes. 528 # Turn on a few Google3-specific build fixes.
528 "GOOGLE3", 529 "GOOGLE3",
529 # Staging flags for API changes 530 # Staging flags for API changes
530 "SK_SUPPORT_LEGACY_COLORFILTER_PTR", 531 "SK_SUPPORT_LEGACY_COLORFILTER_PTR",
531 "SK_SUPPORT_LEGACY_CREATESHADER_PTR", 532 "SK_SUPPORT_LEGACY_CREATESHADER_PTR",
532 ] 533 ]
533 534
534 ################################################################################ 535 ################################################################################
535 ## LINKOPTS 536 ## LINKOPTS
536 ################################################################################ 537 ################################################################################
537 538
538 LINKOPTS_UNIX = [] 539 LINKOPTS_UNIX = []
539 540
540 LINKOPTS_ANDROID = [ 541 LINKOPTS_ANDROID = [
541 "-lEGL", 542 "-lEGL",
542 ] 543 ]
543 544
544 LINKOPTS_IOS = [] 545 LINKOPTS_IOS = []
545 546
546 LINKOPTS_ALL = [ 547 LINKOPTS_ALL = [
547 "-ldl", 548 "-ldl",
548 ] 549 ]
OLDNEW
« no previous file with comments | « include/core/SkSurface.h ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698