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

Side by Side Diff: third_party/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, 2 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
« no previous file with comments | « sync/BUILD.gn ('k') | third_party/boringssl/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 if (is_android) { 5 if (is_android) {
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 } 7 }
8 8
9 declare_args() { 9 declare_args() {
10 # Uses system libjpeg. If true, overrides use_libjpeg_turbo. 10 # Uses system libjpeg. If true, overrides use_libjpeg_turbo.
(...skipping 11 matching lines...) Expand all
22 config("libjpeg_turbo_config") { 22 config("libjpeg_turbo_config") {
23 defines = [ "USE_LIBJPEG_TURBO" ] 23 defines = [ "USE_LIBJPEG_TURBO" ]
24 } 24 }
25 25
26 # This is a meta target that forwards to the system's libjpeg, 26 # This is a meta target that forwards to the system's libjpeg,
27 # third_party/libjpeg, or third_party/libjpeg_turbo depending on the build args 27 # third_party/libjpeg, or third_party/libjpeg_turbo depending on the build args
28 # declared in this file. 28 # declared in this file.
29 group("jpeg") { 29 group("jpeg") {
30 if (use_system_libjpeg) { 30 if (use_system_libjpeg) {
31 libs = [ "jpeg" ] 31 libs = [ "jpeg" ]
32 direct_dependent_configs = [ ":system_libjpeg_config" ] 32 public_configs = [ ":system_libjpeg_config" ]
33 } else if (use_libjpeg_turbo) { 33 } else if (use_libjpeg_turbo) {
34 deps = [ "//third_party/libjpeg_turbo:libjpeg" ] 34 deps = [ "//third_party/libjpeg_turbo:libjpeg" ]
35 direct_dependent_configs = [ ":libjpeg_turbo_config" ] 35 public_configs = [ ":libjpeg_turbo_config" ]
36 } else { 36 } else {
37 deps = [ "//third_party/libjpeg:libjpeg" ] 37 deps = [ "//third_party/libjpeg:libjpeg" ]
38 } 38 }
39 } 39 }
OLDNEW
« no previous file with comments | « sync/BUILD.gn ('k') | third_party/boringssl/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698