summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authormseaborn@chromium.org <mseaborn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-07 18:31:57 +0000
committermseaborn@chromium.org <mseaborn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-07 18:31:57 +0000
commitef2a93887a5e3b508acb30b259d86cb1b09a0e91 (patch)
treede29af8b731a07647653aa1e2bbdf0105a24c384 /ppapi
parent74da9802d417810e1e84078700a883662b03893c (diff)
downloadchromium_src-ef2a93887a5e3b508acb30b259d86cb1b09a0e91.zip
chromium_src-ef2a93887a5e3b508acb30b259d86cb1b09a0e91.tar.gz
chromium_src-ef2a93887a5e3b508acb30b259d86cb1b09a0e91.tar.bz2
NaCl: Make include_rules stricter for native_client/ headers
Eventually we want to restrict to #including from native_client/src/public. Until then, restrict the include_rules to more specific files and directories to prevent inadvertent creep in what Chromium depends on from NaCl. BUG=https://code.google.com/p/nativeclient/issues/detail?id=2832 TEST=run checkdeps R=bradnelson@google.com, teravest@chromium.org Review URL: https://codereview.chromium.org/144003024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249728 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/native_client/src/trusted/plugin/DEPS11
-rw-r--r--ppapi/proxy/DEPS4
-rw-r--r--ppapi/shared_impl/DEPS2
3 files changed, 11 insertions, 6 deletions
diff --git a/ppapi/native_client/src/trusted/plugin/DEPS b/ppapi/native_client/src/trusted/plugin/DEPS
index c7f3a6b..8f7ae24 100644
--- a/ppapi/native_client/src/trusted/plugin/DEPS
+++ b/ppapi/native_client/src/trusted/plugin/DEPS
@@ -1,6 +1,11 @@
include_rules = [
- "+native_client/src/shared/imc",
- "+native_client/src/shared/srpc",
- "+native_client/src/trusted",
+ "+native_client/src/shared/imc/nacl_imc_c.h",
+ "+native_client/src/trusted/desc",
+ "+native_client/src/trusted/nonnacl_util/sel_ldr_launcher.h",
+ "+native_client/src/trusted/platform_qualify/nacl_os_qualify.h",
+ "+native_client/src/trusted/reverse_service/reverse_service.h",
+ "+native_client/src/trusted/service_runtime/include",
+ "+native_client/src/trusted/service_runtime/nacl_error_code.h",
+ "+native_client/src/trusted/validator/nacl_file_info.h",
"+third_party/jsoncpp",
]
diff --git a/ppapi/proxy/DEPS b/ppapi/proxy/DEPS
index bedac79..6ebcb8e 100644
--- a/ppapi/proxy/DEPS
+++ b/ppapi/proxy/DEPS
@@ -17,7 +17,7 @@ include_rules = [
# The untrusted build references the NaCl integrated runtime (IRT).
"+native_client/src/public",
- "+native_client/src/shared",
- "+native_client/src/untrusted"
+ "+native_client/src/shared/srpc/nacl_srpc.h",
+ "+native_client/src/untrusted/irt/irt_ppapi.h",
]
diff --git a/ppapi/shared_impl/DEPS b/ppapi/shared_impl/DEPS
index 48f8c43..9490875 100644
--- a/ppapi/shared_impl/DEPS
+++ b/ppapi/shared_impl/DEPS
@@ -8,7 +8,7 @@ include_rules = [
"+webkit/common/fileapi/file_system_types.h",
# The untrusted build references the NaCl integrated runtime (IRT).
- "+native_client/src/untrusted/irt",
+ "+native_client/src/untrusted/irt/irt_ppapi.h",
"-ppapi/cpp",
"-ppapi/proxy",