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/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
| 7 if (is_android) { |
| 8 import("//build/config/android/config.gni") |
| 9 import("//build/config/android/rules.gni") |
| 10 } |
| 11 |
7 static_library("core") { | 12 static_library("core") { |
8 sources = [ | 13 sources = [ |
9 "confirm_infobar_delegate.cc", | 14 "confirm_infobar_delegate.cc", |
10 "confirm_infobar_delegate.h", | 15 "confirm_infobar_delegate.h", |
11 "infobar.cc", | 16 "infobar.cc", |
12 "infobar.h", | 17 "infobar.h", |
13 "infobar_container.cc", | 18 "infobar_container.cc", |
14 "infobar_container.h", | 19 "infobar_container.h", |
15 "infobar_delegate.cc", | 20 "infobar_delegate.cc", |
16 "infobar_delegate.h", | 21 "infobar_delegate.h", |
(...skipping 13 matching lines...) Expand all Loading... |
30 "//ui/base", | 35 "//ui/base", |
31 "//ui/gfx", | 36 "//ui/gfx", |
32 "//ui/strings", | 37 "//ui/strings", |
33 "//url", | 38 "//url", |
34 ] | 39 ] |
35 | 40 |
36 if (use_aura || (!is_ios && !is_android)) { | 41 if (use_aura || (!is_ios && !is_android)) { |
37 deps += [ "//ui/native_theme" ] | 42 deps += [ "//ui/native_theme" ] |
38 } | 43 } |
39 } | 44 } |
| 45 |
| 46 if (is_android) { |
| 47 # GYP: //components/infobars.gypi:infobar_delegate_java |
| 48 java_cpp_enum("infobar_enums_java") { |
| 49 sources = [ |
| 50 "infobar_delegate.h", |
| 51 ] |
| 52 } |
| 53 } |
OLD | NEW |