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

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

Issue 704363002: XXX test gn format everything (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years 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
« no previous file with comments | « extensions/BUILD.gn ('k') | extensions/common/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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("//build/config/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 7
8 # GYP version: extensions/extensions.gyp:extensions_browser 8 # GYP version: extensions/extensions.gyp:extensions_browser
9 source_set("browser") { 9 source_set("browser") {
10 sources = [ 10 sources = []
11 ]
12 11
13 deps = [ 12 deps = [
14 "//components/copresence_sockets", 13 "//components/copresence_sockets",
15 "//components/keyed_service/content", 14 "//components/keyed_service/content",
16 "//components/keyed_service/core", 15 "//components/keyed_service/core",
17 "//components/pref_registry", 16 "//components/pref_registry",
18 "//components/sessions:sessions_content", 17 "//components/sessions:sessions_content",
19 "//components/web_cache/browser", 18 "//components/web_cache/browser",
20 "//components/web_modal", 19 "//components/web_modal",
21 "//content/public/browser", 20 "//content/public/browser",
22 "//crypto:platform", 21 "//crypto:platform",
23 "//extensions/common", 22 "//extensions/common",
24 "//extensions/common/api", 23 "//extensions/common/api",
25 "//extensions/common/api:api_registration", 24 "//extensions/common/api:api_registration",
26 "//extensions/strings", 25 "//extensions/strings",
27 "//google_apis", 26 "//google_apis",
28 "//skia", 27 "//skia",
29 "//third_party/leveldatabase", 28 "//third_party/leveldatabase",
30 "//third_party/re2" 29 "//third_party/re2",
31 ] 30 ]
32 31
33 if (enable_extensions) { 32 if (enable_extensions) {
34 # Includes all API implementations and the ExtensionsApiClient 33 # Includes all API implementations and the ExtensionsApiClient
35 # interface. Moving an API from src/chrome to src/extensions implies 34 # interface. Moving an API from src/chrome to src/extensions implies
36 # it can be cleanly disabled with enable_extensions=false. 35 # it can be cleanly disabled with enable_extensions=false.
37 # TODO: Eventually the entire extensions module should not be built 36 # TODO: Eventually the entire extensions module should not be built
38 # when enable_extensions=false. 37 # when enable_extensions=false.
39 sources += [ 38 sources += [
40 "api/activity_log/web_request_constants.cc", 39 "api/activity_log/web_request_constants.cc",
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 "//crypto:platform", 501 "//crypto:platform",
503 "//device/bluetooth", 502 "//device/bluetooth",
504 "//device/core", 503 "//device/core",
505 "//device/hid", 504 "//device/hid",
506 "//device/serial", 505 "//device/serial",
507 "//device/usb", 506 "//device/usb",
508 "//extensions/common/api/cast_channel:cast_channel_proto", 507 "//extensions/common/api/cast_channel:cast_channel_proto",
509 ] 508 ]
510 509
511 if (use_openssl) { 510 if (use_openssl) {
512 sources += [ 511 sources += [ "api/cast_channel/cast_auth_util_openssl.cc" ]
513 "api/cast_channel/cast_auth_util_openssl.cc",
514 ]
515 } else { 512 } else {
516 sources += [ 513 sources += [ "api/cast_channel/cast_auth_util_nss.cc" ]
517 "api/cast_channel/cast_auth_util_nss.cc",
518 ]
519 } 514 }
520 515
521 if (is_chromeos) { 516 if (is_chromeos) {
522 sources += [ 517 sources += [
523 "api/vpn_provider/vpn_provider_api.cc", 518 "api/vpn_provider/vpn_provider_api.cc",
524 "api/vpn_provider/vpn_provider_api.h", 519 "api/vpn_provider/vpn_provider_api.h",
525 "api/vpn_provider/vpn_service.cc", 520 "api/vpn_provider/vpn_service.cc",
526 "api/vpn_provider/vpn_service.h", 521 "api/vpn_provider/vpn_service.h",
527 "api/vpn_provider/vpn_service_factory.cc", 522 "api/vpn_provider/vpn_service_factory.cc",
528 "api/vpn_provider/vpn_service_factory.h", 523 "api/vpn_provider/vpn_service_factory.h",
529 ] 524 ]
530 } 525 }
531 } 526 }
532 527
533 if (is_win) { 528 if (is_win) {
534 cflags = [ 529 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t runcations.
535 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
536 ]
537 } 530 }
538 } 531 }
OLDNEW
« no previous file with comments | « extensions/BUILD.gn ('k') | extensions/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698