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

Side by Side Diff: public.bzl

Issue 1702533004: Individually enable and disable SkCodecs (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 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 | « gyp/codec.gyp ('k') | src/codec/SkAndroidCodec.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 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 472
473 ################################################################################ 473 ################################################################################
474 ## DEFINES 474 ## DEFINES
475 ################################################################################ 475 ################################################################################
476 476
477 DEFINES_UNIX = [ 477 DEFINES_UNIX = [
478 "PNG_SKIP_SETJMP_CHECK", 478 "PNG_SKIP_SETJMP_CHECK",
479 "SK_BUILD_FOR_UNIX", 479 "SK_BUILD_FOR_UNIX",
480 "SK_SAMPLES_FOR_X", 480 "SK_SAMPLES_FOR_X",
481 "SK_SFNTLY_SUBSETTER", 481 "SK_SFNTLY_SUBSETTER",
482 "SK_CODEC_DECODES_GIF",
483 "SK_CODEC_DECODES_JPEG",
484 "SK_CODEC_DECODES_PNG",
482 "SK_CODEC_DECODES_RAW", 485 "SK_CODEC_DECODES_RAW",
486 "SK_CODEC_DECODES_WEBP",
483 ] 487 ]
484 488
485 DEFINES_ANDROID = [ 489 DEFINES_ANDROID = [
486 "SK_BUILD_FOR_ANDROID", 490 "SK_BUILD_FOR_ANDROID",
487 # TODO(benjaminwagner): Try to get png library updated? 491 "SK_CODEC_DECODES_GIF",
488 "SK_PNG_NO_INDEX_SUPPORTED", 492 "SK_CODEC_DECODES_JPEG",
493 "SK_CODEC_DECODES_PNG",
489 "SK_CODEC_DECODES_RAW", 494 "SK_CODEC_DECODES_RAW",
495 "SK_CODEC_DECODES_WEBP",
490 ] 496 ]
491 497
492 DEFINES_IOS = [ 498 DEFINES_IOS = [
493 "SK_BUILD_FOR_IOS", 499 "SK_BUILD_FOR_IOS",
494 "SK_IGNORE_ETC1_SUPPORT", 500 "SK_IGNORE_ETC1_SUPPORT",
495 "SKNX_NO_SIMD", 501 "SKNX_NO_SIMD",
496 ] 502 ]
497 503
498 DEFINES_ALL = [ 504 DEFINES_ALL = [
499 # Chrome DEFINES. 505 # Chrome DEFINES.
(...skipping 11 matching lines...) Expand all
511 517
512 LINKOPTS_ANDROID = [ 518 LINKOPTS_ANDROID = [
513 "-lEGL", 519 "-lEGL",
514 ] 520 ]
515 521
516 LINKOPTS_IOS = [] 522 LINKOPTS_IOS = []
517 523
518 LINKOPTS_ALL = [ 524 LINKOPTS_ALL = [
519 "-ldl", 525 "-ldl",
520 ] 526 ]
OLDNEW
« no previous file with comments | « gyp/codec.gyp ('k') | src/codec/SkAndroidCodec.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698