зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1403213 - Move nsstring into servo/support/gecko/nsstring, r=froydnj
MozReview-Commit-ID: 8ucStGkxmj7 --HG-- rename : xpcom/rust/nsstring/gtest/Test.cpp => xpcom/rust/gtest/nsstring/Test.cpp rename : xpcom/rust/nsstring/gtest/test.rs => xpcom/rust/gtest/nsstring/test.rs extra : rebase_source : 509a2ab1aa569e8f3ef0955dcdfa36b53ce5e234
This commit is contained in:
Родитель
22cddb8e9c
Коммит
1b1ba4879a
|
@ -12,5 +12,5 @@ parallel-utf8 = ["encoding_rs/parallel-utf8"]
|
|||
|
||||
[dependencies]
|
||||
encoding_rs = "0.7.0"
|
||||
nsstring = { path = "../../xpcom/rust/nsstring" }
|
||||
nsstring = { path = "../../servo/support/gecko/nsstring" }
|
||||
nserror = { path = "../../xpcom/rust/nserror" }
|
||||
|
|
|
@ -9,5 +9,5 @@ name = "rust_url_capi"
|
|||
[dependencies]
|
||||
libc = "0.2.0"
|
||||
url = "1.5.1"
|
||||
nsstring = { path = "../../../xpcom/rust/nsstring" }
|
||||
nsstring = { path = "../../../servo/support/gecko/nsstring" }
|
||||
nserror = { path = "../../../xpcom/rust/nserror" }
|
||||
|
|
|
@ -555,7 +555,7 @@ dependencies = [
|
|||
"libc 0.2.24 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"log 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"malloc_size_of 0.0.1",
|
||||
"nsstring_vendor 0.1.0",
|
||||
"nsstring 0.1.0",
|
||||
"parking_lot 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"selectors 0.19.0",
|
||||
"servo_arc 0.0.1",
|
||||
|
@ -908,13 +908,6 @@ dependencies = [
|
|||
"nsstring 0.1.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nsstring_vendor"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"bitflags 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "num-integer"
|
||||
version = "0.1.33"
|
||||
|
@ -1302,7 +1295,7 @@ dependencies = [
|
|||
"malloc_size_of 0.0.1",
|
||||
"malloc_size_of_derive 0.0.1",
|
||||
"matches 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"nsstring_vendor 0.1.0",
|
||||
"nsstring 0.1.0",
|
||||
"num-integer 0.1.33 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"num-traits 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"num_cpus 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
|
|
@ -17,7 +17,7 @@ no-static-ideograph-encoder-tables = ["gkrust-shared/no-static-ideograph-encoder
|
|||
|
||||
[dependencies]
|
||||
mp4parse-gtest = { path = "../../../../dom/media/gtest" }
|
||||
nsstring-gtest = { path = "../../../../xpcom/rust/nsstring/gtest" }
|
||||
nsstring-gtest = { path = "../../../../xpcom/rust/gtest/nsstring" }
|
||||
gkrust-shared = { path = "../../rust/shared" }
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -554,7 +554,7 @@ dependencies = [
|
|||
"libc 0.2.24 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"log 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"malloc_size_of 0.0.1",
|
||||
"nsstring_vendor 0.1.0",
|
||||
"nsstring 0.1.0",
|
||||
"parking_lot 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"selectors 0.19.0",
|
||||
"servo_arc 0.0.1",
|
||||
|
@ -896,13 +896,6 @@ dependencies = [
|
|||
"bitflags 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nsstring_vendor"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"bitflags 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "num-integer"
|
||||
version = "0.1.33"
|
||||
|
@ -1294,7 +1287,7 @@ dependencies = [
|
|||
"malloc_size_of 0.0.1",
|
||||
"malloc_size_of_derive 0.0.1",
|
||||
"matches 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"nsstring_vendor 0.1.0",
|
||||
"nsstring 0.1.0",
|
||||
"num-integer 0.1.33 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"num-traits 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"num_cpus 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
|
|
@ -8,7 +8,7 @@ description = "Shared Rust code for libxul"
|
|||
[dependencies]
|
||||
geckoservo = { path = "../../../../servo/ports/geckolib", optional = true }
|
||||
mp4parse_capi = { path = "../../../../media/libstagefright/binding/mp4parse_capi" }
|
||||
nsstring = { path = "../../../../xpcom/rust/nsstring" }
|
||||
nsstring = { path = "../../../../servo/support/gecko/nsstring" }
|
||||
nserror = { path = "../../../../xpcom/rust/nserror" }
|
||||
netwerk_helper = { path = "../../../../netwerk/base/rust-helper" }
|
||||
rust_url_capi = { path = "../../../../netwerk/base/rust-url-capi" }
|
||||
|
@ -33,7 +33,7 @@ servo = ["geckoservo"]
|
|||
quantum_render = ["webrender_bindings"]
|
||||
cubeb-remoting = ["cubeb-core", "cubeb", "cubeb-backend", "audioipc-client", "audioipc-server"]
|
||||
cubeb_pulse_rust = ["cubeb-pulse"]
|
||||
gecko_debug = ["geckoservo/gecko_debug"]
|
||||
gecko_debug = ["geckoservo/gecko_debug", "nsstring/gecko_debug"]
|
||||
simd-accel = ["encoding_c/simd-accel", "encoding_glue/simd-accel"]
|
||||
no-static-ideograph-encoder-tables = ["encoding_c/no-static-ideograph-encoder-tables", "encoding_glue/no-static-ideograph-encoder-tables"]
|
||||
|
||||
|
|
|
@ -30,8 +30,8 @@ if CONFIG['OS_ARCH'] == 'WINNT' and CONFIG['MOZ_DEBUG']:
|
|||
DIRS += ['windbgdlg']
|
||||
|
||||
TEST_DIRS += [
|
||||
'rust/gtest',
|
||||
'tests',
|
||||
'rust/nsstring/gtest',
|
||||
]
|
||||
|
||||
# Can't build internal xptcall tests that use symbols which are not exported.
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
'Test.cpp'
|
||||
'nsstring/Test.cpp',
|
||||
]
|
||||
|
||||
FINAL_LIBRARY = 'xul-gtest'
|
|
@ -6,7 +6,7 @@ license = "MPL-2.0"
|
|||
description = "Tests for rust bindings to xpcom string types"
|
||||
|
||||
[dependencies]
|
||||
nsstring = { path = "../" }
|
||||
nsstring = { path = "../../../../servo/support/gecko/nsstring" }
|
||||
|
||||
[lib]
|
||||
path = "test.rs"
|
|
@ -6,4 +6,4 @@ license = "MPL-2.0"
|
|||
description = "Rust bindings to xpcom nsresult and NS_ERROR_ values"
|
||||
|
||||
[dependencies]
|
||||
nsstring = { path = "../nsstring" }
|
||||
nsstring = { path = "../../../servo/support/gecko/nsstring" }
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
[package]
|
||||
name = "nsstring"
|
||||
version = "0.1.0"
|
||||
authors = ["nobody@mozilla.com"]
|
||||
license = "MPL-2.0"
|
||||
description = "Rust bindings to xpcom string types"
|
||||
|
||||
[dependencies]
|
||||
bitflags = "0.8"
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче