diff options
author | Hal Canary <halcanary@google.com> | 2018-01-30 11:30:48 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-01-30 19:24:15 +0000 |
commit | 537d9c0229b296a1b19f678432011d748d73cf18 (patch) | |
tree | fe2d3bc9b871479097148e694b2a32f614828795 /BUILD.gn | |
parent | 547fe0c0189f8710f2c4c24907c41a32d370e452 (diff) |
SkQP: remove skia_embed_resources option
Motivation: delete unnecessary code. ResourceFactory.h provides a much more
flexible way of fixing the same problem.
Change-Id: Ib8a3ce25ce98e4f752dc1e7ce88eb9ceb95a4372
Reviewed-on: https://skia-review.googlesource.com/101920
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 21 |
1 files changed, 1 insertions, 20 deletions
@@ -31,7 +31,6 @@ declare_args() { skia_use_metal = false skia_use_libheif = is_skia_dev_build skia_use_skcms = is_skia_dev_build - skia_embed_resources = false skia_android_serial = "" skia_enable_discrete_gpu = true @@ -939,20 +938,6 @@ if (skia_enable_tools) { ] } - if (skia_embed_resources) { - action("binary_resources.cpp") { - script = "gn/generate_binary_asset.py" - args = [ - rebase_path("resources"), - "gResources", - rebase_path("$target_gen_dir/binary_resources.cpp", root_build_dir), - ] - outputs = [ - "$target_gen_dir/binary_resources.cpp", - ] - } - } - if (skia_enable_gpu && target_cpu == "x64") { executable("fiddle") { libs = [] @@ -1289,11 +1274,6 @@ if (skia_enable_tools) { public_deps = [ "//third_party/jsoncpp", ] - if (skia_embed_resources) { - defines = [ "SK_EMBED_RESOURCES" ] - sources += [ "$target_gen_dir/binary_resources.cpp" ] - deps += [ ":binary_resources.cpp" ] - } } import("gn/gm.gni") @@ -1831,6 +1811,7 @@ if (skia_enable_tools) { deps = [ ":skia", ":skqp_lib", + ":tool_utils", "//third_party/googletest", ] } |