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

Side by Side Diff: public.bzl

Issue 1956573002: Compile SkForceLinking on CMake (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Refactoring 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 | « gyp/common_conditions.gypi ('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 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 544
545 ################################################################################ 545 ################################################################################
546 ## DEFINES 546 ## DEFINES
547 ################################################################################ 547 ################################################################################
548 548
549 DEFINES_UNIX = [ 549 DEFINES_UNIX = [
550 "PNG_SKIP_SETJMP_CHECK", 550 "PNG_SKIP_SETJMP_CHECK",
551 "SK_BUILD_FOR_UNIX", 551 "SK_BUILD_FOR_UNIX",
552 "SK_SAMPLES_FOR_X", 552 "SK_SAMPLES_FOR_X",
553 "SK_SFNTLY_SUBSETTER", 553 "SK_SFNTLY_SUBSETTER",
554 "SK_CODEC_DECODES_GIF",
555 "SK_CODEC_DECODES_JPEG",
556 "SK_CODEC_DECODES_PNG",
557 "SK_CODEC_DECODES_RAW", 554 "SK_CODEC_DECODES_RAW",
558 "SK_CODEC_DECODES_WEBP", 555 "SK_HAS_GIF_LIBRARY",
556 "SK_HAS_JPEG_LIBRARY",
557 "SK_HAS_PNG_LIBRARY",
558 "SK_HAS_WEBP_LIBRARY",
559 ] 559 ]
560 560
561 DEFINES_ANDROID = [ 561 DEFINES_ANDROID = [
562 "SK_BUILD_FOR_ANDROID", 562 "SK_BUILD_FOR_ANDROID",
563 "SK_CODEC_DECODES_GIF",
564 "SK_CODEC_DECODES_JPEG",
565 "SK_CODEC_DECODES_PNG",
566 "SK_CODEC_DECODES_RAW", 563 "SK_CODEC_DECODES_RAW",
567 "SK_CODEC_DECODES_WEBP", 564 "SK_HAS_GIF_LIBRARY",
565 "SK_HAS_JPEG_LIBRARY",
566 "SK_HAS_PNG_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_IGNORE_ETC1_SUPPORT", 572 "SK_IGNORE_ETC1_SUPPORT",
573 "SKNX_NO_SIMD", 573 "SKNX_NO_SIMD",
574 ] 574 ]
575 575
576 DEFINES_ALL = [ 576 DEFINES_ALL = [
577 # Chrome DEFINES. 577 # Chrome DEFINES.
(...skipping 22 matching lines...) Expand all
600 600
601 LINKOPTS_ANDROID = [ 601 LINKOPTS_ANDROID = [
602 "-lEGL", 602 "-lEGL",
603 ] 603 ]
604 604
605 LINKOPTS_IOS = [] 605 LINKOPTS_IOS = []
606 606
607 LINKOPTS_ALL = [ 607 LINKOPTS_ALL = [
608 "-ldl", 608 "-ldl",
609 ] 609 ]
OLDNEW
« no previous file with comments | « gyp/common_conditions.gypi ('k') | src/codec/SkAndroidCodec.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698