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

Unified Diff: chrome/BUILD.gn

Issue 2001093002: Revert of Remove enable_topchrome_md build flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « build/config/ui.gni ('k') | chrome/app/theme/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/BUILD.gn
diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn
index d3e035215994256a2451d285b9577ecf1d8ba987..ea2dee46048afa507f24f1814dd96405a150c940 100644
--- a/chrome/BUILD.gn
+++ b/chrome/BUILD.gn
@@ -630,9 +630,7 @@
sources += [ "$root_out_dir/chrome_200_percent.pak" ]
}
- # TODO(estade): remove material design specific resources.
- # See crbug.com/613593
- if (is_mac) {
+ if (enable_topchrome_md) {
sources += [ "$root_out_dir/chrome_material_100_percent.pak" ]
if (enable_hidpi) {
@@ -1080,7 +1078,7 @@
public_deps += [ ":repack_chrome_200_percent" ]
}
- if (is_mac) {
+ if (enable_topchrome_md) {
public_deps += [ ":repack_chrome_material_100_percent" ]
if (enable_hidpi) {
@@ -1336,6 +1334,7 @@
# All sources should also have deps for completeness.
sources = [
"$root_gen_dir/chrome/theme_resources_material_${percent}_percent.pak",
+ "$root_gen_dir/components/components_resources_material_${percent}_percent.pak",
]
deps = [
@@ -1360,7 +1359,7 @@
}
}
-if (is_mac) {
+if (enable_topchrome_md) {
chrome_repack_material_percent("repack_chrome_material_100_percent") {
percent = "100"
}
« no previous file with comments | « build/config/ui.gni ('k') | chrome/app/theme/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698