Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Side by Side Diff: components/infobars/core/BUILD.gn

Issue 1596713003: Discourage creation of Java infobars without InfoBarDelegates (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/infobars.gypi ('k') | components/infobars/core/infobar_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « components/infobars.gypi ('k') | components/infobars/core/infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698