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

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

Issue 2904443004: Allow generation of a chromium outdirs when enable_extensions=false (Closed)
Patch Set: Assert enable_extensions: common/BUILD.gn and features/BUILD.gn are marked TODO(crbug.com/731689) 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("bluetooth_socket") { 10 source_set("bluetooth_socket") {
6 sources = [ 11 sources = [
7 "bluetooth_api_socket.cc", 12 "bluetooth_api_socket.cc",
8 "bluetooth_api_socket.h", 13 "bluetooth_api_socket.h",
9 "bluetooth_socket_api.cc", 14 "bluetooth_socket_api.cc",
10 "bluetooth_socket_api.h", 15 "bluetooth_socket_api.h",
11 "bluetooth_socket_event_dispatcher.cc", 16 "bluetooth_socket_event_dispatcher.cc",
12 "bluetooth_socket_event_dispatcher.h", 17 "bluetooth_socket_event_dispatcher.h",
13 ] 18 ]
14 19
15 configs += [ 20 configs += [
16 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 21 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
17 "//build/config/compiler:no_size_t_to_int_warning", 22 "//build/config/compiler:no_size_t_to_int_warning",
18 ] 23 ]
19 24
20 deps = [ 25 deps = [
21 "//extensions/common/api", 26 "//extensions/common/api",
22 ] 27 ]
23 28
24 public_deps = [ 29 public_deps = [
25 "//extensions/browser:browser_sources", 30 "//extensions/browser:browser_sources",
26 ] 31 ]
27 } 32 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698