Commit 0a51ee28 authored by gogerald's avatar gogerald Committed by Commit Bot

[StartSurface] Include 'ss_explore_scroll_container.xml' only when feed is enabled

to suppress 'UnusedResources' lint warning when feed is disabled.

Bug: 982018
Change-Id: I841104a65ed7f1f7bf02b2bd4fdc40ed90505ac6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1782718Reviewed-by: default avatarTheresa  <twellington@chromium.org>
Commit-Queue: Ganggui Tang <gogerald@chromium.org>
Auto-Submit: Ganggui Tang <gogerald@chromium.org>
Cr-Commit-Position: refs/heads/master@{#693183}
parent 4c69af2b
...@@ -68,6 +68,9 @@ java_strings_grd("java_strings_grd") { ...@@ -68,6 +68,9 @@ java_strings_grd("java_strings_grd") {
android_resources("java_resources") { android_resources("java_resources") {
resource_dirs = [ "java/res" ] resource_dirs = [ "java/res" ]
if (enable_feed_in_chrome) {
resource_dirs += [ "java/explore_res" ]
}
deps = [ deps = [
":java_strings_grd", ":java_strings_grd",
"//chrome/android:chrome_app_java_resources", "//chrome/android:chrome_app_java_resources",
......
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