Skip to content

Commit

Permalink
Move libpng to //flutter/third_party/libpng
Browse files Browse the repository at this point in the history
  • Loading branch information
zanderso committed Feb 12, 2024
1 parent d354c58 commit fb8415b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ deps = {
'src/flutter/third_party/libjpeg-turbo/src':
Var('flutter_git') + '/third_party/libjpeg-turbo' + '@' + '0fb821f3b2e570b2783a94ccd9a2fb1f4916ae9f',

'src/third_party/libpng':
'src/flutter/third_party/libpng':
Var('flutter_git') + '/third_party/libpng' + '@' + '9187b6e12756317f6d44fc669ac11dfc262bd192',

'src/flutter/third_party/libwebp':
Expand Down
8 changes: 8 additions & 0 deletions build/secondary/third_party/libpng/BUILD.gn
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

group("libpng") {
deps = [ "//flutter/third_party/libpng" ]
public_configs = [ "//flutter/third_party/libpng:libpng_public" ]
}
4 changes: 2 additions & 2 deletions skia/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ optional("png_decode") {
"SK_CODEC_DECODES_ICO",
]

deps = [ "//third_party/libpng" ]
deps = [ "//flutter/third_party/libpng" ]
sources = [
"$_skia_root/src/codec/SkIcoCodec.cpp",
"$_skia_root/src/codec/SkPngCodec.cpp",
Expand All @@ -553,7 +553,7 @@ optional("png_encode") {
enabled = skia_use_libpng_encode && !skia_use_ndk_images
public = skia_encode_png_public

deps = [ "//third_party/libpng" ]
deps = [ "//flutter/third_party/libpng" ]
sources = skia_encode_png_srcs
}

Expand Down

0 comments on commit fb8415b

Please sign in to comment.