OLD | NEW |
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 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 "~gradients_2pt_conical", | 511 "~gradients_2pt_conical", |
512 "~Math", | 512 "~Math", |
513 "~Matrix", | 513 "~Matrix", |
514 "~PathOpsCubic", | 514 "~PathOpsCubic", |
515 "~PathOpsFailOp", | 515 "~PathOpsFailOp", |
516 "~PathOpsOpCubicsThreaded", | 516 "~PathOpsOpCubicsThreaded", |
517 "~PathOpsOpLoopsThreaded", | 517 "~PathOpsOpLoopsThreaded", |
518 "~PathOpsSimplify", | 518 "~PathOpsSimplify", |
519 "~PathOpsTightBoundsQuads", | 519 "~PathOpsTightBoundsQuads", |
520 "~Point", | 520 "~Point", |
| 521 "~sk_linear_to_srgb", |
521 ] | 522 ] |
522 return [ | 523 return [ |
523 "--src %s" % " ".join(source), | 524 "--src %s" % " ".join(source), |
524 "--config %s" % " ".join(config), | 525 "--config %s" % " ".join(config), |
525 "--verbose", | 526 "--verbose", |
526 "--match %s" % " ".join(match), | 527 "--match %s" % " ".join(match), |
527 "--resourcePath %s/resources" % base_dir, | 528 "--resourcePath %s/resources" % base_dir, |
528 "--images %s/resources" % base_dir, | 529 "--images %s/resources" % base_dir, |
529 ] | 530 ] |
530 | 531 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
610 | 611 |
611 LINKOPTS_ANDROID = [ | 612 LINKOPTS_ANDROID = [ |
612 "-lEGL", | 613 "-lEGL", |
613 ] | 614 ] |
614 | 615 |
615 LINKOPTS_IOS = [] | 616 LINKOPTS_IOS = [] |
616 | 617 |
617 LINKOPTS_ALL = [ | 618 LINKOPTS_ALL = [ |
618 "-ldl", | 619 "-ldl", |
619 ] | 620 ] |
OLD | NEW |