OLD | NEW |
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/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//content/browser/browser.gni") | 7 import("//content/browser/browser.gni") |
8 | 8 |
9 config("storage_config") { | |
10 if (is_android) { | |
11 defines = [ "APPCACHE_USE_SIMPLE_CACHE" ] | |
12 } | |
13 } | |
14 | |
15 source_set("browser") { | 9 source_set("browser") { |
16 # Only targets in the content tree can depend directly on this target. | 10 # Only the public target should depend on this. All other targets (even |
17 visibility = [ "//content/*" ] | 11 # internal content ones) should depend on the public one. |
| 12 visibility = [ "//content/public/browser:browser_sources" ] |
18 | 13 |
19 defines = [] | 14 defines = [] |
20 libs = [] | 15 libs = [] |
21 ldflags = [] | 16 ldflags = [] |
22 | 17 |
23 # Shared deps. See also non-iOS deps below. | 18 # Shared deps. See also non-iOS deps below. |
24 deps = [ | 19 deps = [ |
25 "//base", | 20 "//base", |
26 "//base:base_static", | 21 "//base:base_static", |
27 "//content:resources", | 22 "//content:resources", |
28 "//content/browser/service_worker:proto", | 23 "//content/browser/service_worker:proto", |
29 "//content/browser/speech/proto", | 24 "//content/browser/speech/proto", |
30 "//content/public/common", | 25 "//content/public/common:common_sources", |
31 "//crypto", | 26 "//crypto", |
32 "//google_apis", | 27 "//google_apis", |
33 "//net", | 28 "//net", |
34 "//skia", | 29 "//skia", |
35 "//sql", | 30 "//sql", |
36 "//third_party/npapi", | 31 "//third_party/npapi", |
37 "//third_party/re2", | 32 "//third_party/re2", |
38 "//third_party/WebKit/public:blink_headers", | 33 "//third_party/WebKit/public:blink_headers", |
39 "//third_party/zlib", | 34 "//third_party/zlib", |
40 "//third_party/zlib:zip", | 35 "//third_party/zlib:zip", |
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 deps += [ "//dbus" ] | 404 deps += [ "//dbus" ] |
410 } else { | 405 } else { |
411 # This will already have gotten removed for all non-Linux cases. | 406 # This will already have gotten removed for all non-Linux cases. |
412 sources -= [ | 407 sources -= [ |
413 "battery_status/battery_status_manager_linux.cc", | 408 "battery_status/battery_status_manager_linux.cc", |
414 "geolocation/wifi_data_provider_linux.cc", | 409 "geolocation/wifi_data_provider_linux.cc", |
415 ] | 410 ] |
416 } | 411 } |
417 } | 412 } |
418 } | 413 } |
OLD | NEW |