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

Side by Side Diff: public.bzl

Issue 1842363002: In public.bzl, change file locations after https://codereview.chromium.org/1815823002 (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 4 years, 8 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 "src/views/unix/*", 94 "src/views/unix/*",
95 95
96 # Exclude multiple definitions. 96 # Exclude multiple definitions.
97 # TODO(mtklein): Move to opts? 97 # TODO(mtklein): Move to opts?
98 "src/pdf/SkDocument_PDF_None.cpp", # We use src/pdf/SkPDFDocument.cpp. 98 "src/pdf/SkDocument_PDF_None.cpp", # We use src/pdf/SkPDFDocument.cpp.
99 "src/gpu/gl/GrGLCreateNativeInterface_none.cpp", 99 "src/gpu/gl/GrGLCreateNativeInterface_none.cpp",
100 "src/gpu/gl/GrGLDefaultInterface_native.cpp", 100 "src/gpu/gl/GrGLDefaultInterface_native.cpp",
101 "src/gpu/gl/GrGLDefaultInterface_none.cpp", 101 "src/gpu/gl/GrGLDefaultInterface_none.cpp",
102 102
103 # Exclude files that don't compile with the current DEFINES. 103 # Exclude files that don't compile with the current DEFINES.
104 "src/gpu/gl/angle/*", # Requires SK_ANGLE define.
105 "src/gpu/gl/command_buffer/*", # unknown type name 'HMODULE'
106 "src/gpu/gl/mesa/*", # Requires SK_MESA define. 104 "src/gpu/gl/mesa/*", # Requires SK_MESA define.
107 "src/svg/parser/*", # Missing SkSVG.h. 105 "src/svg/parser/*", # Missing SkSVG.h.
108 106
109 # Conflicting dependencies among Lua versions. See cl/107087297. 107 # Conflicting dependencies among Lua versions. See cl/107087297.
110 "src/utils/SkLua*", 108 "src/utils/SkLua*",
111 109
112 # Not used. 110 # Not used.
113 "src/animator/**/*", 111 "src/animator/**/*",
114 "src/views/**/*", 112 "src/views/**/*",
115 "src/xml/SkBML_Verbs.h", 113 "src/xml/SkBML_Verbs.h",
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 "tests/*.cpp", 390 "tests/*.cpp",
393 "tests/*.h", 391 "tests/*.h",
394 "tools/CrashHandler.cpp", 392 "tools/CrashHandler.cpp",
395 "tools/CrashHandler.h", 393 "tools/CrashHandler.h",
396 "tools/ProcStats.cpp", 394 "tools/ProcStats.cpp",
397 "tools/ProcStats.h", 395 "tools/ProcStats.h",
398 "tools/Resources.cpp", 396 "tools/Resources.cpp",
399 "tools/Resources.h", 397 "tools/Resources.h",
400 "tools/flags/*.cpp", 398 "tools/flags/*.cpp",
401 "tools/flags/*.h", 399 "tools/flags/*.h",
400 "tools/gpu/**/*.cpp",
401 "tools/gpu/**/*.h",
402 "tools/random_parse_path.cpp", 402 "tools/random_parse_path.cpp",
403 "tools/random_parse_path.h", 403 "tools/random_parse_path.h",
404 "tools/sk_tool_utils.cpp", 404 "tools/sk_tool_utils.cpp",
405 "tools/sk_tool_utils.h", 405 "tools/sk_tool_utils.h",
406 "tools/sk_tool_utils_font.cpp", 406 "tools/sk_tool_utils_font.cpp",
407 "tools/timer/*.cpp", 407 "tools/timer/*.cpp",
408 "tools/timer/*.h", 408 "tools/timer/*.h",
409 ], 409 ],
410 exclude = [ 410 exclude = [
411 "dm/DMSrcSinkAndroid.cpp", # Android-only. 411 "dm/DMSrcSinkAndroid.cpp", # Android-only.
412 "tests/FontMgrAndroidParserTest.cpp", # Android-only. 412 "tests/FontMgrAndroidParserTest.cpp", # Android-only.
413 "tests/PathOpsSkpClipTest.cpp", # Alternate main. 413 "tests/PathOpsSkpClipTest.cpp", # Alternate main.
414 "tests/skia_test.cpp", # Old main. 414 "tests/skia_test.cpp", # Old main.
415 "tests/SkpSkGrTest.cpp", # Alternate main. 415 "tests/SkpSkGrTest.cpp", # Alternate main.
416 "tools/gpu/gl/angle/*",
417 "tools/gpu/gl/command_buffer/*",
418 "tools/gpu/gl/egl/*",
419 "tools/gpu/gl/glx/*",
420 "tools/gpu/gl/iOS/*",
421 "tools/gpu/gl/mac/*",
422 "tools/gpu/gl/mesa/*",
423 "tools/gpu/gl/win/*",
416 "tools/timer/SysTimer_mach.cpp", 424 "tools/timer/SysTimer_mach.cpp",
417 "tools/timer/SysTimer_windows.cpp", 425 "tools/timer/SysTimer_windows.cpp",
418 ], 426 ],
419 ) 427 )
420 428
421 DM_SRCS_UNIX = struct() 429 DM_SRCS_UNIX = struct(
430 include = [
431 "tools/gpu/gl/CreatePlatformGLContext_none.cpp",
432 ],
433 )
422 434
423 DM_SRCS_ANDROID = struct( 435 DM_SRCS_ANDROID = struct(
424 include = [ 436 include = [
425 # Depends on Android HWUI library that is not available in google3. 437 # Depends on Android HWUI library that is not available in google3.
426 #"dm/DMSrcSinkAndroid.cpp", 438 #"dm/DMSrcSinkAndroid.cpp",
427 "tests/FontMgrAndroidParserTest.cpp", 439 "tests/FontMgrAndroidParserTest.cpp",
440 # TODO(benjaminwagner): Figure out how to compile with EGL.
441 "tools/gpu/gl/CreatePlatformGLContext_none.cpp",
428 ], 442 ],
429 ) 443 )
430 444
431 DM_SRCS_IOS = struct() 445 DM_SRCS_IOS = struct(
446 include = [
447 "tools/gpu/iOS/CreatePlatformGLContext_iOS.cpp",
448 ],
449 )
432 450
433 ################################################################################ 451 ################################################################################
434 ## DM_INCLUDES 452 ## DM_INCLUDES
435 ################################################################################ 453 ################################################################################
436 454
437 DM_INCLUDES = [ 455 DM_INCLUDES = [
438 "dm", 456 "dm",
439 "gm", 457 "gm",
440 "src/codec", 458 "src/codec",
441 "src/effects", 459 "src/effects",
442 "src/effects/gradients", 460 "src/effects/gradients",
443 "src/fonts", 461 "src/fonts",
444 "src/pathops", 462 "src/pathops",
445 "src/pipe/utils", 463 "src/pipe/utils",
446 "src/ports", 464 "src/ports",
447 "tools/debugger", 465 "tools/debugger",
448 "tests", 466 "tests",
449 "tools", 467 "tools",
450 "tools/flags", 468 "tools/flags",
469 "tools/gpu",
451 "tools/timer", 470 "tools/timer",
452 ] 471 ]
453 472
454 ################################################################################ 473 ################################################################################
455 ## DM_ARGS 474 ## DM_ARGS
456 ################################################################################ 475 ################################################################################
457 476
458 def DM_ARGS(base_dir): 477 def DM_ARGS(base_dir):
459 return [ 478 return [
460 "--nogpu", 479 "--nogpu",
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 554
536 LINKOPTS_ANDROID = [ 555 LINKOPTS_ANDROID = [
537 "-lEGL", 556 "-lEGL",
538 ] 557 ]
539 558
540 LINKOPTS_IOS = [] 559 LINKOPTS_IOS = []
541 560
542 LINKOPTS_ALL = [ 561 LINKOPTS_ALL = [
543 "-ldl", 562 "-ldl",
544 ] 563 ]
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