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 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
506 source = ["tests", "gm"] | 506 source = ["tests", "gm"] |
507 config = ["8888"] | 507 config = ["8888"] |
508 match += [ | 508 match += [ |
509 "~clippedcubic2", | 509 "~clippedcubic2", |
510 "~conicpaths", | 510 "~conicpaths", |
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 "~PathOpsOpLoopsThreaded", | 517 "~PathOpsOpLoopsThreaded", |
517 "~PathOpsSimplify", | 518 "~PathOpsSimplify", |
518 "~PathOpsTightBoundsQuads", | 519 "~PathOpsTightBoundsQuads", |
519 "~Point", | 520 "~Point", |
520 ] | 521 ] |
521 return [ | 522 return [ |
522 "--src %s" % " ".join(source), | 523 "--src %s" % " ".join(source), |
523 "--config %s" % " ".join(config), | 524 "--config %s" % " ".join(config), |
524 "--verbose", | 525 "--verbose", |
525 "--match %s" % " ".join(match), | 526 "--match %s" % " ".join(match), |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
602 | 603 |
603 LINKOPTS_ANDROID = [ | 604 LINKOPTS_ANDROID = [ |
604 "-lEGL", | 605 "-lEGL", |
605 ] | 606 ] |
606 | 607 |
607 LINKOPTS_IOS = [] | 608 LINKOPTS_IOS = [] |
608 | 609 |
609 LINKOPTS_ALL = [ | 610 LINKOPTS_ALL = [ |
610 "-ldl", | 611 "-ldl", |
611 ] | 612 ] |
OLD | NEW |