naiveproxy/ios/chrome/browser/ui/icons/BUILD.gn
2018-02-02 05:49:39 -05:00

53 lines
1.4 KiB
Plaintext

# Copyright 2016 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("icons") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"chrome_icon.h",
"chrome_icon.mm",
]
deps = [
"//base",
"//ios/chrome/app/strings",
"//third_party/material_design_icons:ic_arrow_back",
"//third_party/material_design_icons:ic_chevron_right",
"//third_party/material_design_icons:ic_close",
"//third_party/material_design_icons:ic_info",
"//third_party/material_design_icons:ic_search",
"//ui/base",
]
libs = [
"CoreGraphics.framework",
"UIKit.framework",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"chrome_icon_unittest.mm",
]
deps = [
":icons",
"//ios/chrome/app/strings",
"//testing/gtest",
"//third_party/ocmock",
"//ui/base",
]
configs += [ "//build/config/compiler:enable_arc" ]
}
# TODO(crbug.com/734054): remove this target when the downstream repository
# has been fixed to directly depends on the individual targets.
group("assets") {
deps = [
"//third_party/material_design_icons:ic_arrow_back",
"//third_party/material_design_icons:ic_chevron_right",
"//third_party/material_design_icons:ic_close",
"//third_party/material_design_icons:ic_info",
"//third_party/material_design_icons:ic_search",
]
}