| # Copyright (c) 2013 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. | |
| source_set("dynamic_annotations") { | |
| sources = [ | |
| "dynamic_annotations.c", | |
| "dynamic_annotations.h", | |
| "../valgrind/valgrind.h", | |
| ] | |
| if (is_android && !is_debug) { | |
| configs -= [ "//build/config/compiler:optimize" ] | |
| configs += [ "//build/config/compiler:optimize_max" ] | |
| } | |
| } |