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

Side by Side Diff: BUILD.gn

Issue 2180383003: Turn on flags to enforce SK_API. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 | gn/BUILD.gn » ('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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 test_lib("gm") { 393 test_lib("gm") {
394 public_include_dirs = [ "gm" ] 394 public_include_dirs = [ "gm" ]
395 sources = gm_sources 395 sources = gm_sources
396 deps = [ 396 deps = [
397 ":gpu_tool_utils", 397 ":gpu_tool_utils",
398 ":skia", 398 ":skia",
399 ":tool_utils", 399 ":tool_utils",
400 ] 400 ]
401 } 401 }
402 402
403 executable("dm") { 403 if (!is_component_build) { # DM uses many non-SK_API APIs...
404 sources = [ 404 executable("dm") {
405 "dm/DM.cpp", 405 sources = [
406 "dm/DMJsonWriter.cpp", 406 "dm/DM.cpp",
407 "dm/DMSrcSink.cpp", 407 "dm/DMJsonWriter.cpp",
408 "dm/DMSrcSink.cpp",
408 409
409 # TODO: tests for real 410 # TODO: tests for real
410 "tests/Test.cpp", 411 "tests/Test.cpp",
411 ] 412 ]
412 include_dirs = [ "tests" ] 413 include_dirs = [ "tests" ]
413 deps = [ 414 deps = [
414 ":flags", 415 ":flags",
415 ":gm", 416 ":gm",
416 ":gpu_tool_utils", 417 ":gpu_tool_utils",
417 ":skia", 418 ":skia",
418 ":tool_utils", 419 ":tool_utils",
419 "//third_party/jsoncpp", 420 "//third_party/jsoncpp",
420 "//third_party/libpng", 421 "//third_party/libpng",
421 ] 422 ]
422 testonly = true 423 testonly = true
424 }
423 } 425 }
OLDNEW
« no previous file with comments | « no previous file | gn/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698