Remove ipc and net, replacing with dependency in DEPS

Change-Id: I5a95cc475291b788981a09b3621bd0c18c01091c
This commit is contained in:
Kongqun Yang 2014-03-18 15:40:49 -07:00 committed by KongQun Yang
parent c8307c102e
commit ed5ecd64fd
7 changed files with 18 additions and 81 deletions

2
.gitignore vendored
View File

@ -7,6 +7,8 @@
/base/ /base/
/build/ /build/
/docs/ /docs/
/ipc/
/net/
/out/ /out/
/testing/ /testing/
/third_party/gflags/ /third_party/gflags/

16
DEPS
View File

@ -28,6 +28,22 @@ deps = {
"src/build": "src/build":
Var("chromium_svn") + "/src/build@" + Var("chromium_rev"), Var("chromium_svn") + "/src/build@" + Var("chromium_rev"),
# Required by base/metrics/stats_table.cc.
"src/ipc":
File(Var("chromium_svn") + "/src/ipc/ipc_descriptors.h@" + Var("chromium_rev")),
# Required by base isolate dependencies, although it is compiled off.
# Dependency chain:
# base/base.gyp <= base/base_unittests.isolate
# <= base/base.isolate
# <= build/linux/system.isolate
# <= net/third_party/nss/ssl.isolate
# <= net/third_party/nss/ssl_base.isolate
# We don't need to pull in the whole directory, but it doesn't seem possible
# to just pull in the two *.isolate files (ssl.isolate and ssl_base.isolate).
"src/net/third_party/nss":
Var("chromium_svn") + "/src/net/third_party/nss@" + Var("chromium_rev"),
"src/testing": "src/testing":
Var("chromium_svn") + "/src/testing@" + Var("chromium_rev"), Var("chromium_svn") + "/src/testing@" + Var("chromium_rev"),

View File

@ -1,7 +0,0 @@
Description:
This directory is included to resolve base/metrics/stats_table.cc dependency
on ipc/ipc_descriptors.h.
File(s):
ipc/ipc_descritors.h

View File

@ -1,19 +0,0 @@
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IPC_IPC_DESCRIPTORS_H_
#define IPC_IPC_DESCRIPTORS_H_
// This is a list of global descriptor keys to be used with the
// base::GlobalDescriptors object (see base/posix/global_descriptors.h)
enum {
kPrimaryIPCChannel = 0,
kStatsTableSharedMemFd,
// The first key that can be use to register descriptors.
kIPCDescriptorMax
};
#endif // IPC_IPC_DESCRIPTORS_H_

View File

@ -1,15 +0,0 @@
Description:
This directory is included to resolve gyp dependency on *.isolate when parsing
base.gyp. Although the involved target is supposed to compiled off, gyp
still tries to locate the included *.isolate. Refer below for the dependency
chain.
Dependency Chain:
base/base.gyp <= base/base_unittests.isolate <= base/base.isolate
<= build/linux/system.isolate <= net/third_party/nss/ssl.isolate
<= net/third_party/nss/ssl_base.isolate
File(s):
net/third_party/nss/ssl_base.isolate
net/third_party/nss/ssl.isolate

View File

@ -1,24 +0,0 @@
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'conditions': [
['OS=="mac" and component=="shared_library"', {
'variables': {
'isolate_dependency_tracked': [
'<(PRODUCT_DIR)/libcrssl.dylib',
],
},
}],
['OS=="win" and component=="shared_library"', {
'variables': {
'isolate_dependency_tracked': [
'<(PRODUCT_DIR)/crssl.dll',
],
},
}],
],
'includes': [
'ssl_base.isolate',
],
}

View File

@ -1,16 +0,0 @@
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# This is what is included by base_unittests.
{
'conditions': [
['OS=="linux" and component=="shared_library" and use_openssl==0', {
'variables': {
'isolate_dependency_tracked': [
'<(PRODUCT_DIR)/lib/libcrssl.so',
],
},
}],
],
}