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

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

Powered by Google App Engine
This is Rietveld 408576698