98 Commits

Author SHA1 Message Date
Hixie
d96b1e84ca Silence skyanalyzer's complaints about third-party packages. 2015-09-01 13:22:44 -07:00
Etienne Membrives
83209d65a5 Upload sky_viewer symbols to Google Storage.
With this change, each time sky_viewer.mojo is uploaded to Google
Storage (both for Linux and Android), debugging symbols are also
uploaded in a symbols/ subdirectory.
2015-09-01 18:07:59 +02:00
Adam Barth
bd01a89958 Update skydoc.py now that dartdoc is in the Dart SDK
Now that dartdoc is part of the Dart SDK, we can use the SDK version directly.
2015-08-30 13:38:54 -07:00
Adam Barth
e25c6aafa3 Remove --only from run_tests
This feature is built into package:test. We don't need to reimplement it
poorly.
2015-08-28 14:39:53 -07:00
James Robinson
3c7f75853a Remove //gpu and GLES* headers from third_party/khronos
This gets rid of the rest of the files in //gpu and the GLES{2,3}
headers from //third_party/khronos. The GL headers used for GLES{2,3}
come from the platform being targetted, that is
//mojo/public/c/gpu/GLES2 for Mojo,
//third_party/android_tools/ndk/platforms/android-XX/usr/include/GLES2
for Android and the OpenGL framework for Mac/iOS.

The //third_party/khronos/EGL headers are still being used by some
utility code in //ui/gl. This code is only really useful on Android, as
Sky doesn't use EGL on iOS/Mac/Mojo, but it's compiled in on all
platforms currently and relies on some EGL defines that are not set in
the EGL headers we currently use. These could probably be removed
without much trouble.

The //third_party/khronos/GLES2 headers are still used by some of
//ui/gl on iOS. These should be using the iOS OpenGL framework headers,
and will in the future.

Removes the unneeded KHRONOS_APICALL override from KHR/khrplatform.h

Rolls to a newer Mojo SDK that doesn't expect //third_party/khronos
2015-08-28 13:26:57 -07:00
James Robinson
ac393ede71 Remove //gpu and other unused code
Oneline diffstat: 489 files changed, 4 insertions(+), 186980
deletions(-)

This deletes all of //gpu (except for one export header) and
various bits of //mojo/{gpu,gles2} that are
not used. SkyShell on Android/iOS/etc bind to the system's GL
driver via //ui/gl. sky_viewer.mojo
binds to the Mojo C entry points.
2015-08-27 16:38:20 -07:00
James Robinson
8b4bdd242d Use C bindings to Mojo GL entry points exclusively 2015-08-27 15:58:24 -07:00
Adam Barth
fb58c4a7eb Add a basic test for DatePicker
Most of this work in this patch is building out the test framework to the point
where we can write this test.
2015-08-26 13:38:05 -07:00
Adam Barth
412a4a9e27 Merge pull request #827 from jamesr/mojo_roll_d259eb58aa59e14a13d5e0dc3984b855b475ba09
Update to mojo d259eb58aa59e14a13d5e0dc3984b855b475ba09
2015-08-25 15:02:52 -07:00
James Robinson
c8eff5e44f Update to mojo d259eb58aa59e14a13d5e0dc3984b855b475ba09
This updates to mojo commit d259eb58aa59 and limits the roll script to
only pull in the parts of //mojo that are currently being used. More
stuff will be dropped in the future.
2015-08-25 14:56:25 -07:00
Adam Barth
0f5e9b2a5e test_sky shouldn't run skyanalyzer
If we want to run the analyzer, we should do that as a separate step.
2015-08-25 14:20:40 -07:00
Devon Carew
8f84614e63 fix skydoc.py to work with the latest dartdoc 2015-08-25 11:24:15 -07:00
Adam Barth
125509931f Run tests one-at-a-time on Travis
Hopefully this will reduce the flakiness we're seeing on the bot.
2015-08-22 08:05:25 -07:00
Adam Barth
1133c5c0ef Introduce sky/unit/test
This patch adds a new test harness and a first, trivial test to run with the
harness. The new test harness is built on package:test and should run on
Travis. Over time, we'll migrate our existing tests into this harness.
2015-08-20 21:01:13 -07:00
Adam Barth
b5fe9b4465 Include sky_snapshot in the binary artifacts
We'll need sky_snapshot to produce skyx files and eventually APKs.
2015-08-20 15:42:43 -07:00
Hixie
3cc25bb255 Fix analyzer to not change the working directory.
I didn't understand what was going on before. Now I do. This is a better fix that making the path absolute.
2015-08-17 16:57:08 -07:00
Hixie
108f3b6b75 Analyzer updates
- Remove shelldb analyze, since we want to remove shelldb.
- Make skyanalyzer pass the absolute path to dartanalyzer. I'm not
  sure why this is sometimes needed, but without it, I sometimes get
  file not found errors.
- Remove some of the patterns we were ignoring, since either the
  errors have been fixed or the analyzer has been fixed.

There's still hundreds of warnings in the mojo and sky packages (the
ones in the sky packages are all bogus, I believe).
2015-08-17 15:42:34 -07:00
Chinmay Garde
f86f0ed5ad Merge pull request #652 from chinmaygarde/master
Avoid disabling extra clang plugins on iOS
2015-08-17 13:40:07 -07:00
Chinmay Garde
e7226be712 Avoid disabling extra clang plugins on iOS 2015-08-17 13:17:26 -07:00
Eric Seidel
42f60c2b18 Remove more dead code from roll_apk_version
Also fixed the url in roll_pub_versions CHANGELOG.md message.

@abarth
2015-08-17 13:16:13 -07:00
Eric Seidel
a71cded95c Split roll_versions.py into apk vs. pub 2015-08-17 12:43:16 -07:00
Adam Barth
5228dc67e6 sky_snapshot should work with absolute paths
Instead of appending the first path component, we should use it to initialize
`result`. That makes this code work with absolute paths.
2015-08-13 09:11:24 -07:00
Ian Fischer
2a697e2cd4 Merge pull request #510 from iansf/move_examples
Move examples to the root
2015-08-07 18:32:18 -07:00
Ian Fischer
3c8291a828 Move example out of sky/packages to //examples 2015-08-07 17:04:50 -07:00
Adam Barth
fa0c0c4e40 Rev pub packages
Also, teach big_red_button how to make a REVISION file in sky_engine/lib.
2015-08-07 15:07:36 -07:00
Collin Jackson
c9cc8951d2 Use the new virtual directory flag for sky_server instead of a symlink 2015-08-07 13:09:13 -07:00
Eric Seidel
50251ab254 Add a few bits of documentation to package:sky
I can't really make further progress until at least:
https://github.com/dart-lang/dartdoc/issues/766
is resolved, ideally also:
https://github.com/dart-lang/dartdoc/issues/763

@abarth
2015-08-04 17:38:46 -07:00
Eric Seidel
89405c4c3b Fix skydoc to work again
@abarth
2015-08-04 15:27:26 -07:00
Adam Barth
6942e9557e Fix skyanalyzer
Our supressions for the generated mojom.dart files weren't working after we
deleted the mojom package. This CL updates the filters to catch mojom.dart
files again.
2015-08-03 10:00:52 -07:00
Adam Barth
a6017e214d Remove sky:init
Now that we don't have a magicaly mojom package, we don't need sky:init.
2015-08-01 19:02:54 -07:00
John McCutchan
e95a0b2d89 Don't upload things again in stage two 2015-07-31 10:49:46 -07:00
John McCutchan
414da6628e Continue to upload binaries as part of stage 1 2015-07-31 10:43:52 -07:00
John McCutchan
82fca35f7e whitespace 2015-07-31 10:42:16 -07:00
John McCutchan
9432cb2b64 Add a --stage-two to big_red_button.py 2015-07-31 10:41:24 -07:00
Eric Seidel
67266d7717 Teach roll_versions about sky_services and add mising CHANGELOG.md files
@abarth
2015-07-30 12:33:56 -07:00
John McCutchan
26d3132909 Fix patch application 2015-07-30 10:57:47 -07:00
John McCutchan
afb9b33680 Automatically apply patches for mojo and chromium rolls 2015-07-30 10:46:31 -07:00
Adam Barth
c2365b9298 Remove pub spam during the build
When using `pub run`, we need to set the PUB_CACHE environment variable to
//dart-pub-cache in order to use the Dart packages we downloaded during
`gclient sync`.
2015-07-29 23:38:52 -07:00
Adam Barth
052a8fc747 Remove //tonic dependency
We don't import //tonic, which makes this dependency a gn-time failure.
Fortunately, we don't build this target anyway, so we can just remove this
line.
2015-07-29 21:12:22 -07:00
Adam Barth
54a744e9e1 Fix spurious skyanalyzer failures
We need to update our regexps because we moved the mojom and mojo packages.
2015-07-29 16:37:02 -07:00
Adam Barth
bfe37ce2dc Teach setup_dart_analyzer about workbench 2015-07-28 16:05:20 -07:00
Hans Muller
36813aff27 add --fatal-warnings to dartanalyzer command line 2015-07-28 14:34:54 -07:00
Hans Muller
493a69a113 Merge pull request #319 from HansMuller/fix-skyanalyzer
specify --package-root
2015-07-28 12:37:48 -07:00
Hans Muller
ba99e9582c specify --package-root 2015-07-28 12:35:15 -07:00
Eric Seidel
0eb4c0af8a Make test_sky work on Mac!
We still have a few tests failing, I believe
due to different font metrics.  Otherwise this works!

R=abarth@google.com
2015-07-28 11:31:42 -07:00
Adam Barth
eb8329455a Move sky package into sky/packages/sky
This patch makes the sky package match the structure we've adopted for the
other Dart packages we produce from this repo.
2015-07-28 08:42:57 -07:00
Adam Barth
aaa5c9fb0e Teach test_sky about workbench
Previously test_sky was broken because it was still trying to use the
DEPS-based Dart packages.
2015-07-27 22:20:04 -07:00
Adam Barth
b74c187eda Teach skyanalyzer about workbench
Hopefully this will make Travis green again.
2015-07-27 20:54:19 -07:00
Adam Barth
c975de294d Remove skygo
We no longer use sky_server.go. This patch removes it.
2015-07-27 16:11:15 -07:00
Adam Barth
fa5326a3a3 Break the dependency on Go-based sky_server
We now use the Dart sky_server in shelldb.
2015-07-27 15:38:42 -07:00