aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/toolchain
diff options
context:
space:
mode:
authorGravatar Greg Daniel <egdaniel@google.com>2017-07-12 16:21:09 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-12 20:49:32 +0000
commit6b7e0e2c744f3c5aba3755e5c69c49669f791e9e (patch)
tree49d54cf59e1a4a945fd5abd6abed7219e69464f0 /gn/toolchain
parent7cbf5e3e03754694157891e290ff30109b8e7583 (diff)
Add arc support to gpu Obj c++ code
This is mainly for getting ready to start adding lots of metal backend code. I've also update the "gpu tools" target to require ARC with involved updating one IOS file in there. Bug: skia: Change-Id: Ied22e8fe7532445cc274efb529e3450654a6614b Reviewed-on: https://skia-review.googlesource.com/22484 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'gn/toolchain')
-rw-r--r--gn/toolchain/BUILD.gn2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn/toolchain/BUILD.gn b/gn/toolchain/BUILD.gn
index a4c13a7d69..55778effe8 100644
--- a/gn/toolchain/BUILD.gn
+++ b/gn/toolchain/BUILD.gn
@@ -210,7 +210,7 @@ template("gcc_like_toolchain") {
tool("objcxx") {
depfile = "{{output}}.d"
- command = "$cc_wrapper $cxx -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_cc}} {{cflags_objc}} -c {{source}} -o {{output}}"
+ command = "$cc_wrapper $cxx -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_cc}} {{cflags_objcc}} -c {{source}} -o {{output}}"
depsformat = "gcc"
outputs = [
"{{source_out_dir}}/{{target_output_name}}.{{source_name_part}}.o",