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

Unified Diff: third_party/WebKit/public/BUILD.gn

Issue 1400383002: Separate desktop and mobile media player controls image resources. Base URL: https://chromium.googlesource.com/chromium/src.git@new_media_ui_stale_pngs
Patch Set: added desktop variants. Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/public/blink_image_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/BUILD.gn
diff --git a/third_party/WebKit/public/BUILD.gn b/third_party/WebKit/public/BUILD.gn
index 90bb886182de1b4ea2292ec5b0d67ef4f07613df..49a86cdc3c5e932cb4c5554e67ffbbae141a0834 100644
--- a/third_party/WebKit/public/BUILD.gn
+++ b/third_party/WebKit/public/BUILD.gn
@@ -162,10 +162,19 @@ grit("resources") {
grit("image_resources") {
output_dir = "$root_gen_dir/blink/public/resources"
use_qualified_include = true
+ if (is_android) {
+ platform_type = "mobile"
+ } else {
+ platform_type = "desktop"
+ }
source = "blink_image_resources.grd"
outputs = [
"grit/blink_image_resources.h",
"blink_image_resources_100_percent.pak",
"blink_image_resources_200_percent.pak",
]
+ grit_flags = [
+ "-E",
+ "platform_type=" + platform_type,
+ ]
}
« no previous file with comments | « no previous file | third_party/WebKit/public/blink_image_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698