blob: d61ac054c6e6822f98f5967c2d0fec372df11be7 [file] [log] [blame]
#!/bin/bash
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This is a workaround of crosbug.com/20299: Make all ChromeOS modules build fine with Clang.
# Currently only Chrome supports Clang build.
case "${PN}" in
"chromeos-chrome")
export CC=${CHOST}-clang
export CXX=${CHOST}-clang++
# We want to be able to easily symbolize possible asan failure logs.
export KEEP_CHROME_DEBUG_SYMBOLS=1
;;
esac