| 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 # "large" size and time out. | 506 # "large" size and time out. |
| 507 source = ["tests", "gm"] | 507 source = ["tests", "gm"] |
| 508 config = ["8888"] | 508 config = ["8888"] |
| 509 match += [ | 509 match += [ |
| 510 "~clippedcubic2", | 510 "~clippedcubic2", |
| 511 "~conicpaths", | 511 "~conicpaths", |
| 512 "~gradients_2pt_conical", | 512 "~gradients_2pt_conical", |
| 513 "~Math", | 513 "~Math", |
| 514 "~Matrix", | 514 "~Matrix", |
| 515 "~PathOpsCubic", | 515 "~PathOpsCubic", |
| 516 "~PathOpsFailOp", |
| 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 |