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

Unified Diff: components/webp_transcode/BUILD.gn

Issue 1442043002: Port //components/webp_transcode to build with gn. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@password_manager
Patch Set: Created 5 years, 1 month 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 | « components/webp_transcode.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/webp_transcode/BUILD.gn
diff --git a/components/webp_transcode/BUILD.gn b/components/webp_transcode/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..2e15974db0b60cbd537664b669b0ced03b6ff066
--- /dev/null
+++ b/components/webp_transcode/BUILD.gn
@@ -0,0 +1,38 @@
+# Copyright 2015 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",
+ "webp_network_client.h",
+ "webp_network_client.mm",
+ "webp_network_client_factory.h",
+ "webp_network_client_factory.mm",
+ ]
+
+ deps = [
+ "//base",
+ "//ios/net",
+ "//net",
+ "//third_party/libwebp:libwebp_dec",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "webp_decoder_unittest.mm",
+ "webp_network_client_unittest.mm",
+ ]
+
+ deps = [
+ "//base",
+ "//net",
+ "//testing/gmock",
+ "//testing/gtest",
+ "//third_party/ocmock",
+ ":webp_transcode",
+ ]
+}
« no previous file with comments | « components/webp_transcode.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698