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

Side by Side Diff: public.bzl

Issue 2002423002: [GN] Add support for disabling opts via SK_BUILD_NO_OPTS define. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 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/SkPreConfig.h ('k') | src/core/SkOpts.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 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 "SK_BUILD_FOR_ANDROID", 562 "SK_BUILD_FOR_ANDROID",
563 "SK_CODEC_DECODES_RAW", 563 "SK_CODEC_DECODES_RAW",
564 "SK_HAS_GIF_LIBRARY", 564 "SK_HAS_GIF_LIBRARY",
565 "SK_HAS_JPEG_LIBRARY", 565 "SK_HAS_JPEG_LIBRARY",
566 "SK_HAS_PNG_LIBRARY", 566 "SK_HAS_PNG_LIBRARY",
567 "SK_HAS_WEBP_LIBRARY", 567 "SK_HAS_WEBP_LIBRARY",
568 ] 568 ]
569 569
570 DEFINES_IOS = [ 570 DEFINES_IOS = [
571 "SK_BUILD_FOR_IOS", 571 "SK_BUILD_FOR_IOS",
572 "SK_BUILD_NO_OPTS",
572 "SK_IGNORE_ETC1_SUPPORT", 573 "SK_IGNORE_ETC1_SUPPORT",
573 "SKNX_NO_SIMD", 574 "SKNX_NO_SIMD",
574 ] 575 ]
575 576
576 DEFINES_ALL = [ 577 DEFINES_ALL = [
577 # Chrome DEFINES. 578 # Chrome DEFINES.
578 "SK_USE_FLOATBITS", 579 "SK_USE_FLOATBITS",
579 "SK_USE_FREETYPE_EMBOLDEN", 580 "SK_USE_FREETYPE_EMBOLDEN",
580 # Turn on a few Google3-specific build fixes. 581 # Turn on a few Google3-specific build fixes.
581 "GOOGLE3", 582 "GOOGLE3",
(...skipping 19 matching lines...) Expand all
601 602
602 LINKOPTS_ANDROID = [ 603 LINKOPTS_ANDROID = [
603 "-lEGL", 604 "-lEGL",
604 ] 605 ]
605 606
606 LINKOPTS_IOS = [] 607 LINKOPTS_IOS = []
607 608
608 LINKOPTS_ALL = [ 609 LINKOPTS_ALL = [
609 "-ldl", 610 "-ldl",
610 ] 611 ]
OLDNEW
« no previous file with comments | « include/core/SkPreConfig.h ('k') | src/core/SkOpts.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698