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

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

Powered by Google App Engine
This is Rietveld 408576698