Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(500)

Side by Side Diff: build/secondary/third_party/flac/BUILD.gn

Issue 595073002: Replace forward_dependent_configs with public_deps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 config("flac_config") { 5 config("flac_config") {
6 defines = [ "FLAC__NO_DLL" ] 6 defines = [ "FLAC__NO_DLL" ]
7 } 7 }
8 8
9 static_library("flac") { 9 static_library("flac") {
10 sources = [ 10 sources = [
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 "src/libFLAC/include/protected/stream_encoder.h", 54 "src/libFLAC/include/protected/stream_encoder.h",
55 ] 55 ]
56 56
57 defines = [ 57 defines = [
58 "FLAC__OVERFLOW_DETECT", 58 "FLAC__OVERFLOW_DETECT",
59 "VERSION=\"1.2.1\"", 59 "VERSION=\"1.2.1\"",
60 ] 60 ]
61 61
62 configs -= [ "//build/config/compiler:chromium_code" ] 62 configs -= [ "//build/config/compiler:chromium_code" ]
63 configs += [ "//build/config/compiler:no_chromium_code" ] 63 configs += [ "//build/config/compiler:no_chromium_code" ]
64 direct_dependent_configs = [ ":flac_config" ] 64 public_configs = [ ":flac_config" ]
65 65
66 include_dirs = [ 66 include_dirs = [
67 "include", 67 "include",
68 "src/libFLAC/include", 68 "src/libFLAC/include",
69 ] 69 ]
70 70
71 if (is_clang) { 71 if (is_clang) {
72 # libflac converts between FLAC__StreamDecoderState and 72 # libflac converts between FLAC__StreamDecoderState and
73 # FLAC__StreamDecoderInitStatus a lot in stream_decoder.c. 73 # FLAC__StreamDecoderInitStatus a lot in stream_decoder.c.
74 cflags = [ "-Wno-conversion" ] 74 cflags = [ "-Wno-conversion" ]
75 } 75 }
76 } 76 }
OLDNEW
« no previous file with comments | « build/secondary/third_party/cacheinvalidation/BUILD.gn ('k') | build/secondary/third_party/freetype/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698