OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 bundle_data("resources") { | 5 bundle_data("resources") { |
6 sources = [ | 6 sources = [ |
7 "resources/popup_background.png", | 7 "resources/popup_background.png", |
8 "resources/popup_background@2x.png", | 8 "resources/popup_background@2x.png", |
9 "resources/popup_background@3x.png", | 9 "resources/popup_background@3x.png", |
10 ] | 10 ] |
11 outputs = [ | 11 outputs = [ |
12 "{{bundle_resources_dir}}/{{source_file_part}}", | 12 "{{bundle_resources_dir}}/{{source_file_part}}", |
13 ] | 13 ] |
14 } | 14 } |
15 | 15 |
16 source_set("popup_menu") { | 16 source_set("popup_menu") { |
| 17 configs += [ "//build/config/compiler:enable_arc" ] |
17 sources = [ | 18 sources = [ |
18 "popup_menu_controller.h", | 19 "popup_menu_controller.h", |
19 "popup_menu_controller.mm", | 20 "popup_menu_controller.mm", |
20 "popup_menu_view.h", | 21 "popup_menu_view.h", |
21 "popup_menu_view.mm", | 22 "popup_menu_view.mm", |
22 ] | 23 ] |
23 deps = [ | 24 deps = [ |
24 ":resources", | 25 ":resources", |
25 "//base", | 26 "//base", |
26 "//ios/chrome/app/strings", | 27 "//ios/chrome/app/strings", |
27 "//ios/chrome/browser/ui", | 28 "//ios/chrome/browser/ui", |
28 "//ios/chrome/common", | 29 "//ios/chrome/common", |
29 "//ui/base", | 30 "//ui/base", |
30 ] | 31 ] |
31 libs = [ | 32 libs = [ |
32 "QuartzCore.framework", | 33 "QuartzCore.framework", |
33 "UIKit.framework", | 34 "UIKit.framework", |
34 ] | 35 ] |
35 } | 36 } |
OLD | NEW |