summaryrefslogtreecommitdiffstats
path: root/ash
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2016-02-23 17:25:32 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-24 01:27:52 +0000
commit7915ae0dd753d281344d748789818dab97c39a37 (patch)
tree19c65a9bac3d63040fe3860c56ad4f8356999eb5 /ash
parent00dbc56d62cf9bffdca5382a9777d7c4696f0fa1 (diff)
downloadchromium_src-7915ae0dd753d281344d748789818dab97c39a37.zip
chromium_src-7915ae0dd753d281344d748789818dab97c39a37.tar.gz
chromium_src-7915ae0dd753d281344d748789818dab97c39a37.tar.bz2
Move ENABLE_HIDPI to new build flags system
This define is only used in one source file. This takes the flag out of the global build configuration in GN and puts it in a new .gni file in //ui/base that interested parties can import. This flag then controls a define set in the new generated header. Review URL: https://codereview.chromium.org/1719343002 Cr-Commit-Position: refs/heads/master@{#377177}
Diffstat (limited to 'ash')
-rw-r--r--ash/BUILD.gn1
-rw-r--r--ash/resources/BUILD.gn1
2 files changed, 2 insertions, 0 deletions
diff --git a/ash/BUILD.gn b/ash/BUILD.gn
index 88d917c..31aaeba 100644
--- a/ash/BUILD.gn
+++ b/ash/BUILD.gn
@@ -5,6 +5,7 @@
import("//build/config/features.gni")
import("//build/config/ui.gni")
import("//testing/test.gni")
+import("//ui/base/ui_features.gni")
assert(use_aura)
assert(enable_hidpi)
diff --git a/ash/resources/BUILD.gn b/ash/resources/BUILD.gn
index bbb66bd..399ad6f 100644
--- a/ash/resources/BUILD.gn
+++ b/ash/resources/BUILD.gn
@@ -4,6 +4,7 @@
import("//tools/grit/grit_rule.gni")
import("//tools/grit/repack.gni")
+import("//ui/base/ui_features.gni")
assert(enable_hidpi)