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

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: updated fullscreen filenames to match the others. Created 5 years, 2 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 73aefaf25e6ae02af0e5d09015ba64db418f7c21..c7ccf3c5c62c26a7ed6a97675d90359e50fe0249 100644
--- a/third_party/WebKit/public/BUILD.gn
+++ b/third_party/WebKit/public/BUILD.gn
@@ -6,10 +6,9 @@ import("//third_party/WebKit/Source/config.gni")
import("//tools/grit/grit_rule.gni")
blink_headers_values = exec_script("//build/gypi_to_gn.py",
- [ rebase_path("blink_headers.gypi") ],
+ [ rebase_path("blink_headers.gypi") ],
philipj_slow 2015/10/21 11:19:49 This and a bunch of other changes in this file loo
"scope",
- [ "blink_headers.gypi" ])
-
+ [ "blink_headers.gypi" ])
if (is_android) {
import("//build/config/android/rules.gni")
@@ -84,9 +83,9 @@ if (is_android) {
# GYP version: WebKit/public/blink_headers.gyp:web_text_input_type
java_cpp_enum("blink_headers_java_enums_srcjar") {
sources = [
+ "./platform/WebDisplayMode.h",
"./web/WebInputEvent.h",
"./web/WebTextInputType.h",
- "./platform/WebDisplayMode.h",
]
outputs = [
"org/chromium/blink_public/platform/WebDisplayMode.java",
@@ -98,9 +97,7 @@ if (is_android) {
# GYP version: WebKit/public/blink_headers.gyp:blink_headers_java
android_library("blink_headers_java") {
- srcjar_deps = [
- ":blink_headers_java_enums_srcjar",
- ]
+ srcjar_deps = [ ":blink_headers_java_enums_srcjar" ]
}
}
@@ -109,8 +106,10 @@ if (is_android) {
source_set("blink_headers") {
public_configs = [
":blink_headers_config",
+
# Blink exposes icu headers in the public API.
"//third_party/icu:icu_config",
+
# Blink exposes NPAPI headers in the public API.
"//third_party/npapi:npapi_config",
]
@@ -152,10 +151,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