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

Side by Side Diff: extensions/browser/api/audio/BUILD.gn

Issue 2904443004: Allow generation of a chromium outdirs when enable_extensions=false (Closed)
Patch Set: Rebase Created 3 years, 6 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/api/app_window/BUILD.gn ('k') | extensions/browser/api/bluetooth/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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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("//extensions/features/features.gni")
6
7 assert(enable_extensions,
8 "Cannot depend on extensions because enable_extensions=false.")
9
5 source_set("audio") { 10 source_set("audio") {
6 sources = [ 11 sources = [
7 "audio_api.cc", 12 "audio_api.cc",
8 "audio_api.h", 13 "audio_api.h",
9 "audio_device_id_calculator.cc", 14 "audio_device_id_calculator.cc",
10 "audio_device_id_calculator.h", 15 "audio_device_id_calculator.h",
11 "audio_service.h", 16 "audio_service.h",
12 "pref_names.cc", 17 "pref_names.cc",
13 "pref_names.h", 18 "pref_names.h",
14 ] 19 ]
15 20
16 if (is_chromeos) { 21 if (is_chromeos) {
17 sources += [ "audio_service_chromeos.cc" ] 22 sources += [ "audio_service_chromeos.cc" ]
18 } else { 23 } else {
19 sources += [ "audio_service.cc" ] 24 sources += [ "audio_service.cc" ]
20 } 25 }
21 26
22 deps = [ 27 deps = [
23 "//components/prefs", 28 "//components/prefs",
24 "//extensions/common/api", 29 "//extensions/common/api",
25 ] 30 ]
26 31
27 public_deps = [ 32 public_deps = [
28 "//extensions/browser:browser_sources", 33 "//extensions/browser:browser_sources",
29 ] 34 ]
30 } 35 }
OLDNEW
« no previous file with comments | « extensions/browser/api/app_window/BUILD.gn ('k') | extensions/browser/api/bluetooth/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698