| 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") { | 9 config("storage_config") { |
| 10 if (is_android) { | 10 if (is_android) { |
| 11 defines = [ "APPCACHE_USE_SIMPLE_CACHE" ] | 11 defines = [ "APPCACHE_USE_SIMPLE_CACHE" ] |
| 12 } | 12 } |
| 13 } | 13 } |
| 14 | 14 |
| 15 source_set("browser") { | 15 source_set("browser") { |
| 16 # Only targets in the content tree can depend directly on this target. | 16 # Only targets in the content tree can depend directly on this target. |
| 17 visibility = [ "//content/*" ] | 17 visibility = [ "//content/*" ] |
| 18 | 18 |
| 19 defines = [] | 19 defines = [] |
| 20 libs = [] | 20 libs = [] |
| 21 ldflags = [] | 21 ldflags = [] |
| 22 | 22 |
| 23 # Shared deps. See also non-iOS deps below. | 23 # Shared deps. See also non-iOS deps below. |
| 24 deps = [ | 24 deps = [ |
| 25 "//base", | 25 "//base", |
| 26 "//base:base_static", | 26 "//base:base_static", |
| 27 "//content:resources", | 27 "//content:resources", |
| 28 "//content/browser/service_worker:proto", | 28 "//content/browser/service_worker:proto", |
| 29 "//content/browser/speech/proto", | 29 "//content/browser/speech/proto", |
| 30 "//content/public/common", |
| 30 "//crypto", | 31 "//crypto", |
| 31 "//google_apis", | 32 "//google_apis", |
| 32 "//net", | 33 "//net", |
| 33 "//skia", | 34 "//skia", |
| 34 "//sql", | 35 "//sql", |
| 36 "//third_party/npapi", |
| 35 "//third_party/re2", | 37 "//third_party/re2", |
| 36 "//third_party/WebKit/public:blink_headers", | 38 "//third_party/WebKit/public:blink_headers", |
| 37 "//third_party/zlib", | 39 "//third_party/zlib", |
| 38 "//third_party/zlib:zip", | 40 "//third_party/zlib:zip", |
| 39 "//ui/accessibility", | 41 "//ui/accessibility", |
| 40 "//ui/accessibility:ax_gen", | 42 "//ui/accessibility:ax_gen", |
| 41 "//ui/base", | 43 "//ui/base", |
| 42 "//ui/events", | 44 "//ui/events", |
| 43 "//ui/events:gesture_detection", | 45 "//ui/events:gesture_detection", |
| 44 "//ui/gfx", | 46 "//ui/gfx", |
| 45 "//ui/gfx/geometry", | 47 "//ui/gfx/geometry", |
| 48 "//ui/gl", |
| 49 "//ui/native_theme", |
| 46 "//ui/resources", | 50 "//ui/resources", |
| 47 "//ui/snapshot", | 51 "//ui/snapshot", |
| 52 "//ui/wm", |
| 48 ] | 53 ] |
| 49 | 54 |
| 50 if (is_ios) { | 55 if (is_ios) { |
| 51 # iOS doesn't get the normal file list and only takes these whitelisted | 56 # iOS doesn't get the normal file list and only takes these whitelisted |
| 52 # files. | 57 # files. |
| 53 sources = [ | 58 sources = [ |
| 54 "browser_context.cc", | 59 "browser_context.cc", |
| 55 "browser_main_loop.cc", | 60 "browser_main_loop.cc", |
| 56 "browser_main_runner.cc", | 61 "browser_main_runner.cc", |
| 57 "browser_process_sub_thread.cc", | 62 "browser_process_sub_thread.cc", |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 deps += [ "//dbus" ] | 409 deps += [ "//dbus" ] |
| 405 } else { | 410 } else { |
| 406 # This will already have gotten removed for all non-Linux cases. | 411 # This will already have gotten removed for all non-Linux cases. |
| 407 sources -= [ | 412 sources -= [ |
| 408 "battery_status/battery_status_manager_linux.cc", | 413 "battery_status/battery_status_manager_linux.cc", |
| 409 "geolocation/wifi_data_provider_linux.cc", | 414 "geolocation/wifi_data_provider_linux.cc", |
| 410 ] | 415 ] |
| 411 } | 416 } |
| 412 } | 417 } |
| 413 } | 418 } |
| OLD | NEW |