OLD | NEW |
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/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 | 8 |
9 assert(enable_extensions) | 9 assert(enable_extensions) |
10 | 10 |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 ".", | 195 ".", |
196 "//chrome") | 196 "//chrome") |
197 } | 197 } |
198 | 198 |
199 if (is_chromeos && use_ozone) { | 199 if (is_chromeos && use_ozone) { |
200 sources -= [ "global_shortcut_listener_chromeos.cc" ] | 200 sources -= [ "global_shortcut_listener_chromeos.cc" ] |
201 } | 201 } |
202 if (!use_ozone) { | 202 if (!use_ozone) { |
203 sources -= [ "global_shortcut_listener_ozone.cc" ] | 203 sources -= [ "global_shortcut_listener_ozone.cc" ] |
204 } | 204 } |
| 205 if (enable_media_router) { |
| 206 defines += [ "ENABLE_MEDIA_ROUTER=1" ] |
| 207 } |
205 } | 208 } |
OLD | NEW |