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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 "src/utils/android/**/*", | 87 "src/utils/android/**/*", |
88 "src/utils/mac/**/*", | 88 "src/utils/mac/**/*", |
89 "src/utils/SkThreadUtils_win.cpp", # Windows-only. Move to ports? | 89 "src/utils/SkThreadUtils_win.cpp", # Windows-only. Move to ports? |
90 "src/utils/win/**/*", | 90 "src/utils/win/**/*", |
91 "src/views/sdl/*", | 91 "src/views/sdl/*", |
92 "src/views/win/*", | 92 "src/views/win/*", |
93 "src/views/unix/*", | 93 "src/views/unix/*", |
94 | 94 |
95 # Exclude multiple definitions. | 95 # Exclude multiple definitions. |
96 # TODO(mtklein): Move to opts? | 96 # TODO(mtklein): Move to opts? |
97 "src/doc/SkDocument_PDF_None.cpp", # We use SkDocument_PDF.cpp. | 97 "src/pdf/SkDocument_PDF_None.cpp", # We use src/pdf/SkPDFDocument.cpp. |
98 "src/gpu/gl/GrGLCreateNativeInterface_none.cpp", | 98 "src/gpu/gl/GrGLCreateNativeInterface_none.cpp", |
99 "src/gpu/gl/GrGLDefaultInterface_native.cpp", | 99 "src/gpu/gl/GrGLDefaultInterface_native.cpp", |
100 "src/gpu/gl/GrGLDefaultInterface_none.cpp", | 100 "src/gpu/gl/GrGLDefaultInterface_none.cpp", |
101 | 101 |
102 # Exclude files that don't compile with the current DEFINES. | 102 # Exclude files that don't compile with the current DEFINES. |
103 "src/gpu/gl/angle/*", # Requires SK_ANGLE define. | 103 "src/gpu/gl/angle/*", # Requires SK_ANGLE define. |
104 "src/gpu/gl/command_buffer/*", # unknown type name 'HMODULE' | 104 "src/gpu/gl/command_buffer/*", # unknown type name 'HMODULE' |
105 "src/gpu/gl/mesa/*", # Requires SK_MESA define. | 105 "src/gpu/gl/mesa/*", # Requires SK_MESA define. |
106 "src/svg/parser/*", # Missing SkSVG.h. | 106 "src/svg/parser/*", # Missing SkSVG.h. |
107 | 107 |
(...skipping 423 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 |