Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(776)

Unified Diff: mojo/common/BUILD.gn

Issue 975083002: mojo/common: Decouple GURL dependency (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/common/BUILD.gn
diff --git a/mojo/common/BUILD.gn b/mojo/common/BUILD.gn
index ad01c318bb875d2428d6508c7cf2c4c4dd622fd4..0338198cdbbeb631a22955deed790de9b1e0f997 100644
--- a/mojo/common/BUILD.gn
+++ b/mojo/common/BUILD.gn
@@ -4,8 +4,15 @@
import("//testing/test.gni")
+group("common") {
+ deps = [
+ ":common_base",
+ ":url_type_converters",
+ ]
+}
+
# GYP version: mojo/mojo_base.gyp:mojo_common_lib
-component("common") {
+component("common_base") {
output_name = "mojo_common_lib"
sources = [
@@ -28,6 +35,19 @@ component("common") {
"//base",
"//base/third_party/dynamic_annotations",
"//third_party/mojo/src/mojo/public/c/system:for_component",
+ ]
+}
+
+static_library("url_type_converters") {
jamesr 2015/03/04 04:14:44 source_set static_library is extremely rarely wha
Hajime Morrita 2015/03/05 18:29:41 Done.
+ sources = [
+ "url_type_converters.cc",
+ "url_type_converters.h",
+ ]
+
+ deps = [
+ "//base",
+ "//base/third_party/dynamic_annotations",
+ "//third_party/mojo/src/mojo/public/c/system:for_component",
jamesr 2015/03/04 04:14:44 this is not a component so this is the wrong targe
Hajime Morrita 2015/03/05 18:29:41 Done.
"//url",
]
}
@@ -44,7 +64,6 @@ test("mojo_common_unittests") {
"//third_party/mojo/src/mojo/edk/test:test_support",
"//third_party/mojo/src/mojo/public/cpp/bindings",
"//third_party/mojo/src/mojo/public/cpp/test_support:test_utils",
- "//url",
jamesr 2015/03/04 04:14:44 the test still appears to test url conversions - w
Hajime Morrita 2015/03/05 18:29:41 Got it back and gn check passes now.
]
sources = [

Powered by Google App Engine
This is Rietveld 408576698