Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit f9942f1

Browse files
committed
Move zlib to //flutter/third_party
Fixes flutter/flutter#146598
1 parent 8578edf commit f9942f1

3 files changed

Lines changed: 32 additions & 1 deletion

File tree

DEPS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ deps = {
664664
'src/flutter/third_party/wuffs':
665665
Var('skia_git') + '/external/github.com/google/wuffs-mirror-release-c.git' + '@' + '600cd96cf47788ee3a74b40a6028b035c9fd6a61',
666666

667-
'src/third_party/zlib':
667+
'src/flutter/third_party/zlib':
668668
Var('chromium_git') + '/chromium/src/third_party/zlib.git' + '@' + '7d77fb7fd66d8a5640618ad32c71fdeb7d3e02df',
669669

670670
'src/flutter/third_party/cpu_features/src':
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Copyright 2013 The Flutter 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.
4+
5+
group("zlib") {
6+
public_deps = [ "//flutter/third_party/zlib" ]
7+
8+
# Add the third_party root directory to the include path to support Dart
9+
# sources that include zlib headers using "zlib/zlib.h"
10+
public_configs = [ ":include_third_party" ]
11+
}
12+
13+
config("zlib_config") {
14+
configs = [ "//flutter/third_party/zlib:zlib_config" ]
15+
}
16+
17+
config("include_third_party") {
18+
include_dirs = [ "//flutter/third_party" ]
19+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Copyright 2013 The Flutter 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.
4+
5+
config("compression_utils_config") {
6+
include_dirs = [ "//flutter/third_party/zlib/google" ]
7+
}
8+
9+
group("compression_utils_portable") {
10+
public_deps = [ "//flutter/third_party/zlib/google:compression_utils_portable" ]
11+
public_configs = [ ":compression_utils_config" ]
12+
}

0 commit comments

Comments
 (0)