1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
From bfa42ae7f5251a65fd90a68d0914384b7e63b8ad Mon Sep 17 00:00:00 2001
From: Elvis Pranskevichus <elvis@magic.io>
Date: Mon, 8 Feb 2016 15:12:12 -0500
Subject: [PATCH] libchromiumcontent build fixes
---
chromiumcontent/chromiumcontent.gyp | 6 +++---
chromiumcontent/chromiumcontent.gypi | 22 ----------------------
2 files changed, 3 insertions(+), 25 deletions(-)
diff --git a/chromiumcontent/chromiumcontent.gyp b/chromiumcontent/chromiumcontent.gyp
index ddaa0b9..cc8c7c6 100644
--- a/chromiumcontent/chromiumcontent.gyp
+++ b/chromiumcontent/chromiumcontent.gyp
@@ -24,11 +24,11 @@
},
{
'target_name': 'chromiumcontent',
- # Build chromiumcontent as shared_library otherwise some static libraries
- # will not build.
- 'type': 'shared_library',
+ 'type': 'static_library',
'dependencies': [
'<(DEPTH)/base/base.gyp:base_prefs',
+ '<(DEPTH)/chrome/chrome_resources.gyp:packed_extra_resources',
+ '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources',
'<(DEPTH)/components/components.gyp:cdm_renderer',
'<(DEPTH)/components/components.gyp:devtools_discovery',
'<(DEPTH)/components/components.gyp:devtools_http_handler',
diff --git a/chromiumcontent/chromiumcontent.gypi b/chromiumcontent/chromiumcontent.gypi
index 73bc78a..53694e7 100644
--- a/chromiumcontent/chromiumcontent.gypi
+++ b/chromiumcontent/chromiumcontent.gypi
@@ -1,18 +1,5 @@
{
'variables': {
- # Don't use nacl.
- 'disable_nacl': 1,
- # Enalbe using proprietary codecs.
- 'proprietary_codecs': 1,
- # Build ffmpeg as shared library.
- 'ffmpeg_component': 'shared_library',
- # Enable support for Widevine CDM.
- 'enable_widevine': 1,
- # Using libc++ requires building for >= 10.7.
- 'mac_deployment_target': '10.8',
- # Use the standard way of linking with msvc runtime.
- 'win_use_allocator_shim': 0,
- 'win_release_RuntimeLibrary': '2',
# The V8 libraries.
'v8_libraries': '["v8", "v8_snapshot", "v8_nosnapshot", "v8_external_snapshot", "v8_base", "v8_libbase", "v8_libplatform"]',
# The icu libraries.
@@ -23,15 +10,6 @@
'v8_use_external_startup_data': 1,
}],
['OS=="linux"', {
- # Enable high DPI support on Linux.
- 'enable_hidpi': 1,
- # Use Dbus.
- 'use_dbus': 1,
- # Make Linux build contain debug symbols, this flag will add '-g' to
- # cflags.
- 'linux_dump_symbols': 1,
- # Force using gold linker.
- 'linux_use_bundled_gold': 1,
'conditions': [
['target_arch=="arm"', {
'arm_version': 7,
--
2.7.3
|