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

Unified Diff: BUILD.gn

Issue 1364033003: Use a group() instead of a static_library() (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 851759ca2d42cb50d445d3d843080ccb2c238ad3..a636c8c2d249e97242207d3222b2f5078c478257 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -2,11 +2,16 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-static_library("libvpx") {
- deps = [
- "//third_party/libvpx_new",
- ]
+# This config is applied to targets that depend on libvpx.
+config("libvpx_external_config") {
include_dirs = [
"//third_party/libvpx_new/source/libvpx",
]
}
+
+group("libvpx") {
+ public_deps = [
+ "//third_party/libvpx_new",
+ ]
+ public_configs = [ ":libvpx_external_config" ]
+}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698