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

Side by Side Diff: extensions/browser/api/sockets_tcp/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("sockets_tcp") { 10 source_set("sockets_tcp") {
6 sources = [ 11 sources = [
7 "sockets_tcp_api.cc", 12 "sockets_tcp_api.cc",
8 "sockets_tcp_api.h", 13 "sockets_tcp_api.h",
9 "tcp_socket_event_dispatcher.cc", 14 "tcp_socket_event_dispatcher.cc",
10 "tcp_socket_event_dispatcher.h", 15 "tcp_socket_event_dispatcher.h",
11 ] 16 ]
12 17
13 configs += [ 18 configs += [
14 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 19 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
15 "//build/config/compiler:no_size_t_to_int_warning", 20 "//build/config/compiler:no_size_t_to_int_warning",
16 ] 21 ]
17 22
18 deps = [ 23 deps = [
19 "//base", 24 "//base",
20 "//content/public/browser", 25 "//content/public/browser",
21 "//extensions/common/api", 26 "//extensions/common/api",
22 "//net", 27 "//net",
23 ] 28 ]
24 29
25 public_deps = [ 30 public_deps = [
26 "//extensions/browser:browser_sources", 31 "//extensions/browser:browser_sources",
27 ] 32 ]
28 } 33 }
OLDNEW
« no previous file with comments | « extensions/browser/api/socket/BUILD.gn ('k') | extensions/browser/api/sockets_tcp_server/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698