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

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

Issue 2471413004: Remove unnecessary use_new_wrapper_types flag for some mojom targets. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « device/vibration/BUILD.gn ('k') | mash/login/public/interfaces/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 7
8 source_set("common_constants") { 8 source_set("common_constants") {
9 sources = [ 9 sources = [
10 "constants.cc", 10 "constants.cc",
11 "constants.h", 11 "constants.h",
12 ] 12 ]
13 13
14 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 14 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
15 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 15 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
16 } 16 }
17 17
18 if (enable_extensions) { 18 if (enable_extensions) {
19 mojom("mojo") { 19 mojom("mojo") {
20 sources = [ 20 sources = [
21 "mojo/keep_alive.mojom", 21 "mojo/keep_alive.mojom",
22 ] 22 ]
23 if (proprietary_codecs && enable_wifi_display) { 23 if (proprietary_codecs && enable_wifi_display) {
24 sources += [ "mojo/wifi_display_session_service.mojom" ] 24 sources += [ "mojo/wifi_display_session_service.mojom" ]
25 } 25 }
26
27 use_new_wrapper_types = false
28 } 26 }
29 27
30 # This must be a static library because extensions common depends on 28 # This must be a static library because extensions common depends on
31 # GetTrustedICAPublicKey in extensions/browser which isn't always linked 29 # GetTrustedICAPublicKey in extensions/browser which isn't always linked
32 # in. TODO(brettw): This reverse dependency should be fixed. 30 # in. TODO(brettw): This reverse dependency should be fixed.
33 static_library("common") { 31 static_library("common") {
34 sources = [ 32 sources = [
35 "alias.h", 33 "alias.h",
36 "api/bluetooth/bluetooth_manifest_data.cc", 34 "api/bluetooth/bluetooth_manifest_data.cc",
37 "api/bluetooth/bluetooth_manifest_data.h", 35 "api/bluetooth/bluetooth_manifest_data.h",
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 "//extensions/strings", 355 "//extensions/strings",
358 "//ipc", 356 "//ipc",
359 "//testing/gmock", 357 "//testing/gmock",
360 "//testing/gtest", 358 "//testing/gtest",
361 "//ui/base", 359 "//ui/base",
362 "//ui/gfx", 360 "//ui/gfx",
363 "//url", 361 "//url",
364 ] 362 ]
365 } 363 }
366 } # enable_extensions 364 } # enable_extensions
OLDNEW
« no previous file with comments | « device/vibration/BUILD.gn ('k') | mash/login/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698