| 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 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 457 | 457 |
| 458 ################################################################################ | 458 ################################################################################ |
| 459 ## DM_ARGS | 459 ## DM_ARGS |
| 460 ################################################################################ | 460 ################################################################################ |
| 461 | 461 |
| 462 def DM_ARGS(base_dir): | 462 def DM_ARGS(base_dir): |
| 463 return [ | 463 return [ |
| 464 "--nogpu", | 464 "--nogpu", |
| 465 "--verbose", | 465 "--verbose", |
| 466 # TODO(mtklein): maybe investigate why these fail? | 466 # TODO(mtklein): maybe investigate why these fail? |
| 467 "--match ~FontMgr ~Scalar ~Canvas ~Codec_stripes ~Codec_Dimensions ~Code
c ~Stream ~skps ~RecordDraw_TextBounds", | 467 "--match ~FontMgr ~Scalar ~Canvas ~Codec_stripes ~Codec_Dimensions ~Code
c ~Stream ~skps ~RecordDraw_TextBounds ~PaintBreakText", |
| 468 "--resourcePath %s/resources" % base_dir, | 468 "--resourcePath %s/resources" % base_dir, |
| 469 "--images %s/resources" % base_dir, | 469 "--images %s/resources" % base_dir, |
| 470 ] | 470 ] |
| 471 | 471 |
| 472 ################################################################################ | 472 ################################################################################ |
| 473 ## COPTS | 473 ## COPTS |
| 474 ################################################################################ | 474 ################################################################################ |
| 475 | 475 |
| 476 COPTS_UNIX = [ | 476 COPTS_UNIX = [ |
| 477 "-Wno-implicit-fallthrough", # Some intentional fallthrough. | 477 "-Wno-implicit-fallthrough", # Some intentional fallthrough. |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 531 | 531 |
| 532 LINKOPTS_ANDROID = [ | 532 LINKOPTS_ANDROID = [ |
| 533 "-lEGL", | 533 "-lEGL", |
| 534 ] | 534 ] |
| 535 | 535 |
| 536 LINKOPTS_IOS = [] | 536 LINKOPTS_IOS = [] |
| 537 | 537 |
| 538 LINKOPTS_ALL = [ | 538 LINKOPTS_ALL = [ |
| 539 "-ldl", | 539 "-ldl", |
| 540 ] | 540 ] |
| OLD | NEW |