Commit graph

124 commits

Author SHA1 Message Date
Cheng Zhao
847dc32f74 Suppress compiler warning 2015-05-23 11:10:40 +08:00
Cheng Zhao
c60fcc4c9a Turn off incremental linking for Release build 2015-05-20 13:52:24 +08:00
Cheng Zhao
d350e73dff win: Link with msvcrt dll for Release build 2015-05-12 17:00:18 +08:00
Cheng Zhao
7e88fe107d linux: Pass v8 snapshot's fd to child process 2015-04-21 21:43:30 +08:00
Cheng Zhao
4769e21e3d Add required defines under 32bit Linux 2015-04-12 08:15:57 +00:00
Cheng Zhao
36e6243085 linux: Define _LARGEFILE_SOURCE 2015-04-12 07:56:14 +00:00
Cheng Zhao
2e7b3f0d78 win: Optimize for size 2015-04-11 23:28:41 +08:00
Cheng Zhao
5bb9c180f9 win: Don't use _x64 targets 2015-04-11 18:58:46 +08:00
Cheng Zhao
a1b682cd50 Debug_Base and Release_Base configs are abstract 2015-04-11 12:07:14 +08:00
Cheng Zhao
b85b08ef8c Separate V8 libraries from other libraries 2015-04-09 20:48:27 +08:00
Cheng Zhao
62e9452831 win: Do not use link time code generation
It causes problems on Windows
2015-04-09 14:39:52 +08:00
Cheng Zhao
a8eb750efa win: Cleanup the compiler settings 2015-04-09 14:26:33 +08:00
Cheng Zhao
02ee07c4a0 win: No need to set default linked libraries 2015-04-09 13:38:54 +08:00
Cheng Zhao
9d921afff0 win: Remove unused config variables 2015-04-09 13:33:44 +08:00
Cheng Zhao
794b459ccd linux: Work around linker OOM on 32bit target 2015-04-09 12:05:42 +08:00
Cheng Zhao
6e3de02554 mac: "xcode_settings" doesn't work under "configurations" 2015-04-09 11:30:01 +08:00
Cheng Zhao
8a1a39b7b1 Add flag to build with clang 2015-04-09 10:49:36 +08:00
Cheng Zhao
0ae78f98eb mac: Improve configs for Release build 2015-04-09 10:41:26 +08:00
Cheng Zhao
48966c3046 Move filename rules to another file 2015-04-09 10:03:01 +08:00
Cheng Zhao
62d845f09e linux: Improve building flags for Release build 2015-04-09 09:58:07 +08:00
Cheng Zhao
2ef9e85f5e Remove linux_clang option 2015-04-08 19:20:51 +08:00
Cheng Zhao
92ce000bb2 win: Link with DLL version of vcrt in component build 2015-04-07 13:48:09 +08:00
Cheng Zhao
512deae254 Fix generating configs on OS X and Linux 2015-04-06 21:41:36 +08:00
Cheng Zhao
9934985974 win: Link with libraries from other places 2015-04-06 16:01:31 +08:00
Cheng Zhao
3b5edb461a win: Fix linking with libyuv 2015-04-06 15:04:07 +08:00
Cheng Zhao
7b7a94140d win: Fix defines under component build 2015-04-06 14:19:28 +08:00
Cheng Zhao
9fd0f7e78e win: Add configurations for x64 build 2015-04-05 23:03:34 +08:00
Cheng Zhao
f9f891bd03 win: Fix libchromiumcontent_src_dir not defined 2015-04-05 22:51:38 +08:00
Cheng Zhao
5ef7a0d1da Use "D" and "R" as short names 2015-04-03 11:39:03 +08:00
Cheng Zhao
d9056135d7 Link with libboringssl.dylib 2015-04-03 11:37:27 +08:00
Cheng Zhao
038afadd1b mac: Link with all necessary system libraries 2015-04-03 09:56:03 +08:00
Cheng Zhao
4977741f35 Set libraries' path according to libchromiumcontent_component variable 2015-04-02 22:14:18 +08:00
Cheng Zhao
faac37a85c Only do component build in Debug mode 2015-04-02 15:11:15 +08:00
Cheng Zhao
7e41b9e44d Link with component build shared libraries 2015-04-02 14:05:43 +08:00
DC
9aa2fd9119 Fix the build on Linux
See https://github.com/atom/atom-shell/issues/1074 for details
2015-01-30 03:54:30 -08:00
Haojian Wu
f922419f03 Use libc++ on mac. 2015-01-26 22:38:01 +08:00
Cheng Zhao
01fde40299 Fix compilation warning on Windows 2014-12-10 13:26:57 -08:00
Cheng Zhao
f0e46a4728 Add skia related defines. 2014-08-31 18:28:53 +08:00
Cheng Zhao
8ff2683ae8 Ignore warning 4189 on Windows.
The warning comes from mojo/public/cpp/system/core.h.
2014-07-28 12:12:14 +08:00
Cheng Zhao
a0ee4a9bf1 Ignore C4819 warning in VS. 2014-07-09 20:04:30 +08:00
Cheng Zhao
2682f3db87 Ignore *_views files on mac. 2014-07-09 10:26:01 +08:00
Cheng Zhao
bc6237375e Define TOOLKIT_VIEWS for Linux. 2014-07-09 10:26:01 +08:00
Cheng Zhao
7f5b84fdea Aura has replaced GTK+ in Linux. 2014-07-09 10:24:10 +08:00
Adam Roben
a1cf58f811 Link against chromiumviews
This is needed for InspectableWebContentsViewWin.
2014-07-07 13:53:02 -04:00
Adam Roben
78dd3390f5 Define USE_AURA for Windows
This is true inside of libchromiumcontent, so we need to mirror that here.
2014-06-27 13:40:06 -04:00
Cheng Zhao
167b2f5881 '-std=gnu++11' is also needed by g++. 2014-01-01 02:29:27 +00:00
Cheng Zhao
13f816b4bb Add flag to disable clang under Linux. 2013-12-31 11:11:46 +00:00
Cheng Zhao
1a09de0956 The 'ARCHS' key should be an array.
The ninja generator only supports setting the 'ARCHS' key as array, and
ninja does not support '$(ARCHS_STANDARD_64_BIT)' too. The 'x86_64' is
accepted by both ninja and xcodebuild, and is also used by node.
2013-12-10 23:54:46 -08:00
Adam Roben
c9c218edc6 Update to 64-bit libchromiumcontent
* vendor/libchromiumcontent 4252769...5cce386 (1):
  > Merge pull request #31 from brightray/mac-x64
2013-12-02 16:37:06 -05:00
Patrick Reynolds
5e7359bc5a don't build Linux sources on other platforms 2013-11-12 11:51:25 -06:00
Patrick Reynolds
f6784a1801 move gtk dependency to brightray 2013-11-12 10:19:42 -06:00
Patrick Reynolds
90db457258 move -fno-rtti into brightray.gypi target_defaults 2013-11-09 01:03:46 -06:00
Adam Roben
22ea2073df Compile as C++11 on Linux 2013-08-14 08:14:54 -04:00
Adam Roben
7f3afbaf3d Force building with Clang on Linux to get C++11 support 2013-08-14 08:14:54 -04:00
Adam Roben
d27a984378 Define USE_X11 on Linux 2013-08-06 17:29:08 -04:00
Adam Roben
29237e21ce Always build 32-bit in Xcode
libchromiumcontent is 32-bit-only, so we need to match.
2013-07-08 12:17:48 -04:00
Adam Roben
9ad77c4a38 Implement undocked dev tools on Windows
DevToolsWindow represents a vanilla top-level window that shows the dev tools.
It uses ui::WindowImpl to implement window functionality, which requires a
newer libchromiumcontent which contains the necessary headers for using that
class, and requires some modifications to brightray.gypi to make WTL's  headers
available.

* vendor/libchromiumcontent 2f53a96...fc02d93 (4):
  > Export third_party/wtl/include headers
  > Export test_support_base.pdb and test_support_content.pdb
  > Fix linker errors with test_support_base on Windows
  > Fix linker errors with base_prefs_test_support on Windows
2013-06-04 14:33:29 -04:00
Adam Roben
2582e8561c Update to Chromium r202921
* vendor/libchromiumcontent 0d02a8d...2f53a96 (1):
  > Merge pull request #14 from brightray/latest-chromium
2013-05-30 15:07:32 -04:00
Adam Roben
70af1f351f Automatically exclude platform-specific files for all targets
This way embedding applications don't have to do this themselves, as long as
they follow our naming conventions.
2013-05-28 14:27:57 -04:00
Adam Roben
427ba96062 Set up linker defaults for Windows
These match Chromium's defaults.
2013-05-28 11:56:50 -04:00
Adam Roben
3f40456161 Make our Windows build settings actually take effect
We need to put them inside the target_defaults dictionary. Now that these
settings are turned on, we need to ignore some warnings that Chromium ignores.
2013-05-28 11:56:17 -04:00
Adam Roben
37d847c416 Fix linker errors about __imp___CrtDbgReportW
We were linking against the release CRT but defining _DEBUG, which should only
be defined when using the debug CRT.
2013-05-28 11:55:25 -04:00
Adam Roben
1ec7280663 Link against the DLL version of the CRT
* vendor/libchromiumcontent 04ccdd8...31efc77 (3):
  > Use the DLL version of the CRT
  > Generate libchromiumcontent-symbols.zip on Windows
  > Fix exporting of WebKit symbols
2013-05-22 14:00:31 -04:00
Adam Roben
6a8ee865f4 Fix linker errors about missing Win32 APIs 2013-05-22 13:55:56 -04:00
Adam Roben
12773cff6e Fix linker errors about missing registry APIs 2013-05-22 13:55:54 -04:00
Adam Roben
7f463b8962 Give clients access to libchromiumcontent's src directory
* vendor/libchromiumcontent 15ada44...65b85bf (2):
  > Export content/app/startup_helper_win.cc to clients
  > Rename dist/include to dist/src
2013-05-22 13:55:12 -04:00
Adam Roben
4c0765b413 Use __declspec(dllimport) for functions from chromiumcontent.dll 2013-05-22 13:55:11 -04:00
Adam Roben
35f4dfe4b0 Add some more default build settings for Windows 2013-05-22 13:55:02 -04:00
Adam Roben
ae7331da82 Add some build defaults for Windows
These came from Chromium's build/common.gypi file.
2013-05-16 09:15:55 -04:00
Adam Roben
73d467d657 Turn off C++ exceptions
We weren't using them anyway, and don't intend to. This matches Chromium.
2013-04-26 14:13:45 -04:00
Adam Roben
1a1fecf423 Bump the base SDK and deployment target to 10.8
This required working around an incompatibility in base/mac/foundation_util.h.
2013-03-28 17:50:07 -04:00
Adam Roben
e4e4cb6ec4 Allow embedders to customize the deployment target and base SDK 2013-03-28 15:56:35 -04:00
Adam Roben
4bff7a592a Enforce better header hygiene
Apple recommends disabling ALWAYS_SEARCH_USER_PATHS, so we now do. And we also
disable USE_HEADER_MAP to match other platforms more closely.
2013-03-14 13:06:17 -04:00
Adam Roben
e451d92121 Initial commit 2013-03-13 15:31:24 -04:00