summaryrefslogtreecommitdiffstats
path: root/ash/ash.gyp
diff options
context:
space:
mode:
authorjdufault <jdufault@chromium.org>2015-06-25 18:26:16 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-26 01:27:57 +0000
commit7efb92fb895b22f73f943b191f2da02527a55cd3 (patch)
tree8a4539297775bc6be646269688ebaab1a756c4c4 /ash/ash.gyp
parentcb74965e5aab713293d9ba6dffa1b87ab1da872e (diff)
downloadchromium_src-7efb92fb895b22f73f943b191f2da02527a55cd3.zip
chromium_src-7efb92fb895b22f73f943b191f2da02527a55cd3.tar.gz
chromium_src-7efb92fb895b22f73f943b191f2da02527a55cd3.tar.bz2
Add utility methods for device type translation messages.
The high-level goal is to remove hard-coded device-types in UI strings; these utility methods make it very easy to substitute in the correct device-type at runtime. This CL uses a method introduced in https://codereview.chromium.org/1204783005. These utility methods are used in the following CL's: - https://codereview.chromium.org/1172053004 - https://codereview.chromium.org/1175803002 - https://codereview.chromium.org/1164423011 - https://codereview.chromium.org/1173823002 - https://codereview.chromium.org/1176673002 - https://codereview.chromium.org/1170373003 - https://codereview.chromium.org/1175813002 A presubmit check is introduced in a later CL to prevent accidentally hard-coding device-type messages (https://codereview.chromium.org/1171063003). BUG=341356 Review URL: https://codereview.chromium.org/1206063002 Cr-Commit-Position: refs/heads/master@{#336313}
Diffstat (limited to 'ash/ash.gyp')
-rw-r--r--ash/ash.gyp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ash/ash.gyp b/ash/ash.gyp
index 9ae3b27..b74c14e 100644
--- a/ash/ash.gyp
+++ b/ash/ash.gyp
@@ -296,6 +296,8 @@
'system/chromeos/brightness/brightness_controller_chromeos.h',
'system/chromeos/brightness/tray_brightness.cc',
'system/chromeos/brightness/tray_brightness.h',
+ 'system/chromeos/devicetype_utils.cc',
+ 'system/chromeos/devicetype_utils.h',
'system/chromeos/enterprise/enterprise_domain_observer.h',
'system/chromeos/enterprise/tray_enterprise.cc',
'system/chromeos/enterprise/tray_enterprise.h',