Skip to content

Add Emscripten-wasm32 target #268

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 112 commits into from
Apr 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
4324cf0
Add changes required for emscripten-wasm32 target
Tobias-Fischer Jan 12, 2025
0b2e99e
Fixup vinca branch
Tobias-Fischer Jan 14, 2025
e70d650
Update yamls with CEP0014
nmarticorena Jan 15, 2025
e787543
Add emscripten enviroment
nmarticorena Jan 15, 2025
76502a0
fix deprecated depends_on for depends-on
nmarticorena Jan 15, 2025
9869851
Update yamls
nmarticorena Jan 16, 2025
6f76936
Change chanels priority and use local vinca version
nmarticorena Jan 16, 2025
ebd12b3
Add emscripten-forge channel
nmarticorena Jan 17, 2025
d86532c
Some fixes for new emscripten
Tobias-Fischer Jan 17, 2025
fb960f9
Update patch
Tobias-Fischer Jan 17, 2025
a65d7ed
gmock fix
Tobias-Fischer Jan 17, 2025
02d6c8d
Some more packages
Tobias-Fischer Jan 17, 2025
a462988
Fix build of additional recipes
Tobias-Fischer Jan 18, 2025
ba0e48c
Sync spdlog version
Tobias-Fischer Jan 18, 2025
c316da8
Dirty hack to find correct Python_NumPy_INCLUDE_DIRS
Tobias-Fischer Jan 18, 2025
93e4311
We need custom osx-arm64 ros-humble for the generators
Tobias-Fischer Jan 18, 2025
b06e735
Add missing run dep
Tobias-Fischer Jan 18, 2025
d6ac51f
Remove outdated comment
Tobias-Fischer Jan 18, 2025
4a508ad
Successfully built all packages
Tobias-Fischer Jan 19, 2025
366994a
Cleanup
Tobias-Fischer Jan 20, 2025
e6323c7
Add required patches
Tobias-Fischer Jan 20, 2025
6465b62
Add missing build.sh
Tobias-Fischer Jan 28, 2025
2a5d879
add gha for emscripten-wasm32 target
nmarticorena Jan 28, 2025
d21bc95
Merge branch 'main' into emscripten
nmarticorena Jan 28, 2025
2ea93e4
fix typo with pixi version
nmarticorena Jan 28, 2025
0bd00b7
Add missing build.sh
Tobias-Fischer Jan 28, 2025
777bed8
Add emscripten build on gha
nmarticorena Jan 29, 2025
77784ae
Attempt to build emscripten skipping tests
nmarticorena Jan 30, 2025
eb2950d
Remove skip existing because we are not using that channel
nmarticorena Jan 30, 2025
671cedf
remove my channel and use changes now available on emscripten-forge
nmarticorena Feb 5, 2025
65d83b8
Nasty trick to pin down the latest build of the cross-python_emscript…
nmarticorena Feb 5, 2025
5baabc4
Remove personal channel
nmarticorena Feb 5, 2025
8bcc223
Needed to re add personal channel, but after I fully cleaned, this is…
nmarticorena Feb 5, 2025
48f52dd
attempt to build osrf-testing-tools-cpp
nmarticorena Feb 7, 2025
592da0a
Change version of rmw to use extra fixes from mbatc
nmarticorena Feb 20, 2025
86fe7b8
full rebuild
nmarticorena Feb 20, 2025
4660cc5
Add mbatc changes as a patch file
nmarticorena Feb 21, 2025
4df36d9
Fix aarch64
Tobias-Fischer Feb 23, 2025
e44bea3
add roslibJS wasm public
nmarticorena Feb 23, 2025
f62d4b6
Remove fastrtps from emscripten
Tobias-Fischer Feb 24, 2025
19460ba
Try fix: Failed to load dynlib /lib/libmemory_tools.so Error: WebAsse…
Tobias-Fischer Feb 24, 2025
b58fbb2
Remove unneeded part of patch
Tobias-Fischer Feb 24, 2025
64353f4
Use Tobi's fork of rmw_wasm
Tobias-Fischer Feb 24, 2025
22d6a30
Rebuild with -pthread in vinca
Tobias-Fischer Feb 25, 2025
e1de673
Use emscripten-async-fixes
Tobias-Fischer Feb 25, 2025
b6514be
Update build.sh
Tobias-Fischer Feb 25, 2025
cd19d28
Update build.sh
Tobias-Fischer Feb 25, 2025
ee91b42
Delete additional_recipes/ros-humble-wasm-cpp/fix-build.patch
Tobias-Fischer Feb 25, 2025
fcc98fb
Delete additional_recipes/ros-humble-rmw-wasm-cpp/fix-build.patch
Tobias-Fischer Feb 25, 2025
4552557
Update build.sh
Tobias-Fischer Feb 25, 2025
f0ea61e
Update build.sh
Tobias-Fischer Feb 25, 2025
a3810f0
[ci skip] -mbulk-memory -matomics
Tobias-Fischer Feb 25, 2025
f9cae19
-mbulk-memory -matomics
Tobias-Fischer Feb 25, 2025
9064495
[skip ci] go back to working version
Tobias-Fischer Feb 25, 2025
cb0b830
Go back to working version
Tobias-Fischer Feb 25, 2025
e720753
--batch_size 1 for test
Tobias-Fischer Feb 25, 2025
c134620
Trigger
Tobias-Fischer Feb 25, 2025
2107f6e
Update ros-humble-rclpy.patch
Tobias-Fischer Feb 26, 2025
c732873
Test fix duplicate Python
Tobias-Fischer Feb 26, 2025
f5ee8a5
Update ros-humble-rclpy.patch
Tobias-Fischer Feb 27, 2025
a93324b
Update ros-humble-rclpy.patch
Tobias-Fischer Feb 27, 2025
37a0fd7
Test - seems to work locally
Tobias-Fischer Feb 27, 2025
4d600e5
Remove NO_EXTRAS
nmarticorena Feb 28, 2025
64de39e
Recover NO_EXTRAS to try just with assert 2
nmarticorena Feb 28, 2025
494fb36
Bump version, running with assertions=1
nmarticorena Mar 2, 2025
f7da24e
Bump version, running with demangle support=1
nmarticorena Mar 2, 2025
4185bd7
Bump version, increase stack size by 10
nmarticorena Mar 3, 2025
8ba60bc
Bump version
nmarticorena Mar 3, 2025
a5b4e8e
Static linking changes by Tobi; also bump versions to 12
nmarticorena Mar 7, 2025
9b55112
Update fix-build.patch
Tobias-Fischer Mar 8, 2025
a28e279
Update build.sh
Tobias-Fischer Mar 8, 2025
4fe23af
Update build.sh
Tobias-Fischer Mar 8, 2025
4a1d47b
Update build.sh
Tobias-Fischer Mar 8, 2025
19b5ae9
Merge main
Tobias-Fischer Mar 8, 2025
740c112
Start reducing diff to main branch
Tobias-Fischer Mar 8, 2025
2af19ee
Remove outdated files
Tobias-Fischer Mar 8, 2025
ba9470a
Add additional run reqs
Tobias-Fischer Mar 11, 2025
fc20a37
Simplify dependencies
Tobias-Fischer Mar 11, 2025
b0adeb1
Remove unnecessary/unused patches
nmarticorena Mar 12, 2025
62f1a91
Clean up dynmsg
nmarticorena Mar 12, 2025
b78b6f0
remove emscripten env and replaced it by build-emscripten task
nmarticorena Mar 12, 2025
3ba9ee2
Clean the workflows to match as close the original
nmarticorena Mar 12, 2025
5b0d9cf
missing task
nmarticorena Mar 12, 2025
fbd6840
Remove personal channel used for testing
nmarticorena Mar 12, 2025
17606cb
remove duplicated vinca
nmarticorena Mar 12, 2025
fba1e07
Fixup spdlog version
Tobias-Fischer Mar 12, 2025
9fcd7be
Fixup dynmsg version to match upstream, use specific commit
Tobias-Fischer Mar 12, 2025
d643861
Remove deprecated emscripten env
Tobias-Fischer Mar 12, 2025
397fdf7
rename dynmsg->ros-humble-dynmsg
Tobias-Fischer Mar 12, 2025
805cc34
Remove auto-generated message
Tobias-Fischer Mar 12, 2025
820aa9a
fix issue where --target was deleted
nmarticorena Mar 13, 2025
2398c77
Rename ros-humble-examples-rclcpp-minimal-publisher.patch to ros-humb…
Tobias-Fischer Mar 13, 2025
df250cd
Rename ros-humble-examples-rclcpp-minimal-subscriber.patch to ros-hum…
Tobias-Fischer Mar 13, 2025
b7d762f
Rename ros-humble-rclcpp-components.patch to ros-humble-rclcpp-compon…
Tobias-Fischer Mar 13, 2025
00da082
Rename ros-humble-rclpy.patch to ros-humble-rclpy.emscripten.patch
Tobias-Fischer Mar 13, 2025
6f22d14
Update fix-build.patch
Tobias-Fischer Mar 13, 2025
cb9f5b3
Fix malformed patch
nmarticorena Mar 13, 2025
c1010a8
All libs are needed
Tobias-Fischer Mar 13, 2025
0501eef
Fix closing )
nmarticorena Mar 13, 2025
2051609
New vinca with emscripten support
Tobias-Fischer Mar 13, 2025
e64b276
Fix up
Tobias-Fischer Mar 13, 2025
1388783
Update main.yml
Tobias-Fischer Mar 13, 2025
20ad6f1
Do not specify pixi version
Tobias-Fischer Mar 13, 2025
be87da9
Fix dynmsg version
Tobias-Fischer Mar 13, 2025
d68926e
Fix version, only build for emscripten
Tobias-Fischer Mar 13, 2025
977fed3
Only build for wasm
Tobias-Fischer Mar 13, 2025
3d7af61
Only build for wasm
Tobias-Fischer Mar 13, 2025
d42616e
Only build for wasm
Tobias-Fischer Mar 13, 2025
c169c03
Update patch to rclpy 3.3.16
nmarticorena Apr 9, 2025
63e6fcf
Fixup rmw_wasm rev
Tobias-Fischer Apr 29, 2025
4023d6c
Merge branch 'main' into emscripten
nmarticorena Apr 30, 2025
af85086
fixup ros-humble-wasm-cpp
nmarticorena Apr 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 28 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
- name: Install vinca
run: |
pip install git+https://github.com/RoboStack/vinca.git

- name: Generate recipes for linux-64
run: |
git clean -fdx
Expand Down Expand Up @@ -148,6 +147,34 @@ jobs:
env:
INPUT_GITHUB_TOKEN: ${{ secrets.GHA_PAT }}

# Build emscripten-wasm32
- name: Reset repo
run: |
git reset --hard origin/main
- name: Generate recipes for emscripten-wasm32
run: |
git clean -fdx
cp vinca_emscripten32.yaml vinca.yaml
vinca --multiple --platform emscripten-wasm32
sh -c 'find additional_recipes/* -maxdepth 0 -type d -exec ln -s ../{} recipes/ \;'

- name: Generate azure pipelines for emscripten-wasm32
run: |
vinca-gha --platform emscripten-wasm32 --trigger-branch buildbranch_emscripten -d ./recipes --additional-recipes --batch_size 1
- name: Commit files for emscripten-wasm32
run: |
if [[ -f "emscripten_wasm32.yml" ]]; then
mv emscripten_wasm32.yml .github/workflows/
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add . -f
git commit -m "Add build files `date '+%Y-%m-%d-%H%M'`" -a
remote_repo="https://${GITHUB_ACTOR}:${INPUT_GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
git push "${remote_repo}" HEAD:buildbranch_emscripten --follow-tags --force
fi
env:
INPUT_GITHUB_TOKEN: ${{ secrets.GHA_PAT }}

on:
push:
branches:
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/testpr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
platform: osx-arm64
- os: windows-2019
platform: win-64
- os: ubuntu-latest
platform: emscripten-wasm32

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -54,6 +56,25 @@ jobs:
rm -rf /c/Strawberry
rm -rf "/c/Program Files (x86)/Windows Kits/10/Include/10.0.17763.0/"

- name: Check what files have changed
id: filecheck
shell: bash -l {0}
run: |
git fetch origin main
# continue on error
set +e
git diff --exit-code --name-only origin/main -- vinca_linux_64.yaml > /dev/null
echo "::set-output name=LINUX_YAML_CHANGED::${?}"
git diff --exit-code --name-only origin/main -- vinca_emscripten32.yaml > /dev/null
echo "::set-output name=EMSCRIPTEN32_YAML_CHANGED::${?}"
git diff --exit-code --name-only origin/main -- vinca_linux_aarch64.yaml > /dev/null
echo "::set-output name=LINUX_AARCH_YAML_CHANGED::${?}"
git diff --exit-code --name-only origin/main -- vinca_osx.yaml > /dev/null
echo "::set-output name=OSX_YAML_CHANGED::${?}"
git diff --exit-code --name-only origin/main -- vinca_osx_arm64.yaml > /dev/null
echo "::set-output name=OSX_ARM_YAML_CHANGED::${?}"
git diff --exit-code --name-only origin/main -- vinca_win.yaml > /dev/null
echo "::set-output name=WIN_YAML_CHANGED::${?}"
- name: Generate recipes for linux-64
shell: bash -l {0}
if: matrix.platform == 'linux-64'
Expand All @@ -62,6 +83,14 @@ jobs:
mkdir -p recipes
$HOME/.pixi/bin/pixi run -e beta -v vinca --platform linux-64 -m
ls -la recipes
- name: Generate recipes for emscripten-wasm32
shell: bash -l {0}
if: steps.filecheck.outputs.EMSCRIPTEN32_YAML_CHANGED == 1 && matrix.platform == 'emscripten-wasm32'
run: |
cp vinca_emscripten32.yaml vinca.yaml
mkdir -p recipes
$HOME/.pixi/bin/pixi run -e beta -v vinca --platform emscripten-wasm32 -m -n
ls -la recipes
- name: Generate recipes for linux-aarch64
shell: bash -l {0}
if: matrix.platform == 'linux-aarch64'
Expand Down Expand Up @@ -113,6 +142,12 @@ jobs:
run: |
env -i $HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir additional_recipes --target-platform linux-64 -m ./conda_build_config.yaml -c robostack-staging -c conda-forge --skip-existing
env -i $HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir recipes --target-platform linux-64 -m ./conda_build_config.yaml -c robostack-staging -c conda-forge --skip-existing
- name: Build recipes for emscripten-wasm32
shell: bash -l {0}
if: steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && steps.filecheck.outputs.EMSCRIPTEN32_YAML_CHANGED == 1 && matrix.platform == 'emscripten-wasm32'
run: |
env -i $HOME/.pixi/bin/pixi run -e beta sh -c 'find additional_recipes/* -maxdepth 0 -type d -exec ln -s ../{} recipes/ \;'
env -i $HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir ./recipes --target-platform emscripten-wasm32 -m ./conda_build_config.yaml -c https://repo.mamba.pm/emscripten-forge/ -c robostack-staging -c conda-forge --skip-existing --test skip
- name: Build recipes for linux-aarch64
shell: bash -l {0}
if: steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && matrix.platform == 'linux-aarch64'
Expand Down
11 changes: 9 additions & 2 deletions .scripts/build_unix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,15 @@ if [[ "$target" == *"osx"* ]]; then
export PATH=$(echo $PATH | tr ":" "\n" | grep -v 'homebrew' | xargs | tr ' ' ':')
fi

extra_channel=""
cross_compile=""
if [[ "$target" == "emscripten-wasm32" ]]; then
extra_channel="-c https://repo.mamba.pm/emscripten-forge"
cross_compile="--target-platform emscripten-wasm32 --test skip"

else
extra_channel=""
cross_compile=""
fi


for recipe in ${CURRENT_RECIPES[@]}; do
pixi run -v rattler-build build \
Expand Down
202 changes: 202 additions & 0 deletions additional_recipes/ros-humble-dynmsg/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,202 @@

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Loading
Loading