Commit 08060608 authored by John Budorick's avatar John Budorick Committed by Commit Bot

Add debugging_buildflags to generate_jni public_deps.

Bug: 799759
Change-Id: I57d860f897db5fbc477e1b67e8979a651768d052
Reviewed-on: https://chromium-review.googlesource.com/979610
Commit-Queue: John Budorick <jbudorick@chromium.org>
Reviewed-by: default avataragrieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#545799}
parent 3e261e9b
...@@ -262,7 +262,15 @@ if (enable_java_templates) { ...@@ -262,7 +262,15 @@ if (enable_java_templates) {
if (!defined(public_deps)) { if (!defined(public_deps)) {
public_deps = [] public_deps = []
} }
public_deps += [ ":$_foreach_target_name" ] public_deps += [
":$_foreach_target_name",
# This depends on debugging_buildflags indirectly through
# base/android/jni_android.h, which is part of the //base target.
# This can't depend directly on //base without causing a dependency
# cycle, though.
"//base:debugging_buildflags",
]
public_configs = [ ":jni_includes_${target_name}" ] public_configs = [ ":jni_includes_${target_name}" ]
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment