Chromium Code Reviews| Index: ios/chrome/browser/ui/bubble_promo/BUILD.gn |
| diff --git a/ios/chrome/browser/ui/bubble_promo/BUILD.gn b/ios/chrome/browser/ui/bubble_promo/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..5278b9661473f6bc266db52bc50c5cd0d0971cdd |
| --- /dev/null |
| +++ b/ios/chrome/browser/ui/bubble_promo/BUILD.gn |
| @@ -0,0 +1,30 @@ |
| +# Copyright 2017 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. |
| + |
| +source_set("bubble_promo") { |
| + configs += [ "//build/config/compiler:enable_arc" ] |
| + sources = [ |
| + "bubble_view.h", |
| + "bubble_view.mm", |
| + "bubble_view_controller.h", |
| + "bubble_view_controller.mm", |
| + ] |
| + deps = [ |
| + "//base", |
| + ] |
| + libs = [ "UIKit.framework" ] |
| +} |
| + |
| +source_set("unit_tests") { |
|
gchatz
2017/07/07 04:29:10
This target is never depended on. So need to add i
helenlyang
2017/07/07 23:29:15
Done. I added it to ios_chrome_unittests in ios/ch
|
| + configs += [ "//build/config/compiler:enable_arc" ] |
| + testonly = true |
| + sources = [ |
| + "bubble_view_controller_unittest.mm", |
| + ] |
| + deps = [ |
| + ":bubble_promo", |
| + "//base", |
| + "//testing/gtest", |
| + ] |
| +} |