1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 config("lzma_sdk_config") {
9 # Must be in a config because of how GN orders flags (otherwise -Wall will
10 # appear after this, and turn it back on).
11 config("clang_warnings") {
13 # Upstream uses self-assignment to avoid warnings.
14 cflags = [ "-Wno-self-assign" ]
18 static_library("lzma_sdk") {
61 configs -= [ "//build/config/compiler:chromium_code" ]
63 "//build/config/compiler:no_chromium_code",
65 # Must be after no_chromium_code for warning flags to be ordered correctly.
68 public_configs = [ ":lzma_sdk_config" ]