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

Unified Diff: chrome/utility/BUILD.gn

Issue 345693002: Extensions: Split extensions utility IPC messages into its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable another test Created 6 years, 6 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: chrome/utility/BUILD.gn
diff --git a/chrome/utility/BUILD.gn b/chrome/utility/BUILD.gn
index 9eb5cc0c97625b65c928cf418d12957c5b85361c..76c73df7ef57cee522d641880fb716225b99fc54 100644
--- a/chrome/utility/BUILD.gn
+++ b/chrome/utility/BUILD.gn
@@ -16,39 +16,50 @@ static_library("utility") {
deps = [
"//base",
- #'../components/components_strings.gyp:components_strings', TODO(GYP)
- #'../components/components.gyp:url_fixer', TODO(GYP)
+ #"../components/components_strings.gyp:components_strings", TODO(GYP)
+ #"../components/components.gyp:url_fixer", TODO(GYP)
"//content/public/common",
"//content/public/utility",
- #'../media/media.gyp:media', TODO(GYP)
+ #"../media/media.gyp:media", TODO(GYP)
"//skia",
"//third_party/libxml",
"//chrome:resources",
"//chrome:strings",
"//chrome/common",
- "//chrome/common/extensions/api",
]
- if (is_win || is_mac) {
- sources += rebase_path(
- gypi_values.chrome_utility_win_mac_media_gallery_sources, ".", "..")
- #deps += [ "//components/wifi" ] TODO(GYP)
+ if (!is_android) {
+ sources += rebase_path(gypi_values.chrome_utility_importer_sources,
+ ".", "..")
}
- if (is_mac) {
- sources += [
- "media_galleries/iphoto_library_parser.cc",
- "media_galleries/iphoto_library_parser.h",
+
+ if (enable_extensions == 1) {
+ deps += [
+ "//chrome/common/extensions/api",
+ #"//third_party/libexif", TODO(GYP)
]
- }
- if (is_android) {
- sources -= [ "profile_import_handler.cc" ]
- } else {
- sources += rebase_path(gypi_values.chrome_utility_importer_sources,
+ forward_dependent_configs_from = [
+ "//chrome/common/extensions/api",
+ ]
+
+ sources += rebase_path(gypi_values.chrome_utility_extensions_sources,
".", "..")
sources += rebase_path(gypi_values.chrome_utility_shared_media_sources,
".", "..")
- #deps += [ "//third_party/libexif" ] TODO(GYP)
+
+ if (is_win || is_mac) {
+ sources += rebase_path(
+ gypi_values.chrome_utility_win_mac_media_gallery_sources, ".", "..")
+ #deps += [ "//components/wifi" ] TODO(GYP)
+ } else {
+ sources += [ "image_writer/image_writer_stub.cc" ]
+ }
+
+ if (is_mac) {
+ sources += rebase_path(gypi_values.chrome_utility_mac_media_gallery_sources,
+ ".", "..")
+ }
}
if (!use_openssl) {
@@ -65,10 +76,6 @@ static_library("utility") {
}
}
-
- if (!is_win && !is_mac) {
- sources += [ "image_writer/image_writer_stub.cc" ]
- }
if (enable_printing != 1) {
sources -= [
"printing_handler.cc",
@@ -82,8 +89,4 @@ static_library("utility") {
"local_discovery/service_discovery_message_handler.h",
]
}
-
- forward_dependent_configs_from = [
- "//chrome/common/extensions/api",
- ]
}
« no previous file with comments | « chrome/common/extensions/chrome_utility_extensions_messages.h ('k') | chrome/utility/chrome_content_utility_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698