81 Commits

Author SHA1 Message Date
James Robinson
8305580497 Switch from gnu++11 to c++11 on android and linux (#2819) 2016-07-22 16:02:32 -07:00
Jason Simmons
2d6510295c Do not upgrade the version of google_play_services in third_party/android_tools (#2798)
The setup instructions for engine development ask users to run build/install-build-deps-android.sh,
which updates the Android SDK packages listed in android_sdk_extras.json

This process was upgrading the Play Services package to a version that is incompatible
with our build scripts.
2016-07-13 15:45:00 -07:00
Ian Hickson
6303108d45 Drop GCM (#2795) 2016-07-13 14:42:38 -07:00
Chinmay Garde
fe69b034c0 Remove dependencies on ui, third_party/mesa and mojo/convertors. Provide simple alternatives. (#2783) 2016-07-12 14:47:44 -07:00
Ian Hickson
f8b2cca611 clang -Wextra (more all that -Wall) (#2766)
I noticed this while doing the libjpeg_turbo roll.
2016-06-17 12:38:10 -07:00
Ian Hickson
1db82fde82 Update libjpeg_turbo (#2764)
* Update libjpeg_turbo

* Update our libjpeg_turbo BUILD.gn file

This brings in this file from upstream:
https://chromium.googlesource.com/chromium/src/+/master/build/secondary/third_party/libjpeg_turbo/BUILD.gn

* We don't always build with libjpeg

...so the libjpeg target isn't always available.
2016-06-17 12:16:43 -07:00
Adam Barth
211f2d4afb Revert base roll and its fallout.
Updating base turns out to be more complicated than I thought.

This reverts commit daa822aae70a8ab860ed8f085cdadf6987c28d03.
This reverts commit c38428c7b98951e2cccf6b38881eabd87786da49.
This reverts commit 4b73a8a0486d45081c5dde4e2c51c32d1376250b.
2016-06-15 17:30:27 -07:00
Adam Barth
4b73a8a048 Roll base (#2761)
Update base, gn, and their clients.
2016-06-15 14:52:53 -07:00
Jason Simmons
9cb0aa1ac9 Enable compression when building flutter.jar (#2592)
Fixes https://github.com/flutter/flutter/issues/3234
2016-04-11 11:41:13 -07:00
Chinmay Garde
ed3014b3d3 Bump up the mac_sdk_min GN arg to 10.8 and fix deprecated declaration.
Required by the Dart dependency.
2016-04-06 11:20:04 -07:00
Adam Barth
832367a53d Add GLFW support to //ui/gl
This patch is the first step towards getting the GLFW configuration up and
running.
2016-03-24 15:59:22 -07:00
Chinmay Garde
bc1f8702c8 Be explicit about the sysroot in the toolchain definition instead of inferring the same from active arguments. 2016-03-24 12:10:00 -07:00
Chinmay Garde
4e3e95a591 Remove unused toolchain definitions. 2016-03-23 12:58:37 -07:00
Chinmay Garde
176d38a81c Add a ios_clang_x64 toolchain definition for iOS simulator builds
Earlier, the default arm toolchain was modified depending on whether the use_ios_simulator flag was set. This was causing issues with mutliarch GN builds.
2016-03-23 12:39:23 -07:00
Adam Barth
b7419de14a Temporary fix for Mac builds 2016-03-23 09:48:02 -07:00
Adam Barth
2a3cd84010 Import GLFW into //third_party/glfw
This patch includes GLFW 3.1.2.
2016-03-15 14:46:46 -07:00
Jason Simmons
982a6f0ef6 Build a Flutter.jar output for use by Android projects built without the Flutter tools
Flutter.jar contains the Flutter engine Java code, native code and resources.
It can be incorporated into projects built with external build systems such as Gradle.
2016-03-10 14:41:33 -08:00
Collin Jackson
37258b6113 Support for jars with large numbers of classes 2016-02-26 17:45:22 -08:00
James Robinson
1a0f9670b0 Enable building for Android using clang for target builds 2016-02-19 14:07:57 -08:00
Adam Barth
511ade3287 Trigger a landmine to reset Android SDK extras 2016-02-12 09:13:22 -08:00
James Robinson
760b864368 Enable threadsafe static initialization (aka 'magic statics') 2016-02-09 18:10:19 -08:00
Chinmay Garde
6c46cfed8f iOS: Dont strip release binaries 2016-02-04 13:06:30 -08:00
Adam Barth
3327046f87 Fix gn build error
We need to specify this variable now that we're sharing base with
mojo.git.
2016-01-28 23:49:06 -08:00
Chinmay Garde
0d446703bf iOS: Implementation of ::activity::Activity from activity.mojom 2016-01-27 15:01:53 -08:00
Matt Perry
0ee5a29163 Support dynamic registration of mojo services on Android
SkyApplication now reads service info from a services.json file bundled
with the apk. For each service, it registers a method that invokes
connectToService on a named class. This way, third party services can
register themselves.

There's a corresponding change to flutter_tools to generate this
services.json when building an apk that depends on services.
2016-01-21 16:55:51 -05:00
Matt Perry
703fc11784 Fix android BUILD.gn to match Chromium's latest.
Also disable proguard. It's unnecessary and breaks compilation of GCM
(in a separate patch).
2016-01-05 12:29:32 -05:00
Chinmay Garde
d8e9f2cdcf Disable symbol stripping on iOS simulator 2015-12-10 16:05:52 -08:00
George Kulakowski
24b3902f19 Don't warn on maybe-uninitialized in fnl
Our GCC picks up on a bunch of these in release. Suppress this until we
switch to Clang.
2015-12-03 13:44:14 -08:00
Chinmay Garde
34d60a60d3 Only strip executable in release builds on Mac/iOS 2015-11-30 11:55:46 -08:00
Adam Barth
2c031f12e1 Simplify Linux build config 2015-11-21 16:57:12 -08:00
Chinmay Garde
c3cdbaa1e9 Strip executables on Mac and iOS 2015-11-20 11:43:35 -08:00
Jason Simmons
5aa1119ef6 Upload artifacts as a zip file
* Include all the artifacts required to build an APK package
* In addition to the zip, some files will be uploaded separately:
  * libflutter_library.so (large debug symbol library)
  * flutter.mojo (needs to be downloadable from the target device)
2015-11-18 16:40:21 -08:00
George Kulakowski
e60e50386a Add fnl build configuration 2015-11-18 13:07:19 -08:00
George Kulakowski
a8bbe66cb9 Remove use_glib gn variable 2015-11-17 13:01:31 -08:00
Chinmay Garde
a6a497ba3f Inability to find a codesigning identity is not a fatal error 2015-11-14 18:03:02 -08:00
Chinmay Garde
a6defe46a4 Extract jinja template rule from Android specific rules 2015-11-09 16:49:37 -08:00
Adam Barth
08cd77ebf4 Drop dbus pkg_config, we don't need it 2015-11-03 23:01:27 -08:00
Chinmay Garde
024aecd78a Set the default linker run time search path on Mac and iOS 2015-11-03 14:10:33 -08:00
Chinmay Garde
b0e2a42045 Default to a known code signing identity when a new XCode project harness is generated 2015-10-27 16:45:49 -07:00
Chinmay Garde
33f8df16d1 Remove ios_active_arch and directly specify arm64 vs armv7 preference via target_cpu 2015-10-27 15:58:55 -07:00
Chinmay Garde
ab05c8b0d0 Add a clang_i386 toolchain definition to build/toolchain/mac 2015-10-26 15:41:56 -07:00
Chinmay Garde
d6ff8e90b0 Switch to using precompiled snapshots on iOS 2015-10-22 17:27:40 -07:00
Adam Barth
be426a20e7 Mark SkyShell as debuggable
This patch makes it easier to work with SkyShell on non-rooted devices.
2015-10-13 13:56:02 -07:00
Chinmay Garde
de0de50eae Fix Build Break (iOS): Add -std=c++11 to cflags_objcc 2015-10-12 14:22:56 -07:00
Chinmay Garde
51092532b7 Make path to PlistBuddy in the Xcode harness script for symbolicating the binary absolute. 2015-09-30 11:02:20 -07:00
Chinmay Garde
3637a569d8 Prefer a specific provisioning profile when none is explicitly provided 2015-09-25 10:20:58 -07:00
Adam Barth
54cbc1b84e Strip Linux binaries
We distribute some Linux binaries. It's useful for them to be small.
2015-09-21 15:25:21 -07:00
Chinmay Garde
b7c1f7531d Avoid generating dSYM files using GN rules. 2015-08-28 12:08:20 -07:00
Chinmay Garde
04b3bb15e3 Manually specify all files part of the XcodeProj in the GN rule 2015-08-28 10:55:52 -07:00
Chinmay Garde
beb9ee9aa0 Fix warnings about multiple targets generating the Xcode harness 2015-08-28 10:31:15 -07:00