gecko-dev/servo/ports/gonk/build.rs
Ms2ger 07a6ecf941 servo: Merge #5453 - Remove an unused import (from Ms2ger:unused-import); r=glennw
I accidentally left it in after removing the calls to stdout/stderr in
d926b8342b492cfa442a72b4d4da01e7e23d9cba.

Source-Repo: https://github.com/servo/servo
Source-Revision: 5ead929fea34ca6d05d6bc4f0a07eeab4dfae207
2015-03-30 09:46:07 -06:00

17 lines
514 B
Rust

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use std::env;
use std::process::Command;
fn main() {
let out_dir = env::var("OUT_DIR").unwrap();
let result = Command::new("make")
.args(&["-f", "makefile.cargo"])
.status()
.unwrap();
assert!(result.success());
println!("cargo:rustc-flags=-L native={}", out_dir);
}