mirror of
https://github.com/servo/servo.git
synced 2025-07-19 05:13:55 +01:00
add start of embedding crate: build system with CEF types
This commit is contained in:
parent
c43f8c9ced
commit
abe5d2e0ab
5 changed files with 1961 additions and 2 deletions
50
src/components/embedding/embedding.rs
Normal file
50
src/components/embedding/embedding.rs
Normal file
|
@ -0,0 +1,50 @@
|
|||
/* 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/. */
|
||||
|
||||
#![crate_id = "github.com/mozilla/servo#embedding:0.1"]
|
||||
#![crate_type = "lib"]
|
||||
|
||||
#![feature(globs, macro_rules, phase, thread_local)]
|
||||
|
||||
#![feature(phase)]
|
||||
#[phase(syntax, link)]
|
||||
extern crate log;
|
||||
|
||||
extern crate rustuv;
|
||||
|
||||
extern crate servo_macros = "macros";
|
||||
extern crate servo;
|
||||
|
||||
extern crate alert;
|
||||
extern crate azure;
|
||||
extern crate geom;
|
||||
extern crate gfx;
|
||||
#[cfg(not(target_os="android"))]
|
||||
extern crate glfw;
|
||||
#[cfg(target_os="android")]
|
||||
extern crate glut;
|
||||
extern crate js;
|
||||
extern crate layers;
|
||||
extern crate opengles;
|
||||
extern crate png;
|
||||
extern crate script;
|
||||
|
||||
extern crate servo_net = "net";
|
||||
extern crate servo_msg = "msg";
|
||||
extern crate servo_util = "util";
|
||||
extern crate style;
|
||||
extern crate sharegl;
|
||||
extern crate stb_image;
|
||||
|
||||
extern crate green;
|
||||
extern crate native;
|
||||
extern crate libc;
|
||||
extern crate std_url = "url";
|
||||
|
||||
#[cfg(target_os="macos")]
|
||||
extern crate core_graphics;
|
||||
#[cfg(target_os="macos")]
|
||||
extern crate core_text;
|
||||
|
||||
pub mod types;
|
Loading…
Add table
Add a link
Reference in a new issue