This patch starts the process of porting Flutter to run on Fuchsia by
adding FTL to DEPS. We will eventually replace //base with //lib/ftl.
This commit is contained in:
Adam Barth
2016-08-01 14:32:51 -07:00
committed by GitHub
parent c7e72aa115
commit 046a577912
2 changed files with 29 additions and 2 deletions

20
DEPS
View File

@@ -19,6 +19,7 @@
vars = {
'chromium_git': 'https://chromium.googlesource.com',
'fuchsia_git': 'https://fuchsia.googlesource.com',
'mojo_sdk_revision': 'b200aa62c93647a0421b9239804ef5ce1509ab20',
'base_revision': '672b04e54b937ec899429a6bd5409c5a6300d151',
'skia_revision': 'd1bdd1fcbd308afb9903f39d231742f5c951cf07',
@@ -37,16 +38,35 @@ vars = {
# If you need to add a new host, contact chrome infrastructure team.
allowed_hosts = [
'chromium.googlesource.com',
'fuchsia.googlesource.com',
'github.com',
]
deps = {
# Fuchsia compatibility
#
# The dependencies in this section should match the layout in the Fuchsia gn
# build. Eventually, we'll manage these dependencies together with Fuchsia
# and not have to specific specific hashes.
'src/lib/ftl':
Var('fuchsia_git') + '/ftl' + '@' + 'f9b68c2007cc11069bb5abadcf757f1dc61c51ea',
'src/third_party/gtest':
Var('fuchsia_git') + '/third_party/gtest' + '@' + 'c00f82917331efbbd27124b537e4ccc915a02b72',
# Chromium-style
#
# As part of integrating with Fuchsia, we should eventually remove all these
# Chromium-style dependencies.
'src/base':
Var('chromium_git') + '/external/github.com/domokit/base' + '@' + Var('base_revision'),
'src/buildtools':
Var('chromium_git') + '/chromium/buildtools.git' + '@' + Var('buildtools_revision'),
# TODO(abarth): Remove in favor of //third_party/gtest
'src/testing/gtest':
Var('chromium_git') + '/external/googletest.git' + '@' + '23574bf2333f834ff665f894c97bef8a5b33a0a9',

View File

@@ -177,6 +177,7 @@ if (current_os == "win") {
is_android = false
is_chromeos = false
is_fnl = false
is_fuchsia = false
is_ios = false
is_linux = false
is_mac = false
@@ -187,6 +188,7 @@ if (current_os == "win") {
is_android = false
is_chromeos = false
is_fnl = false
is_fuchsia = false
is_ios = false
is_linux = false
is_mac = true
@@ -197,6 +199,7 @@ if (current_os == "win") {
is_android = true
is_chromeos = false
is_fnl = false
is_fuchsia = false
is_ios = false
is_linux = false
is_mac = false
@@ -207,6 +210,7 @@ if (current_os == "win") {
is_android = false
is_chromeos = true
is_fnl = false
is_fuchsia = false
is_ios = false
is_linux = true
is_mac = false
@@ -220,6 +224,7 @@ if (current_os == "win") {
is_android = false
is_chromeos = false
is_fnl = false
is_fuchsia = false
is_ios = false
is_linux = false
is_mac = false
@@ -230,6 +235,7 @@ if (current_os == "win") {
is_android = false
is_chromeos = false
is_fnl = false
is_fuchsia = false
is_ios = true
is_linux = false
is_mac = false
@@ -240,16 +246,17 @@ if (current_os == "win") {
is_android = false
is_chromeos = false
is_fnl = false
is_fuchsia = false
is_ios = false
is_linux = true
is_mac = false
is_nacl = false
is_posix = true
is_win = false
} else if (current_os == "fnl") {
} else if (current_os == "fuchsia") {
is_android = false
is_chromeos = false
is_fnl = true
is_fuchsia = true
is_ios = false
is_linux = true
is_mac = false