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

Side by Side Diff: extensions/browser/api/printer_provider/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
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("printer_provider") { 10 source_set("printer_provider") {
6 sources = [ 11 sources = [
7 "printer_provider_api.cc", 12 "printer_provider_api.cc",
8 "printer_provider_api.h", 13 "printer_provider_api.h",
9 "printer_provider_api_factory.cc", 14 "printer_provider_api_factory.cc",
10 "printer_provider_api_factory.h", 15 "printer_provider_api_factory.h",
11 "printer_provider_print_job.cc", 16 "printer_provider_print_job.cc",
12 "printer_provider_print_job.h", 17 "printer_provider_print_job.h",
13 ] 18 ]
14 19
15 deps = [ 20 deps = [
16 "//device/usb", 21 "//device/usb",
17 "//extensions/common/api", 22 "//extensions/common/api",
18 ] 23 ]
19 24
20 public_deps = [ 25 public_deps = [
21 "//extensions/browser:browser_sources", 26 "//extensions/browser:browser_sources",
22 ] 27 ]
23 } 28 }
OLDNEW
« no previous file with comments | « extensions/browser/api/power/BUILD.gn ('k') | extensions/browser/api/printer_provider_internal/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698