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

Side by Side Diff: third_party/openh264/openh264.gyp

Issue 2308173002: Remove gypi integration from libaddressinput and openh264 (Closed)
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « third_party/openh264/BUILD.gn ('k') | third_party/openh264/openh264.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6 'includes': [
7 'openh264.gypi',
8 'openh264_args.gypi',
9 ],
10 # Settings shared by all openh264 targets.
11 'target_defaults': {
12 'conditions': [
13 ['OS!="win"', {
14 # GCC and clang flags.
15 'variables': {
16 'openh264_cflags_add': [
17 '-Wno-format',
18 '-Wno-unused-value',
19 ],
20 'openh264_cflags_remove': [
21 '-Wall',
22 '-Wheader-hygiene',
23 ],
24 },
25 'cflags': [ '<@(openh264_cflags_add)' ],
26 'cflags!': [ '<@(openh264_cflags_remove)' ],
27 'xcode_settings': {
28 'WARNING_CFLAGS': [ '<@(openh264_cflags_add)' ],
29 'WARNING_CFLAGS!': [ '<@(openh264_cflags_remove)' ],
30 },
31 }, {
32 # The land of special cases: Windows.
33 'conditions': [
34 ['clang==0', {
35 # MSVS compiler uses warning numbers instead of cflags.
36 'msvs_disabled_warnings': [
37 4324, # structure was padded
38 4245, # signed/unsigned mismatch
39 4701, # uninitialized variable used
40 4702, # unreachable code
41 ],
42 }, {
43 # For clang on windows, |cflags| is mysteriously ignored and we
44 # resort to using |AdditionalOptions| instead.
45 'msvs_settings': {
46 'VCCLCompilerTool': {
47 'AdditionalOptions': [
48 '-Wno-unused-function',
49 '-Wno-unused-value',
50 ],
51 'AdditionalOptions!': [
52 '-Wheader-hygiene',
53 ],
54 },
55 },
56 }],
57 ],
58 }],
59 ['OS=="android"', {
60 'defines': [
61 # Android NDK is necessary for its cpufeatures and this define is
62 # what OpenH264 code uses to check if it should be used.
63 'ANDROID_NDK',
64 ],
65 }],
66 ],
67 },
68 'targets': [
69 {
70 'target_name': 'openh264_common',
71 'type': 'static_library',
72 'conditions': [
73 ['OS=="android"', {
74 'dependencies': [
75 # Defines "android_get/setCpu..." functions. The original
76 # OpenH264 build files replaces these using macros for
77 # "wels_..." versions of the same functions. We do not have
78 # access to these and use the <cpu-features.h> ones instead.
79 '<(DEPTH)/build/android/ndk.gyp:cpu_features',
80 ],
81 }],
82 ],
83 'include_dirs+': [ '<@(openh264_common_includes)' ],
84 'sources': [ '<@(openh264_common_sources)' ],
85 },
86 {
87 'target_name': 'openh264_processing',
88 'type': 'static_library',
89 'dependencies': [
90 'openh264_common',
91 ],
92 'include_dirs+': [ '<@(openh264_processing_includes)' ],
93 'sources': [ '<@(openh264_processing_sources)' ],
94 },
95 {
96 'target_name': 'openh264_encoder',
97 'type': 'static_library',
98 'dependencies': [
99 'openh264_common',
100 'openh264_processing',
101 ],
102 'include_dirs+': [ '<@(openh264_encoder_includes)' ],
103 'sources': [ '<@(openh264_encoder_sources)' ],
104 },
105 ],
106 }
OLDNEW
« no previous file with comments | « third_party/openh264/BUILD.gn ('k') | third_party/openh264/openh264.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698