Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Side by Side Diff: public.bzl

Issue 2380563006: Unomit SkSL in public.bzl. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 "src/xml/**/*", 127 "src/xml/**/*",
128 128
129 # Conflicting dependencies among Lua versions. See cl/107087297. 129 # Conflicting dependencies among Lua versions. See cl/107087297.
130 "src/utils/SkLua*", 130 "src/utils/SkLua*",
131 131
132 # Not used. 132 # Not used.
133 "src/views/**/*", 133 "src/views/**/*",
134 134
135 # Currently exclude all vulkan specific files 135 # Currently exclude all vulkan specific files
136 "src/gpu/vk/*", 136 "src/gpu/vk/*",
137 "src/sksl/**/*", 137
138 # Defines main.
139 "src/sksl/SkSLMain.cpp",
138 ], 140 ],
139 ) 141 )
140 142
141 # Platform-dependent SRCS for google3-default platform. 143 # Platform-dependent SRCS for google3-default platform.
142 BASE_SRCS_UNIX = struct( 144 BASE_SRCS_UNIX = struct(
143 include = [ 145 include = [
144 "src/android/*", 146 "src/android/*",
145 "src/codec/*", 147 "src/codec/*",
146 "src/gpu/gl/GrGLDefaultInterface_none.cpp", 148 "src/gpu/gl/GrGLDefaultInterface_none.cpp",
147 "src/images/*", 149 "src/images/*",
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 "include/xml", 376 "include/xml",
375 "src/codec", 377 "src/codec",
376 "src/core", 378 "src/core",
377 "src/gpu", 379 "src/gpu",
378 "src/image", 380 "src/image",
379 "src/lazy", 381 "src/lazy",
380 "src/opts", 382 "src/opts",
381 "src/ports", 383 "src/ports",
382 "src/pdf", 384 "src/pdf",
383 "src/sfnt", 385 "src/sfnt",
386 "src/sksl",
384 "src/utils", 387 "src/utils",
385 "third_party/etc1", 388 "third_party/etc1",
386 "third_party/ktx", 389 "third_party/ktx",
387 ] 390 ]
388 391
389 ################################################################################ 392 ################################################################################
390 ## DM_SRCS 393 ## DM_SRCS
391 ################################################################################ 394 ################################################################################
392 395
393 DM_SRCS_ALL = struct( 396 DM_SRCS_ALL = struct(
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 "tools/test_font_index.inc", 432 "tools/test_font_index.inc",
430 "tools/timer/*.cpp", 433 "tools/timer/*.cpp",
431 "tools/timer/*.h", 434 "tools/timer/*.h",
432 ], 435 ],
433 exclude = [ 436 exclude = [
434 "dm/DMSrcSinkAndroid.cpp", # Android-only. 437 "dm/DMSrcSinkAndroid.cpp", # Android-only.
435 "tests/FontMgrAndroidParserTest.cpp", # Android-only. 438 "tests/FontMgrAndroidParserTest.cpp", # Android-only.
436 "tests/PathOpsSkpClipTest.cpp", # Alternate main. 439 "tests/PathOpsSkpClipTest.cpp", # Alternate main.
437 "tests/skia_test.cpp", # Old main. 440 "tests/skia_test.cpp", # Old main.
438 "tests/SkpSkGrTest.cpp", # Alternate main. 441 "tests/SkpSkGrTest.cpp", # Alternate main.
439 "tests/SkSL*.cpp", # Excluded along with Vulkan.
440 "tests/SVGDeviceTest.cpp", 442 "tests/SVGDeviceTest.cpp",
441 "tools/gpu/gl/angle/*", 443 "tools/gpu/gl/angle/*",
442 "tools/gpu/gl/egl/*", 444 "tools/gpu/gl/egl/*",
443 "tools/gpu/gl/glx/*", 445 "tools/gpu/gl/glx/*",
444 "tools/gpu/gl/iOS/*", 446 "tools/gpu/gl/iOS/*",
445 "tools/gpu/gl/mac/*", 447 "tools/gpu/gl/mac/*",
446 "tools/gpu/gl/mesa/*", 448 "tools/gpu/gl/mesa/*",
447 "tools/gpu/gl/win/*", 449 "tools/gpu/gl/win/*",
448 "tools/timer/SysTimer_mach.cpp", 450 "tools/timer/SysTimer_mach.cpp",
449 "tools/timer/SysTimer_windows.cpp", 451 "tools/timer/SysTimer_windows.cpp",
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 628
627 LINKOPTS_ANDROID = [ 629 LINKOPTS_ANDROID = [
628 "-lEGL", 630 "-lEGL",
629 ] 631 ]
630 632
631 LINKOPTS_IOS = [] 633 LINKOPTS_IOS = []
632 634
633 LINKOPTS_ALL = [ 635 LINKOPTS_ALL = [
634 "-ldl", 636 "-ldl",
635 ] 637 ]
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698