summaryrefslogtreecommitdiffstats
path: root/tools/cr
diff options
context:
space:
mode:
authorplundblad <plundblad@chromium.org>2015-05-19 06:42:35 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-19 13:42:36 +0000
commit6e86b73e241cf62f30792054721ef519bdbb5dc9 (patch)
treecb2158c28b3364693338909e25ca843ca7158757 /tools/cr
parent58b42a0c48127c60baad7ea79ea0e5576c6e1d0b (diff)
downloadchromium_src-6e86b73e241cf62f30792054721ef519bdbb5dc9.zip
chromium_src-6e86b73e241cf62f30792054721ef519bdbb5dc9.tar.gz
chromium_src-6e86b73e241cf62f30792054721ef519bdbb5dc9.tar.bz2
Teach cr to set the correct target os for chromeos when generating with gn.
BUG=None Review URL: https://codereview.chromium.org/1128843008 Cr-Commit-Position: refs/heads/master@{#330515}
Diffstat (limited to 'tools/cr')
-rw-r--r--tools/cr/cr/base/linux_chromeos.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/cr/cr/base/linux_chromeos.py b/tools/cr/cr/base/linux_chromeos.py
index b0ca248..213744ca 100644
--- a/tools/cr/cr/base/linux_chromeos.py
+++ b/tools/cr/cr/base/linux_chromeos.py
@@ -15,6 +15,7 @@ class LinuxChromeOSPlatform(cr.Platform):
CR_BINARY=os.path.join('{CR_BUILD_DIR}', '{CR_BUILD_TARGET}'),
CHROME_DEVEL_SANDBOX='/usr/local/sbin/chrome-devel-sandbox',
GYP_DEF_chromeos=1,
+ GN_ARG_target_os='"chromeos"',
)
@property