mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-06 16:56:55 +08:00
add .gn file for gn builds
using a stripped down gn file from webrtc. BUG=libyuv:411,libyuv:519 R=kjellander@chromium.org Review URL: https://codereview.chromium.org/1417613007 .
This commit is contained in:
parent
860cc0357a
commit
c2bff1a1af
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,4 @@
|
|||||||
*.pyc
|
*.pyc
|
||||||
.gn
|
|
||||||
pin-log.txt
|
pin-log.txt
|
||||||
/base
|
/base
|
||||||
/build
|
/build
|
||||||
|
|||||||
44
.gn
Normal file
44
.gn
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
# Copyright 2015 The LibYuv Project Authors. All rights reserved.
|
||||||
|
#
|
||||||
|
# Use of this source code is governed by a BSD-style license
|
||||||
|
# that can be found in the LICENSE file in the root of the source
|
||||||
|
# tree. An additional intellectual property rights grant can be found
|
||||||
|
# in the file PATENTS. All contributing project authors may
|
||||||
|
# be found in the AUTHORS file in the root of the source tree.
|
||||||
|
|
||||||
|
# The location of the build configuration file.
|
||||||
|
buildconfig = "//build/config/BUILDCONFIG.gn"
|
||||||
|
|
||||||
|
# The secondary source root is a parallel directory tree where
|
||||||
|
# GN build files are placed when they can not be placed directly
|
||||||
|
# in the source tree, e.g. for third party source trees.
|
||||||
|
secondary_source = "//build/secondary/"
|
||||||
|
|
||||||
|
# These are the targets to check headers for by default. The files in targets
|
||||||
|
# matching these patterns (see "gn help label_pattern" for format) will have
|
||||||
|
# their includes checked for proper dependencies when you run either
|
||||||
|
# "gn check" or "gn gen --check".
|
||||||
|
check_targets = [ "//libyuv/*" ]
|
||||||
|
|
||||||
|
# These are the list of GN files that run exec_script. This whitelist exists
|
||||||
|
# to force additional review for new uses of exec_script, which is strongly
|
||||||
|
# discouraged except for gypi_to_gn calls.
|
||||||
|
exec_script_whitelist = [
|
||||||
|
"//build/config/android/BUILD.gn",
|
||||||
|
"//build/config/android/config.gni",
|
||||||
|
"//build/config/android/internal_rules.gni",
|
||||||
|
"//build/config/android/rules.gni",
|
||||||
|
"//build/config/compiler/BUILD.gn",
|
||||||
|
"//build/config/gcc/gcc_version.gni",
|
||||||
|
"//build/config/ios/ios_sdk.gni",
|
||||||
|
"//build/config/linux/BUILD.gn",
|
||||||
|
"//build/config/linux/pkg_config.gni",
|
||||||
|
"//build/config/mac/mac_sdk.gni",
|
||||||
|
"//build/config/posix/BUILD.gn",
|
||||||
|
"//build/config/win/visual_studio_version.gni",
|
||||||
|
"//build/gn_helpers.py",
|
||||||
|
"//build/gypi_to_gn.py",
|
||||||
|
"//build/toolchain/gcc_toolchain.gni",
|
||||||
|
"//build/toolchain/mac/BUILD.gn",
|
||||||
|
"//build/toolchain/win/BUILD.gn",
|
||||||
|
]
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: libyuv
|
Name: libyuv
|
||||||
URL: http://code.google.com/p/libyuv/
|
URL: http://code.google.com/p/libyuv/
|
||||||
Version: 1530
|
Version: 1531
|
||||||
License: BSD
|
License: BSD
|
||||||
License File: LICENSE
|
License File: LICENSE
|
||||||
|
|
||||||
|
|||||||
@ -11,6 +11,6 @@
|
|||||||
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
||||||
#define INCLUDE_LIBYUV_VERSION_H_
|
#define INCLUDE_LIBYUV_VERSION_H_
|
||||||
|
|
||||||
#define LIBYUV_VERSION 1530
|
#define LIBYUV_VERSION 1531
|
||||||
|
|
||||||
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user