Skip to content
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

Add android toolchain to GN build system #2241

Merged
merged 1 commit into from
Aug 19, 2020

Conversation

randyrossi
Copy link
Contributor

@randyrossi randyrossi commented Aug 19, 2020

Problem

Android toolchain needed for GN build

Summary of Changes

Adding an android toolchain for arm and x86_64 target
cpus. Subsequent CLs may add target arch to select
armv6, armv7, arm64 and x86 targets if required.

Added a check to only attempt to run tests when
current_os == host_os, otherwise cross compiled tests
attempt to execute on the wrong architecture and fail.

Need to temporarily omit lib/messages from android build
due to RNG dependency on openssl.

fixes #2242

Adding an android toolchain for arm and x86_64 target
cpus.  Subsequent CLs may add target arch to select
armv6, armv7, arm64 and x86 targets if required.

Added a check to only attempt to run tests when
current_os == host_os, otherwise cross compiled tests
attempt to execute on the wrong architecture and fail.

Need to temporarily omit lib/messages from android build
due to RNG dependency on openssl.
@github-actions
Copy link

Size increase report for "gn_nrf-example-build"

File Section File VM
Full report output
BLOAT REPORT

Files found only in the build output:
    report.csv


@github-actions
Copy link

Size increase report for "gn_linux-example-build"

File Section File VM
Full report output
BLOAT REPORT

Files found only in the build output:
    report.csv


@github-actions
Copy link

Size increase report for "nrf-example-build"

File Section File VM
Full report output
BLOAT REPORT

Files found only in the build output:
    report.csv

Comparing ./master_artifact/chip-nrf52840-lock-example.out and ./pull_artifact/chip-nrf52840-lock-example.out:

sections,vmsize,filesize


@github-actions
Copy link

Size increase report for "nrfconnect-example-build"

File Section File VM
Full report output
BLOAT REPORT

Files found only in the build output:
    report.csv

Comparing ./master_artifact/chip-nrf52840-lock-example.elf and ./pull_artifact/chip-nrf52840-lock-example.elf:

sections,vmsize,filesize


@github-actions
Copy link

Size increase report for "linux-example-build"

File Section File VM
Full report output
BLOAT REPORT

Files found only in the build output:
    report.csv

Comparing ./master_artifact/chip-standalone-demo.out and ./pull_artifact/chip-standalone-demo.out:

sections,vmsize,filesize


@github-actions
Copy link

Size increase report for "esp32-example-build"

File Section File VM
Full report output
BLOAT REPORT

Files found only in the build output:
    report.csv

Comparing ./master_artifact/chip-wifi-echo.elf and ./pull_artifact/chip-wifi-echo.elf:

sections,vmsize,filesize


BUILD.gn Show resolved Hide resolved
@woody-apple woody-apple merged commit 90988b6 into project-chip:master Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GN build parity : android
5 participants