Skip to content

Commit f1e2b43

Browse files
authored
Use the product list when gathering headers (#1087)
* Use the product list when gathering headers * Update readme.md * Update readme.md
1 parent eefb863 commit f1e2b43

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

build_scripts/other/package.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ fi
1717

1818
origpath=$( pwd -P )
1919

20+
. "${sdkpath}/build_scripts/packaging.conf"
21+
2022
mkdir -p "${packagepath}"
2123
cd "${packagepath}"
2224
destpath=$( pwd -P )
@@ -29,8 +31,8 @@ cd "${origpath}"
2931
# Copy headers to packaged SDK.
3032
mkdir -p "${destpath}/include"
3133
cd "${sdkpath}"
32-
for incdir in */src/include; do
33-
cp -af "${incdir}" "${destpath}/"
34+
for product in ${product_list[*]}; do
35+
cp -af "${product}/src/include" "${destpath}/"
3436
done
3537
cd "${origpath}"
3638

release_build_files/readme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,11 @@ workflow use only during the development of your app, not for publicly shipping
634634
code.
635635

636636
## Release Notes
637+
### Upcoming Release
638+
- Changes
639+
- General: Remove unused headers for performance and test lab from the
640+
package.
641+
637642
### 9.6.0
638643
- Changes
639644
- General (Android): Update to Firebase Android BoM version 30.5.0.

0 commit comments

Comments
 (0)