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

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

Issue 1900233004: [chrome.displaySource] Implement software based H.264 video encoder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Check proprietary_codecs Created 4 years, 7 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
« no previous file with comments | « extensions/browser/BUILD.gn ('k') | extensions/extensions.gyp » ('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("//extensions/extensions.gni") 6 import("//extensions/extensions.gni")
7 import("//mojo/public/tools/bindings/mojom.gni") 7 import("//mojo/public/tools/bindings/mojom.gni")
8 8
9 # GYP version: extensions/extensions.gyp:extensions_common_constants 9 # GYP version: extensions/extensions.gyp:extensions_common_constants
10 source_set("common_constants") { 10 source_set("common_constants") {
11 sources = 11 sources =
12 rebase_path(extensions_gypi_values.extensions_common_constants_sources, 12 rebase_path(extensions_gypi_values.extensions_common_constants_sources,
13 ".", 13 ".",
14 "//extensions") 14 "//extensions")
15 15
16 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 16 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
17 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 17 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
18 } 18 }
19 19
20 if (enable_extensions) { 20 if (enable_extensions) {
21 mojom("mojo") { 21 mojom("mojo") {
22 sources = rebase_path(extensions_gypi_values.extensions_common_mojo_sources, 22 sources = rebase_path(extensions_gypi_values.extensions_common_mojo_sources,
23 ".", 23 ".",
24 "//extensions") 24 "//extensions")
25 if (enable_wifi_display) { 25 if (proprietary_codecs && enable_wifi_display) {
26 wifi_display_sources = rebase_path( 26 wifi_display_sources = rebase_path(
27 extensions_gypi_values.extensions_common_mojo_sources_wifi_display , 27 extensions_gypi_values.extensions_common_mojo_sources_wifi_display ,
28 ".", 28 ".",
29 "//extensions") 29 "//extensions")
30 sources += wifi_display_sources 30 sources += wifi_display_sources
31 } 31 }
32 } 32 }
33 33
34 # GYP version: extensions/extensions.gyp:extensions_common 34 # GYP version: extensions/extensions.gyp:extensions_common
35 # This must be a static library because extensions common depends on 35 # This must be a static library because extensions common depends on
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 if (enable_nacl) { 82 if (enable_nacl) {
83 nacl_sources = 83 nacl_sources =
84 rebase_path(extensions_gypi_values.extensions_common_sources_nacl, 84 rebase_path(extensions_gypi_values.extensions_common_sources_nacl,
85 ".", 85 ".",
86 "//extensions") 86 "//extensions")
87 sources += nacl_sources 87 sources += nacl_sources
88 } 88 }
89 } 89 }
90 } # enable_extensions 90 } # enable_extensions
OLDNEW
« no previous file with comments | « extensions/browser/BUILD.gn ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698