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 source_set("core") { | 5 source_set("core") { |
6 sources = [ | 6 sources = [ |
7 "app_delegate.h", | 7 "app_delegate.h", |
8 "app_delegate.mm", | 8 "app_delegate.mm", |
9 "showcase_model.h", | 9 "showcase_model.h", |
10 "showcase_model.mm", | 10 "showcase_model.mm", |
11 "showcase_view_controller.h", | 11 "showcase_view_controller.h", |
12 "showcase_view_controller.mm", | 12 "showcase_view_controller.mm", |
13 ] | 13 ] |
14 deps = [ | 14 deps = [ |
15 "//base", | 15 "//base", |
16 "//ios/chrome/app/startup", | 16 "//ios/chrome/app/startup", |
17 "//ios/showcase/common", | 17 "//ios/showcase/common", |
18 "//ios/third_party/material_components_ios", | 18 "//ios/third_party/material_components_ios", |
19 "//ios/third_party/material_roboto_font_loader_ios", | 19 "//ios/third_party/material_roboto_font_loader_ios", |
20 "//ui/base", | 20 "//ui/base", |
21 ] | 21 ] |
22 cflags = [ | |
23 "-fprofile-instr-generate", | |
24 "-fcoverage-mapping", | |
25 ] | |
lindsayw
2017/04/03 15:32:09
Do "-g" or "-Wall" need to be added anywhere?
lpromero
2017/04/04 14:49:50
Initially I had them but seems it worked without.
| |
22 libs = [ "UIKit.framework" ] | 26 libs = [ "UIKit.framework" ] |
23 configs += [ "//build/config/compiler:enable_arc" ] | 27 configs += [ "//build/config/compiler:enable_arc" ] |
24 } | 28 } |
25 | 29 |
26 source_set("main") { | 30 source_set("main") { |
27 sources = [ | 31 sources = [ |
28 "main.mm", | 32 "main.mm", |
29 ] | 33 ] |
30 deps = [ | 34 deps = [ |
31 ":core", | 35 ":core", |
(...skipping 14 matching lines...) Expand all Loading... | |
46 testonly = true | 50 testonly = true |
47 sources = [ | 51 sources = [ |
48 "showcase_egtest.mm", | 52 "showcase_egtest.mm", |
49 ] | 53 ] |
50 deps = [ | 54 deps = [ |
51 "//ios/showcase/test", | 55 "//ios/showcase/test", |
52 "//ios/third_party/earl_grey", | 56 "//ios/third_party/earl_grey", |
53 ] | 57 ] |
54 configs += [ "//build/config/compiler:enable_arc" ] | 58 configs += [ "//build/config/compiler:enable_arc" ] |
55 } | 59 } |
OLD | NEW |