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

Unified Diff: ios/chrome/browser/webp_transcode/BUILD.gn

Issue 2443373002: Split //ios/chrome/browser in multiple targets. (Closed)
Patch Set: Rebase Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/browser/web_resource/BUILD.gn ('k') | ios/chrome/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/webp_transcode/BUILD.gn
diff --git a/ios/chrome/browser/webp_transcode/BUILD.gn b/ios/chrome/browser/webp_transcode/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..499ec31ccb2f4cc48494ccfe2055a541b5505f8f
--- /dev/null
+++ b/ios/chrome/browser/webp_transcode/BUILD.gn
@@ -0,0 +1,46 @@
+# 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("webp_transcode") {
+ sources = [
+ "webp_decoder.h",
+ "webp_decoder.mm",
+ ]
+ deps = [
+ "//base",
+ "//third_party/libwebp:libwebp_dec",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "webp_decoder_unittest.mm",
+ ]
+ deps = [
+ ":webp_transcode",
+ ":webp_transcode_unit_tests_bundle_data",
+ "//base",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+ libs = [ "CoreGraphics.framework" ]
+}
+
+bundle_data("webp_transcode_unit_tests_bundle_data") {
+ visibility = [ ":unit_tests" ]
+ testonly = true
+ sources = [
+ "//ios/chrome/test/data/webp_transcode/test.jpg",
+ "//ios/chrome/test/data/webp_transcode/test.webp",
+ "//ios/chrome/test/data/webp_transcode/test_alpha.png",
+ "//ios/chrome/test/data/webp_transcode/test_alpha.webp",
+ "//ios/chrome/test/data/webp_transcode/test_small.tiff",
+ "//ios/chrome/test/data/webp_transcode/test_small.webp",
+ ]
+ outputs = [
+ "{{bundle_resources_dir}}/{{source_root_relative_dir}}/" +
+ "{{source_file_part}}",
+ ]
+}
« no previous file with comments | « ios/chrome/browser/web_resource/BUILD.gn ('k') | ios/chrome/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698