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

Unified Diff: third_party/BUILD.gn

Issue 1705523002: Remove libjpeg and libjpeg_turbo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 10 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 | « mojo/tools/mopy/gn.py ('k') | third_party/libjpeg/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/BUILD.gn
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn
deleted file mode 100644
index 261cb1fecec8bcf0772086edabe085fab48f240a..0000000000000000000000000000000000000000
--- a/third_party/BUILD.gn
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 2014 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.
-
-if (is_android) {
- import("//build/config/android/config.gni")
-}
-
-declare_args() {
- # Uses system libjpeg. If true, overrides use_libjpeg_turbo.
- use_system_libjpeg = false
-
- # Uses libjpeg_turbo as the jpeg implementation. Has no effect if
- # use_system_libjpeg is set.
- use_libjpeg_turbo = true
-}
-
-config("system_libjpeg_config") {
- defines = [ "USE_SYSTEM_LIBJPEG" ]
-}
-
-config("libjpeg_turbo_config") {
- defines = [ "USE_LIBJPEG_TURBO" ]
-}
-
-# This is a meta target that forwards to the system's libjpeg,
-# third_party/libjpeg, or third_party/libjpeg_turbo depending on the build args
-# declared in this file.
-group("jpeg") {
- if (use_system_libjpeg) {
- libs = [ "jpeg" ]
- public_configs = [ ":system_libjpeg_config" ]
- } else if (use_libjpeg_turbo) {
- deps = [
- "//third_party/libjpeg_turbo:libjpeg",
- ]
- public_configs = [ ":libjpeg_turbo_config" ]
- } else {
- deps = [
- "//third_party/libjpeg:libjpeg",
- ]
- }
-}
« no previous file with comments | « mojo/tools/mopy/gn.py ('k') | third_party/libjpeg/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698