diff options
author | ncbray@chromium.org <ncbray@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-07 22:25:56 +0000 |
---|---|---|
committer | ncbray@chromium.org <ncbray@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-07 22:25:56 +0000 |
commit | 5a246999dda2dd518d88f160294a071b4dd6486b (patch) | |
tree | 5919b84ae962cba13bac7ef58c532b40b54bf7ac | |
parent | 0c3ec6f308d635090e2d3c68798313f764153888 (diff) | |
download | chromium_src-5a246999dda2dd518d88f160294a071b4dd6486b.zip chromium_src-5a246999dda2dd518d88f160294a071b4dd6486b.tar.gz chromium_src-5a246999dda2dd518d88f160294a071b4dd6486b.tar.bz2 |
Consolidate list of NaCl SCons files in Chrome repo.
BUG= http://code.google.com/p/chromium/issues/detail?id=154400
Review URL: https://chromiumcodereview.appspot.com/11312103
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166533 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | ppapi/native_client/chrome_main.scons | 69 | ||||
-rw-r--r-- | ppapi/native_client/ppapi_scons_files.py | 32 |
2 files changed, 37 insertions, 64 deletions
diff --git a/ppapi/native_client/chrome_main.scons b/ppapi/native_client/chrome_main.scons index e18e5d1..c9d8692 100644 --- a/ppapi/native_client/chrome_main.scons +++ b/ppapi/native_client/chrome_main.scons @@ -17,14 +17,6 @@ Import(['pre_base_env']) # Underlay things migrating to ppapi repo. Dir('#/..').addRepository(Dir('#/../ppapi')) -# Load a config file from the Chrome repo. This allows scons files to be added -# and removed in Chrome without requiring a DEPS roll. -ppapi_scons_files = {} -execfile( - File('#/../ppapi/native_client/ppapi_scons_files.py').abspath, - {}, # Globals - ppapi_scons_files) - # Append a list of files to another, filtering out the files that already exist. # Filtering helps migrate declarations between repos by preventing redundant # declarations from causing an error. @@ -37,30 +29,43 @@ def ExtendFileList(existing, additional): combined.add(file_name) return sorted(combined) -ppapi_scons_files['nonvariant_test_scons_files'] = ExtendFileList( - ppapi_scons_files.get('nonvariant_test_scons_files', []), [ - 'tests/nacl_browser/browser_dynamic_library/nacl.scons', - 'tests/nacl_browser/inbrowser_test_runner/nacl.scons', - 'tests/nacl_browser/manifest_file/nacl.scons', - 'tests/nacl_browser/nameservice/nacl.scons', - 'tests/nacl_browser/postmessage_redir/nacl.scons', - ]) - -ppapi_scons_files['irt_variant_test_scons_files'] = ExtendFileList( - ppapi_scons_files.get('irt_variant_test_scons_files', []), [ - # Disabled by Brad Chen 4 Sep to try to green Chromium - # nacl_integration tests - #'tests/nacl_browser/fault_injection/nacl.scons', - 'tests/nacl_browser/pnacl_client_translator/nacl.scons', - ]) - -ppapi_scons_files['untrusted_scons_files'] = ExtendFileList( - ppapi_scons_files.get('untrusted_scons_files', []), [ - 'src/untrusted/irt_stub/nacl.scons', - 'src/untrusted/nacl_ppapi_util/nacl.scons', - 'src/untrusted/pnacl_irt_shim/nacl.scons', - 'src/untrusted/pnacl_support_extension/nacl.scons', - ]) + +ppapi_scons_files = {} +ppapi_scons_files['trusted_scons_files'] = [] +ppapi_scons_files['untrusted_irt_scons_files'] = [] + +ppapi_scons_files['nonvariant_test_scons_files'] = [ + 'tests/breakpad_crash_test/nacl.scons', + 'tests/nacl_browser/browser_dynamic_library/nacl.scons', + 'tests/nacl_browser/inbrowser_test_runner/nacl.scons', + 'tests/nacl_browser/manifest_file/nacl.scons', + 'tests/nacl_browser/nameservice/nacl.scons', + 'tests/nacl_browser/postmessage_redir/nacl.scons', + 'tests/ppapi/nacl.scons', + 'tests/ppapi_browser/bad/nacl.scons', + 'tests/ppapi_browser/crash/nacl.scons', + 'tests/ppapi_browser/extension_mime_handler/nacl.scons', + 'tests/ppapi_browser/manifest/nacl.scons', + 'tests/ppapi_browser/ppb_instance/nacl.scons', + 'tests/ppapi_browser/ppp_instance/nacl.scons', + 'tests/ppapi_test_lib/nacl.scons', +] + +ppapi_scons_files['irt_variant_test_scons_files'] = [ + # Disabled by Brad Chen 4 Sep to try to green Chromium + # nacl_integration tests + #'tests/nacl_browser/fault_injection/nacl.scons', + 'tests/nacl_browser/pnacl_client_translator/nacl.scons', +] + +ppapi_scons_files['untrusted_scons_files'] = [ + 'src/shared/ppapi/nacl.scons', + 'src/untrusted/irt_stub/nacl.scons', + 'src/untrusted/nacl_ppapi_util/nacl.scons', + 'src/untrusted/pnacl_irt_shim/nacl.scons', + 'src/untrusted/pnacl_support_extension/nacl.scons', +] + EXTRA_ENV = ['XAUTHORITY', 'HOME', 'DISPLAY', 'SSH_TTY', 'KRB5CCNAME'] diff --git a/ppapi/native_client/ppapi_scons_files.py b/ppapi/native_client/ppapi_scons_files.py deleted file mode 100644 index 15775dee..0000000 --- a/ppapi/native_client/ppapi_scons_files.py +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright (c) 2012 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. - - -trusted_scons_files = [ -] - - -# Untrusted libraries for use by user code. -untrusted_scons_files = [ - 'src/shared/ppapi/nacl.scons', -] - - -# Untrusted libraries for use by system code. -untrusted_irt_scons_files = [ -] - - -nonvariant_test_scons_files = [ - 'tests/breakpad_crash_test/nacl.scons', - 'tests/ppapi/nacl.scons', - 'tests/ppapi_browser/bad/nacl.scons', - 'tests/ppapi_browser/crash/nacl.scons', - 'tests/ppapi_browser/extension_mime_handler/nacl.scons', - 'tests/ppapi_browser/manifest/nacl.scons', - 'tests/ppapi_browser/ppb_instance/nacl.scons', - 'tests/ppapi_browser/ppp_instance/nacl.scons', - 'tests/ppapi_test_lib/nacl.scons', -] - |