| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 else: | 50 else: |
| 51 return native.glob(srcs.include) | 51 return native.glob(srcs.include) |
| 52 return [] | 52 return [] |
| 53 | 53 |
| 54 ################################################################################ | 54 ################################################################################ |
| 55 ## PRIVATE_HDRS | 55 ## PRIVATE_HDRS |
| 56 ################################################################################ | 56 ################################################################################ |
| 57 | 57 |
| 58 PRIVATE_HDRS_LIST = [ | 58 PRIVATE_HDRS_LIST = [ |
| 59 "include/private/**/*", | 59 "include/private/**/*", |
| 60 "src/utils/SkWhitelistChecksums.cpp", | 60 "src/utils/SkWhitelistChecksums.inc", |
| 61 ] | 61 ] |
| 62 | 62 |
| 63 PRIVATE_HDRS = struct( | 63 PRIVATE_HDRS = struct( |
| 64 include = PRIVATE_HDRS_LIST, | 64 include = PRIVATE_HDRS_LIST, |
| 65 ) | 65 ) |
| 66 | 66 |
| 67 ################################################################################ | 67 ################################################################################ |
| 68 ## BASE_SRCS | 68 ## BASE_SRCS |
| 69 ################################################################################ | 69 ################################################################################ |
| 70 | 70 |
| (...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 612 | 612 |
| 613 LINKOPTS_ANDROID = [ | 613 LINKOPTS_ANDROID = [ |
| 614 "-lEGL", | 614 "-lEGL", |
| 615 ] | 615 ] |
| 616 | 616 |
| 617 LINKOPTS_IOS = [] | 617 LINKOPTS_IOS = [] |
| 618 | 618 |
| 619 LINKOPTS_ALL = [ | 619 LINKOPTS_ALL = [ |
| 620 "-ldl", | 620 "-ldl", |
| 621 ] | 621 ] |
| OLD | NEW |