1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- # Copyright 2014 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.
- import("//build/config/ui.gni")
- if (is_android) {
- import("//build/config/android/config.gni")
- import("//build/config/android/rules.gni")
- }
- static_library("core") {
- sources = [
- "confirm_infobar_delegate.cc",
- "confirm_infobar_delegate.h",
- "infobar.cc",
- "infobar.h",
- "infobar_container.cc",
- "infobar_container.h",
- "infobar_delegate.cc",
- "infobar_delegate.h",
- "infobar_manager.cc",
- "infobar_manager.h",
- "simple_alert_infobar_delegate.cc",
- "simple_alert_infobar_delegate.h",
- ]
- public_deps = [
- "//base",
- "//skia",
- "//ui/base",
- ]
- deps = [
- "//ui/gfx",
- "//ui/gfx/animation",
- "//ui/strings",
- "//url",
- ]
- if (use_aura || (!is_ios && !is_android)) {
- deps += [ "//ui/native_theme" ]
- }
- }
- if (is_android) {
- java_cpp_enum("infobar_generated_enums") {
- sources = [ "infobar_delegate.h" ]
- }
- android_library("infobar_enums_java") {
- deps = [ "//third_party/androidx:androidx_annotation_annotation_java" ]
- srcjar_deps = [ ":infobar_generated_enums" ]
- }
- }
|