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

Unified Diff: components/mime_util/BUILD.gn

Issue 1110833003: Move the IsSupported* mime functions out of //net and into //components/mime_util (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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: components/mime_util/BUILD.gn
diff --git a/components/device_event_log/BUILD.gn b/components/mime_util/BUILD.gn
similarity index 60%
copy from components/device_event_log/BUILD.gn
copy to components/mime_util/BUILD.gn
index 0b1103b2f1e4da51721820f61287ce17a7acd4e3..096db1acbfaf494fcb8426c3a74e68a4ad6d575b 100644
--- a/components/device_event_log/BUILD.gn
+++ b/components/mime_util/BUILD.gn
@@ -2,12 +2,10 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-source_set("device_event_log") {
+static_library("mime_util") {
sources = [
- "device_event_log.cc",
- "device_event_log.h",
- "device_event_log_impl.cc",
- "device_event_log_impl.h",
+ "mime_util.cc",
+ "mime_util.h",
]
deps = [
@@ -19,11 +17,12 @@ source_set("device_event_log") {
source_set("unit_tests") {
testonly = true
sources = [
- "device_event_log_impl_unittest.cc",
+ "mime_util_unittest.cc",
]
deps = [
- ":device_event_log",
+ ":mime_util",
+ "//base",
"//testing/gtest",
]
}

Powered by Google App Engine
This is Rietveld 408576698