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

Side by Side Diff: BUILD.gn

Issue 2201233003: GN: gpu support in tools (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: case-o Created 4 years, 4 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 | site/user/quick/gn.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 Google Inc. 1 # Copyright 2016 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 declare_args() { 6 declare_args() {
7 } 7 }
8 8
9 skia_public_includes = [ 9 skia_public_includes = [
10 "include/android", 10 "include/android",
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 "tools/gpu/gl/debug/GrFrameBufferObj.cpp", 357 "tools/gpu/gl/debug/GrFrameBufferObj.cpp",
358 "tools/gpu/gl/debug/GrProgramObj.cpp", 358 "tools/gpu/gl/debug/GrProgramObj.cpp",
359 "tools/gpu/gl/debug/GrShaderObj.cpp", 359 "tools/gpu/gl/debug/GrShaderObj.cpp",
360 "tools/gpu/gl/debug/GrTextureObj.cpp", 360 "tools/gpu/gl/debug/GrTextureObj.cpp",
361 "tools/gpu/gl/debug/GrTextureUnitObj.cpp", 361 "tools/gpu/gl/debug/GrTextureUnitObj.cpp",
362 "tools/gpu/gl/null/NullGLTestContext.cpp", 362 "tools/gpu/gl/null/NullGLTestContext.cpp",
363 ] 363 ]
364 libs = [] 364 libs = []
365 365
366 if (is_linux) { 366 if (is_linux) {
367 sources += [ "tools/gpu/gl/glx/CreatePlatformGLTestContext_glx.cpp" ] 367 sources += [
368 "src/gpu/gl/glx/GrGLCreateNativeInterface_glx.cpp",
369 "tools/gpu/gl/glx/CreatePlatformGLTestContext_glx.cpp",
370 ]
368 libs += [ 371 libs += [
369 "GL", 372 "GL",
370 "GLU", 373 "GLU",
371 "X11", 374 "X11",
372 ] 375 ]
373 } else if (is_mac) { 376 } else if (is_mac) {
374 sources += [ "tools/gpu/gl/mac/CreatePlatformGLTestContext_mac.cpp" ] 377 sources += [
378 "src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp",
379 "tools/gpu/gl/mac/CreatePlatformGLTestContext_mac.cpp",
380 ]
375 libs += [ "OpenGL.framework" ] 381 libs += [ "OpenGL.framework" ]
376 } 382 }
377 } 383 }
378 384
379 test_lib("flags") { 385 test_lib("flags") {
380 public_include_dirs = [ "tools/flags" ] 386 public_include_dirs = [ "tools/flags" ]
381 sources = [ 387 sources = [
382 "tools/flags/SkCommandLineFlags.cpp", 388 "tools/flags/SkCommandLineFlags.cpp",
383 "tools/flags/SkCommonFlags.cpp", 389 "tools/flags/SkCommonFlags.cpp",
384 "tools/flags/SkCommonFlagsConfig.cpp", 390 "tools/flags/SkCommonFlagsConfig.cpp",
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 ":flags", 538 ":flags",
533 ":gm", 539 ":gm",
534 ":gpu_tool_utils", 540 ":gpu_tool_utils",
535 ":skia", 541 ":skia",
536 ":tool_utils", 542 ":tool_utils",
537 "//third_party/jsoncpp", 543 "//third_party/jsoncpp",
538 ] 544 ]
539 testonly = true 545 testonly = true
540 } 546 }
541 } 547 }
OLDNEW
« no previous file with comments | « no previous file | site/user/quick/gn.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698