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

build: android support #2

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -1,12 +1,5 @@
VPATH=%VPATH%

CC ?= gcc
CXX ?= g++
CXXFLAGS ?=
AR ?= ar
RUSTC ?= rustc
RUSTFLAGS ?=

RUST_SRC=$(shell find $(VPATH)/. -type f -name '*.rs')

.PHONY: all
@@ -1,5 +1,4 @@
#!/bin/bash

SRCDIR="$(cd $(dirname $0) && pwd)"
sed "s#%VPATH%#${SRCDIR}#" ${SRCDIR}/Makefile.in > Makefile

sed -e "s#%VPATH%#${SRCDIR}#" ${SRCDIR}/Makefile.in > Makefile
4 ll.rs
@@ -34,6 +34,10 @@ pub extern mod linking { }
#[link_args="-L../libhubbub -lhubbub -L../libparserutils -lparserutils"]
pub extern mod linking { }

#[cfg(target_os = "android")]
#[nolink]
#[link_args="-L../libhubbub -lhubbub -L../libparserutils -lparserutils"]

#[nolink]
pub extern mod error {
pub fn hubbub_error_to_string(error: Error) -> *u8;
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.