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

Side by Side Diff: extensions/common/BUILD.gn

Issue 2697463002: Convert utility process extension Unpacker IPC to mojo (Closed)
Patch Set: Sync to ToT. Created 3 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//extensions/features/features.gni") 6 import("//extensions/features/features.gni")
7 import("//mojo/public/tools/bindings/mojom.gni") 7 import("//mojo/public/tools/bindings/mojom.gni")
8 8
9 source_set("common_constants") { 9 source_set("common_constants") {
10 sources = [ 10 sources = [
11 "constants.cc", 11 "constants.cc",
12 "constants.h", 12 "constants.h",
13 ] 13 ]
14 14
15 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 15 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
16 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 16 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
17 } 17 }
18 18
19 if (enable_extensions) { 19 if (enable_extensions) {
20 mojom("mojo") { 20 mojom("mojo") {
21 sources = [ 21 sources = [
22 "extension_unpacker.mojom",
22 "mojo/keep_alive.mojom", 23 "mojo/keep_alive.mojom",
23 ] 24 ]
25
24 if (proprietary_codecs && enable_wifi_display) { 26 if (proprietary_codecs && enable_wifi_display) {
25 sources += [ "mojo/wifi_display_session_service.mojom" ] 27 sources += [ "mojo/wifi_display_session_service.mojom" ]
26 } 28 }
29
30 public_deps = [
31 "//mojo/common:common_custom_types",
32 ]
27 } 33 }
28 34
29 # This must be a static library because extensions common depends on 35 # This must be a static library because extensions common depends on
30 # GetTrustedICAPublicKey in extensions/browser which isn't always linked 36 # GetTrustedICAPublicKey in extensions/browser which isn't always linked
31 # in. TODO(brettw): This reverse dependency should be fixed. 37 # in. TODO(brettw): This reverse dependency should be fixed.
32 static_library("common") { 38 static_library("common") {
33 sources = [ 39 sources = [
34 "alias.h", 40 "alias.h",
35 "api/bluetooth/bluetooth_manifest_data.cc", 41 "api/bluetooth/bluetooth_manifest_data.cc",
36 "api/bluetooth/bluetooth_manifest_data.h", 42 "api/bluetooth/bluetooth_manifest_data.h",
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 "//ui/base", 376 "//ui/base",
371 "//ui/gfx", 377 "//ui/gfx",
372 "//url", 378 "//url",
373 ] 379 ]
374 380
375 if (is_chromeos) { 381 if (is_chromeos) {
376 sources += [ "manifest_handlers/action_handlers_handler_unittest.cc" ] 382 sources += [ "manifest_handlers/action_handlers_handler_unittest.cc" ]
377 } 383 }
378 } 384 }
379 } # enable_extensions 385 } # enable_extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698