summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
authormikhail.pozdnyakov <mikhail.pozdnyakov@intel.com>2016-01-14 07:24:05 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-14 15:26:35 +0000
commit61a28e373720d8f205d9fc37c09580804a36b038 (patch)
treeb2272bdbd457a7b8aab8491764d2cebeb6e95f46 /build/common.gypi
parentc2103fb08d07c310047e7c4923e9caaa0ef76e35 (diff)
downloadchromium_src-61a28e373720d8f205d9fc37c09580804a36b038.zip
chromium_src-61a28e373720d8f205d9fc37c09580804a36b038.tar.gz
chromium_src-61a28e373720d8f205d9fc37c09580804a36b038.tar.bz2
Add WiFi Display session class skeleton and mojo service
This patch introduces a WiFi Display session class skeleton and mojo service which provides network access for the render-hosted session. The introduced code is compiled only if a newly added 'enable_wifi_display' build option is set. Besides, some minor changes were applied to the DisplaySourceConnectionDelegate interface in order to better define its methods behavior. BUG=242107 Review URL: https://codereview.chromium.org/1540563002 Cr-Commit-Position: refs/heads/master@{#369415}
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index e73e563..79bd535 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -88,6 +88,9 @@
# Enable Wayland display server support.
'enable_wayland_server%' : 0,
+ # Enable Wi-Fi Display support.
+ 'enable_wifi_display%' : 0,
+
# By default we build against a stable sysroot image to avoid
# depending on the packages installed on the local machine. Set this
# to 0 to build against locally installed headers and libraries (e.g.
@@ -166,6 +169,7 @@
'enable_hidpi%': '<(enable_hidpi)',
'enable_topchrome_md%': '<(enable_topchrome_md)',
'enable_wayland_server%': '<(enable_wayland_server)',
+ 'enable_wifi_display%': '<(enable_wifi_display)',
'buildtype%': '<(buildtype)',
'branding%': '<(branding)',
'branding_path_component%': '<(branding)',
@@ -351,6 +355,7 @@
'enable_hidpi%': '<(enable_hidpi)',
'enable_topchrome_md%': '<(enable_topchrome_md)',
'enable_wayland_server%': '<(enable_wayland_server)',
+ 'enable_wifi_display%': '<(enable_wifi_display)',
'android_channel%': '<(android_channel)',
'use_goma%': '<(use_goma)',
'gomadir%': '<(gomadir)',
@@ -1153,6 +1158,7 @@
'enable_hidpi%': '<(enable_hidpi)',
'enable_topchrome_md%': '<(enable_topchrome_md)',
'enable_wayland_server%': '<(enable_wayland_server)',
+ 'enable_wifi_display%': '<(enable_wifi_display)',
'image_loader_extension%': '<(image_loader_extension)',
'fastbuild%': '<(fastbuild)',
'dont_embed_build_metadata%': '<(dont_embed_build_metadata)',
@@ -2776,6 +2782,9 @@
['enable_wayland_server==1', {
'defines': ['ENABLE_WAYLAND_SERVER=1'],
}],
+ ['enable_wifi_display==1', {
+ 'defines': ['ENABLE_WIFI_DISPLAY=1'],
+ }],
['use_udev==1', {
'defines': ['USE_UDEV'],
}],