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

Side by Side Diff: skia/BUILD.gn

Issue 2322673003: added sksl to Skia BUILD.gn (Closed)
Patch Set: Created 4 years, 3 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 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 import("//third_party/skia/gn/shared_sources.gni") 8 import("//third_party/skia/gn/shared_sources.gni")
9 9
10 if (current_cpu == "arm") { 10 if (current_cpu == "arm") {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 defines += [ 61 defines += [
62 "SKIA_DLL", 62 "SKIA_DLL",
63 "GR_GL_IGNORE_ES3_MSAA=0", 63 "GR_GL_IGNORE_ES3_MSAA=0",
64 ] 64 ]
65 } 65 }
66 66
67 if (skia_support_gpu) { 67 if (skia_support_gpu) {
68 include_dirs += [ 68 include_dirs += [
69 "//third_party/skia/include/gpu", 69 "//third_party/skia/include/gpu",
70 "//third_party/skia/src/gpu", 70 "//third_party/skia/src/gpu",
71 "//third_party/skia/src/sksl",
71 ] 72 ]
72 defines += [ "SK_SUPPORT_GPU=1" ] 73 defines += [ "SK_SUPPORT_GPU=1" ]
73 } else { 74 } else {
74 defines += [ "SK_SUPPORT_GPU=0" ] 75 defines += [ "SK_SUPPORT_GPU=0" ]
75 } 76 }
76 77
77 if (is_android) { 78 if (is_android) {
78 defines += [ 79 defines += [
79 "SK_BUILD_FOR_ANDROID", 80 "SK_BUILD_FOR_ANDROID",
80 "USE_CHROMIUM_SKIA", 81 "USE_CHROMIUM_SKIA",
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 allow_circular_includes_from = [ ":skia_opts" ] 277 allow_circular_includes_from = [ ":skia_opts" ]
277 278
278 if (current_cpu == "arm") { 279 if (current_cpu == "arm") {
279 sources += [ "//third_party/skia/src/core/SkUtilsArm.cpp" ] 280 sources += [ "//third_party/skia/src/core/SkUtilsArm.cpp" ]
280 } 281 }
281 282
282 # GPU 283 # GPU
283 if (skia_support_gpu) { 284 if (skia_support_gpu) {
284 sources += skia_gpu_sources 285 sources += skia_gpu_sources
285 sources += skia_null_gpu_sources 286 sources += skia_null_gpu_sources
287 sources += skia_sksl_sources
286 } 288 }
287 289
288 # Remove unused util files include in utils.gypi 290 # Remove unused util files include in utils.gypi
289 sources -= [ 291 sources -= [
290 "//third_party/skia/src/utils/SkBoundaryPatch.cpp", 292 "//third_party/skia/src/utils/SkBoundaryPatch.cpp",
291 "//third_party/skia/src/utils/SkCamera.cpp", 293 "//third_party/skia/src/utils/SkCamera.cpp",
292 "//third_party/skia/src/utils/SkDumpCanvas.cpp", 294 "//third_party/skia/src/utils/SkDumpCanvas.cpp",
293 "//third_party/skia/src/utils/SkFrontBufferedStream.cpp", 295 "//third_party/skia/src/utils/SkFrontBufferedStream.cpp",
294 "//third_party/skia/src/utils/SkInterpolator.cpp", 296 "//third_party/skia/src/utils/SkInterpolator.cpp",
295 "//third_party/skia/src/utils/SkLayer.cpp", 297 "//third_party/skia/src/utils/SkLayer.cpp",
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 708
707 deps = [ 709 deps = [
708 ":skia", 710 ":skia",
709 "//base", 711 "//base",
710 "//base/test:test_support", 712 "//base/test:test_support",
711 "//build/config/sanitizers:deps", 713 "//build/config/sanitizers:deps",
712 "//build/win:default_exe_manifest", 714 "//build/win:default_exe_manifest",
713 ] 715 ]
714 } 716 }
715 } 717 }
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