mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 16:26:10 +03:00
132 lines
4.1 KiB
Plaintext
132 lines
4.1 KiB
Plaintext
|
# Copyright 2017 The Chromium Authors. All rights reserved.
|
||
|
# Use of this source code is governed by a BSD-style license that can be
|
||
|
# found in the LICENSE file.
|
||
|
|
||
|
source_set("location_bar") {
|
||
|
configs += [ "//build/config/compiler:enable_arc" ]
|
||
|
sources = [
|
||
|
"extended_touch_target_button.h",
|
||
|
"extended_touch_target_button.mm",
|
||
|
"location_bar_consumer.h",
|
||
|
"location_bar_coordinator.h",
|
||
|
"location_bar_coordinator.mm",
|
||
|
"location_bar_generic_coordinator.h",
|
||
|
"location_bar_legacy_consumer.h",
|
||
|
"location_bar_legacy_coordinator.h",
|
||
|
"location_bar_legacy_coordinator.mm",
|
||
|
"location_bar_legacy_mediator.h",
|
||
|
"location_bar_legacy_mediator.mm",
|
||
|
"location_bar_legacy_view.h",
|
||
|
"location_bar_legacy_view.mm",
|
||
|
"location_bar_mediator.h",
|
||
|
"location_bar_mediator.mm",
|
||
|
"location_bar_steady_view.h",
|
||
|
"location_bar_steady_view.mm",
|
||
|
"location_bar_url_loader.h",
|
||
|
"location_bar_view_controller.h",
|
||
|
"location_bar_view_controller.mm",
|
||
|
]
|
||
|
deps = [
|
||
|
":constants",
|
||
|
"resources:location_bar_share",
|
||
|
"resources:location_bar_voice",
|
||
|
"//base",
|
||
|
"//components/google/core/browser",
|
||
|
"//components/google/core/browser",
|
||
|
"//components/omnibox/browser",
|
||
|
"//components/search_engines",
|
||
|
"//components/strings",
|
||
|
"//components/toolbar",
|
||
|
"//components/variations/net",
|
||
|
"//ios/chrome/app/strings",
|
||
|
"//ios/chrome/app/theme",
|
||
|
"//ios/chrome/browser",
|
||
|
"//ios/chrome/browser/autocomplete",
|
||
|
"//ios/chrome/browser/browser_state:browser_state",
|
||
|
"//ios/chrome/browser/search_engines",
|
||
|
"//ios/chrome/browser/ssl",
|
||
|
"//ios/chrome/browser/ui",
|
||
|
"//ios/chrome/browser/ui/commands",
|
||
|
"//ios/chrome/browser/ui/fullscreen",
|
||
|
"//ios/chrome/browser/ui/fullscreen:ui",
|
||
|
"//ios/chrome/browser/ui/omnibox:omnibox",
|
||
|
"//ios/chrome/browser/ui/omnibox:omnibox_internal",
|
||
|
"//ios/chrome/browser/ui/omnibox:omnibox_util",
|
||
|
"//ios/chrome/browser/ui/omnibox/popup",
|
||
|
"//ios/chrome/browser/ui/qr_scanner/requirements",
|
||
|
"//ios/chrome/browser/ui/toolbar/buttons",
|
||
|
"//ios/chrome/browser/ui/toolbar/keyboard_assist:keyboard_assist",
|
||
|
"//ios/chrome/browser/ui/toolbar/public",
|
||
|
"//ios/chrome/browser/ui/toolbar/public:toolbar_base_feature",
|
||
|
"//ios/chrome/browser/ui/util",
|
||
|
"//ios/chrome/browser/ui/voice",
|
||
|
"//ios/chrome/browser/web_state_list",
|
||
|
"//ios/chrome/common:timing",
|
||
|
"//ios/public/provider/chrome/browser:browser",
|
||
|
"//ios/public/provider/chrome/browser/voice",
|
||
|
"//ios/third_party/material_components_ios",
|
||
|
"//ios/third_party/material_roboto_font_loader_ios",
|
||
|
"//ios/web/public:public",
|
||
|
"//skia",
|
||
|
"//third_party/google_toolbox_for_mac",
|
||
|
"//ui/base",
|
||
|
"//ui/base",
|
||
|
"//ui/gfx",
|
||
|
"//ui/gfx/geometry",
|
||
|
"//url",
|
||
|
]
|
||
|
libs = [
|
||
|
"CoreText.framework",
|
||
|
"MobileCoreServices.framework",
|
||
|
"QuartzCore.framework",
|
||
|
"UIKit.framework",
|
||
|
]
|
||
|
allow_circular_includes_from =
|
||
|
[ "//ios/chrome/browser/ui/omnibox:omnibox_internal" ]
|
||
|
}
|
||
|
|
||
|
source_set("constants") {
|
||
|
configs += [ "//build/config/compiler:enable_arc" ]
|
||
|
sources = [
|
||
|
"location_bar_constants.h",
|
||
|
"location_bar_constants.mm",
|
||
|
]
|
||
|
libs = [
|
||
|
"Foundation.framework",
|
||
|
"CoreGraphics.framework",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
source_set("unit_tests") {
|
||
|
configs += [ "//build/config/compiler:enable_arc" ]
|
||
|
testonly = true
|
||
|
sources = [
|
||
|
"location_bar_coordinator_unittest.mm",
|
||
|
"location_bar_mediator_unittest.mm",
|
||
|
]
|
||
|
deps = [
|
||
|
":location_bar",
|
||
|
"//base",
|
||
|
"//base/test:test_support",
|
||
|
"//components/toolbar:test_support",
|
||
|
"//components/variations",
|
||
|
"//ios/chrome/app/strings",
|
||
|
"//ios/chrome/browser",
|
||
|
"//ios/chrome/browser/autocomplete",
|
||
|
"//ios/chrome/browser/browser_state:test_support",
|
||
|
"//ios/chrome/browser/search_engines",
|
||
|
"//ios/chrome/browser/ui/commands",
|
||
|
"//ios/chrome/browser/ui/toolbar/clean:toolbar",
|
||
|
"//ios/chrome/browser/ui/toolbar/test",
|
||
|
"//ios/chrome/browser/web_state_list",
|
||
|
"//ios/chrome/browser/web_state_list:test_support",
|
||
|
"//ios/chrome/test/fakes",
|
||
|
"//ios/web/public",
|
||
|
"//ios/web/public/test",
|
||
|
"//ios/web/public/test/fakes",
|
||
|
"//testing/gtest",
|
||
|
"//third_party/ocmock",
|
||
|
"//ui/base",
|
||
|
]
|
||
|
}
|