File tree Expand file tree Collapse file tree 11 files changed +158
-0
lines changed
Expand file tree Collapse file tree 11 files changed +158
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # Copyright 2026 The Amber Authors.
3+ #
4+ # Licensed under the Apache License, Version 2.0 (the "License");
5+ # you may not use this file except in compliance with the License.
6+ # You may obtain a copy of the License at
7+ #
8+ # http://www.apache.org/licenses/LICENSE-2.0
9+ #
10+ # Unless required by applicable law or agreed to in writing, software
11+ # distributed under the License is distributed on an "AS IS" BASIS,
12+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ # See the License for the specific language governing permissions and
14+ # limitations under the License.
15+
16+ # Fail on any error.
17+ set -e
18+
19+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
20+
21+ exec $SCRIPT_DIR /../build.sh arm64-v8a
Original file line number Diff line number Diff line change 1+ # Copyright 2026 The Amber Authors.
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ build_file: " amber/kokoro/ndk-build/arm64-v8a/build.sh"
Original file line number Diff line number Diff line change 1+ # Copyright 2026 The Amber Authors.
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ build_file: " amber/kokoro/ndk-build/arm64-v8a/build.sh"
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # Copyright 2026 The Amber Authors.
3+ #
4+ # Licensed under the Apache License, Version 2.0 (the "License");
5+ # you may not use this file except in compliance with the License.
6+ # You may obtain a copy of the License at
7+ #
8+ # http://www.apache.org/licenses/LICENSE-2.0
9+ #
10+ # Unless required by applicable law or agreed to in writing, software
11+ # distributed under the License is distributed on an "AS IS" BASIS,
12+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ # See the License for the specific language governing permissions and
14+ # limitations under the License.
15+
16+ # Fail on any error.
17+ set -e
18+
19+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
20+
21+ exec $SCRIPT_DIR /../build.sh armeabi-v7a
Original file line number Diff line number Diff line change 1+ # Copyright 2026 The Amber Authors.
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ build_file: " amber/kokoro/ndk-build/armeabi-v7a/build.sh"
Original file line number Diff line number Diff line change 1+ # Copyright 2026 The Amber Authors.
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ build_file: " amber/kokoro/ndk-build/armeabi-v7a/build.sh"
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ echo "$(date): Starting ndk-build for android_test ..."
4747 NDK_PROJECT_PATH=. \
4848 " NDK_LIBS_OUT=$( pwd) /libs" \
4949 " NDK_APP_OUT=$( pwd) /app" \
50+ " APP_ABI=$ANDROID_ABI " \
5051 -j8
5152
5253echo " $( date) : ndk-build for android_test completed."
@@ -57,5 +58,6 @@ echo "$(date): Starting ndk-build for samples ..."
5758 NDK_PROJECT_PATH=. \
5859 " NDK_LIBS_OUT=$( pwd) /libs" \
5960 " NDK_APP_OUT=$( pwd) /app" \
61+ " APP_ABI=$ANDROID_ABI " \
6062 -j8
6163echo " $( date) : ndk-build for samples completed."
Original file line number Diff line number Diff line change 1616# Fail on any error.
1717set -e
1818
19+ ANDROID_ABI=${1:- arm64-v8a}
20+
1921SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
2022ROOT_DIR=" $( cd " ${SCRIPT_DIR} /../.." > /dev/null 2>&1 && pwd ) "
2123
@@ -34,6 +36,7 @@ docker run --rm -i \
3436 --env ROOT_DIR=${ROOT_DIR} \
3537 --env KOKORO_ARTIFACTS_DIR=" ${KOKORO_ARTIFACTS_DIR} " \
3638 --env BUILD_SHA=" ${BUILD_SHA} " \
39+ --env ANDROID_ABI=" ${ANDROID_ABI} " \
3740 --entrypoint " ${SCRIPT_DIR} /build-docker.sh" \
3841 us-east4-docker.pkg.dev/shaderc-build/radial-docker/ubuntu-24.04-amd64/cpp-builder
3942RESULT=$?
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # Copyright 2026 The Amber Authors.
3+ #
4+ # Licensed under the Apache License, Version 2.0 (the "License");
5+ # you may not use this file except in compliance with the License.
6+ # You may obtain a copy of the License at
7+ #
8+ # http://www.apache.org/licenses/LICENSE-2.0
9+ #
10+ # Unless required by applicable law or agreed to in writing, software
11+ # distributed under the License is distributed on an "AS IS" BASIS,
12+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ # See the License for the specific language governing permissions and
14+ # limitations under the License.
15+
16+ # Fail on any error.
17+ set -e
18+
19+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
20+
21+ exec $SCRIPT_DIR /../build.sh x86_64
Original file line number Diff line number Diff line change 1+ # Copyright 2026 The Amber Authors.
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ build_file: " amber/kokoro/ndk-build/x86_64/build.sh"
You can’t perform that action at this time.
0 commit comments