Jeremy Apthorp
da319e7828
build: [gn] redirect //chrome:packed_resources to //electron's version
2018-07-25 14:22:30 -07:00
Jeremy Apthorp
9b66eb4f04
build: [gn] resolve resource path conflict
...
Code in //ui expects resources to exist in fixed locations, namely:
- chrome_100_percent.pak
- chrome_200_percent.pak
- locales/{locale_code}.pak
alongside `chrome.exe`. However, Electron puts different things in those .pak
files than the chrome build does, and needs to generate them in the same place,
which causes GN to throw errors (despite the fact that no target in the
transitive dependencies from //electron causes the //chrome version of those
resources to be generated).
2018-07-25 13:27:05 -07:00
Jeremy Apthorp
3f719e942b
build: [gn win] link against static crt in non-component builds ( #610 )
...
Fixes link errors of the form:
```
node.lib(node_lib.Protocol.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in atom_main.obj
```
This is because in the GN build, node is linked statically instead of
dynamically in non-component builds.
2018-07-25 09:14:43 -07:00
Cheng Zhao
d5fa13e0cd
Revert "fix: backport of process metrics fix from chromium ( #591 )"
...
This reverts commit a5e6964a1d
.
2018-07-25 15:35:51 +09:00
Birunthan Mohanathas
659aa83375
build: Ship libbase_static.a for macOS/Linux ( #609 )
...
Needed for using e.g. `switches::kEnableFeatures` in
electron/electron#13784 .
2018-07-25 08:27:13 +10:00
Jeremy Apthorp
108379153e
Merge pull request #606 from electron/apply-patches-dir
...
build: add --folder arg to apply-patches
2018-07-20 14:32:55 -07:00
Jeremy Apthorp
d51a1cce4a
Merge branch 'master' into apply-patches-dir
2018-07-20 14:32:00 -07:00
John Kleinschmidt
97cae4a61d
Merge pull request #605 from electron/mas-refactor
...
build: refactor mas patches
2018-07-20 17:31:06 -04:00
John Kleinschmidt
57786dd82b
Merge pull request #604 from electron/rm-jenkins
...
chore: remove unused Jenkinsfile
2018-07-20 14:39:32 -04:00
Jeremy Apthorp
7b2a223333
build: merge patches/mas into patches/common
...
All the code in the MAS patches was generic enough to be patched in all
the time (it's guarded by #ifdefs, and the define is toggled by the
build).
2018-07-19 16:09:15 -07:00
Jeremy Apthorp
921c94a458
build: add --folder arg to apply-patches
...
This allows one to apply folders of patches by hand more easily.
2018-07-19 15:19:48 -07:00
Jeremy Apthorp
f11f66be68
build: define is_mas_build as a GN arg
...
This is to support the GN build, which won't read the MAS_BUILD
environment variable, and will instead rely on the GN args system to
toggle between MAS/non-MAS.
2018-07-19 14:54:33 -07:00
Jeremy Apthorp
d83ef59ae7
chore: remove unused Jenkinsfile
2018-07-19 14:39:28 -07:00
John Kleinschmidt
a4c59c8494
Merge pull request #601 from electron/sysroot-patch
...
build: [gn] use electron's custom sysroots
2018-07-17 09:23:44 -04:00
Jeremy Apthorp
7939762f73
build: [gn] use electron's custom sysroots
2018-07-16 16:24:21 -07:00
John Kleinschmidt
83a05b94ef
Merge pull request #600 from electron/fix-static-download
...
Fix static download
2018-07-16 14:49:07 -04:00
John Kleinschmidt
d3dd72c9d5
Fix static download
2018-07-16 12:36:59 -04:00
John Kleinschmidt
ff1c994b0e
Merge pull request #590 from electron/fix-percentage
...
build: improve percentage output in download script
2018-07-13 15:58:39 -04:00
John Kleinschmidt
bdfcdb0fe1
Only show download stats when verbose is used.
2018-07-13 13:40:31 -04:00
John Kleinschmidt
44c01668ad
Read 1mb instead of 1024 bytes
...
Also fix percentage sign
2018-07-13 11:34:54 -04:00
John Kleinschmidt
727c2135a7
Merge pull request #598 from electron/gn-libgtkui-export
...
build: [gn] export libgtkui symbols
2018-07-12 08:03:20 -04:00
John Kleinschmidt
0a75ed8fb4
Merge branch 'master' into gn-libgtkui-export
2018-07-12 08:02:01 -04:00
John Kleinschmidt
11a120cc05
Merge pull request #597 from electron/gn-gtk-visibility
...
build: [gn] allow electron targets to depend on gtk
2018-07-12 07:59:21 -04:00
Jeremy Apthorp
2a04fc1b1e
build: [gn] export libgtkui symbols
2018-07-11 13:56:17 -07:00
Jeremy Apthorp
8e608a697e
build: [gn] allow electron targets to depend on gtk
2018-07-11 13:44:41 -07:00
Jeremy Apthorp
a55a9ce536
chore: remove no-longer-needed WTL patch ( #592 )
2018-07-11 09:16:26 -05:00
Charles Kerr
679db0e255
fix: syntax error introduced in 84560753
2018-07-11 09:03:59 -05:00
Samuel Attard
8a067a04b0
build: fix badly named config file ( #594 )
2018-07-11 23:27:11 +10:00
Samuel Attard
65e40275ff
build: set up trop authorized users ( #593 )
2018-07-11 23:25:00 +10:00
Tomas Rycl
a5e6964a1d
fix: backport of process metrics fix from chromium ( #591 )
...
* #13605 backport of process metrics fix from chromium
* Patch moved from dcheck.patch to separate backport file patch
* Update patches list
* Patch newline fix
* Doc fixes
2018-07-11 23:21:59 +10:00
Cheng Zhao
37fdf6d4e0
Disable DCHECKs related to ScrollBegin event ( #589 )
2018-07-11 10:29:21 +09:00
Samuel Attard
8456075339
chore: remove unsued variable in filesystem script
2018-07-11 10:39:31 +10:00
Samuel Attard
c842414712
build: improve percentage output in download script
2018-07-10 21:02:03 +10:00
Jeremy Apthorp
19bfc75e29
chore: [gn] build icu & v8 statically in GN build
...
When building Electron with GN in release mode, all code is linked
statically into a single binary, including node & v8. This is in
contrast to the GYP build, in which node, v8 and icu are linked as a
shared library (due to openssl symbol conflicts).
This change adds a `is_electron_gn_build` flag which defaults to false,
allowing those libraries to be built statically in the GN build, but
be built as a shared library when libcc is to be consumed by the GYP
build of Electron.
2018-07-09 16:17:58 -07:00
John Kleinschmidt
5ad14b5561
Merge pull request #588 from electron/update-appveyor
...
Removing appveyor.yml in favor of defaults (master)
2018-07-06 16:04:38 -04:00
John Kleinschmidt
d469fc34cd
Removing appveyor.yml in favor of defaults
...
Removing this appveyor configuration in order to use the AppVeyor defaults which will use a Visual Studio 2017 only VM which is needed for chromium 66 and higher.
2018-07-06 13:05:34 -04:00
John Kleinschmidt
c95b4db525
Merge pull request #586 from electron/fix-vsts-prs
...
Force VSTS to update status for PR builds
2018-07-06 11:18:22 -04:00
John Kleinschmidt
989b58d06c
Force VSTS to update status
...
For PR builds on branches we don't build anything, but we need to do something so that VSTS updates the status on GitHub for the pr builds.
2018-07-05 14:19:59 -04:00
John Kleinschmidt
c6a9dc157d
Merge pull request #584 from electron/better-download-progress
...
build: improve the download script to show percentage / ratio progress of libcc download
2018-07-05 07:06:02 -04:00
Samuel Attard
4516433f23
build: improve the download script to show percentage / ratio progress of libcc download
2018-07-04 15:54:25 +10:00
Cheng Zhao
93add92996
fix assertion when preventDefault is called for new-window ( #583 )
2018-07-04 11:13:35 +09:00
Alexey Kuzmin
a1716f0b92
Revert "Revert "Disable a DCHECK in process_metrics_win.cc"" ( #579 )
2018-07-02 12:55:45 +09:00
Cheng Zhao
e10f1215e8
fix: Remove some new private APIs in MAS build ( #580 )
...
Remove some new private APIs in MAS build
2018-07-02 10:08:10 +09:00
Cheng Zhao
03e665c80b
fix: remove sandbox APIs in mas build
2018-06-29 09:55:42 +09:00
Cheng Zhao
07696b03d9
fix: remove IOBluetoothPreferenceSetControllerPowerState in mas build
2018-06-29 09:55:41 +09:00
Cheng Zhao
a39f388c49
fix: remove call to dyld_dynamic_interpose in mas build
2018-06-29 09:55:12 +09:00
Cheng Zhao
0628cd925e
fix: do not check for unique origin in CacheStorage ( #577 )
2018-06-28 10:06:37 +09:00
Jeremy Apthorp
8a35d4f45a
chore: fix WTL warnings when building w GN ( #576 )
...
Chromium doesn't use this bit of WTL, so they haven't bothered to fix the warnings that are generated in these headers.
2018-06-26 23:19:12 +02:00
John Kleinschmidt
d8223436fc
Merge pull request #573 from electron/torycl/process-metrics-enabled-again
...
Revert "Disable a DCHECK in process_metrics_win.cc"
2018-06-22 10:34:18 -04:00
John Kleinschmidt
76d1dc5929
Merge pull request #569 from electron/pepper_flash_feature
...
build: move pepper flash behind feature flag
2018-06-21 12:04:36 -04:00