Skip to content

Commit

Permalink
Bug 1102215: Move security/sandbox/chromium/base/shim/ to new directo…
Browse files Browse the repository at this point in the history
…ry security/sandbox/chromium-shim/ r=ted

--HG--
rename : security/sandbox/chromium/base/shim/base/gtest_prod_util.h => security/sandbox/chromium-shim/base/gtest_prod_util.h
rename : security/sandbox/chromium/base/shim/base/logging.cpp => security/sandbox/chromium-shim/base/logging.cpp
rename : security/sandbox/chromium/base/shim/base/strings/string_piece.h => security/sandbox/chromium-shim/base/strings/string_piece.h
rename : security/sandbox/chromium/base/shim/base/third_party/nspr/prtime.h => security/sandbox/chromium-shim/base/third_party/nspr/prtime.h
rename : security/sandbox/chromium/base/shim/base/third_party/nspr/prtypes.h => security/sandbox/chromium-shim/base/third_party/nspr/prtypes.h
rename : security/sandbox/chromium/base/shim/base/threading/thread_local_storage.h => security/sandbox/chromium-shim/base/threading/thread_local_storage.h
rename : security/sandbox/chromium/base/shim/base/tracked_objects.h => security/sandbox/chromium-shim/base/tracked_objects.h
rename : security/sandbox/chromium/base/shim/base/win/registry.h => security/sandbox/chromium-shim/base/win/registry.h
rename : security/sandbox/chromium/base/shim/sdkdecls.h => security/sandbox/chromium-shim/base/win/sdkdecls.h
rename : security/sandbox/win/src/logging/loggingCallbacks.h => security/sandbox/chromium-shim/sandbox/win/loggingCallbacks.h
rename : security/sandbox/win/src/logging/loggingTypes.h => security/sandbox/chromium-shim/sandbox/win/loggingTypes.h
rename : security/sandbox/win/src/logging/sandboxLogging.cpp => security/sandbox/chromium-shim/sandbox/win/sandboxLogging.cpp
rename : security/sandbox/win/src/logging/sandboxLogging.h => security/sandbox/chromium-shim/sandbox/win/sandboxLogging.h
  • Loading branch information
bobowen committed Jan 22, 2015
1 parent 2b11d85 commit ec569ff
Show file tree
Hide file tree
Showing 18 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion mozilla-config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
* Note that this include path relies on the LOCAL_INCLUDES in that file.
*/
#if defined(CHROMIUM_SANDBOX_BUILD) && defined(XP_WIN)
#include "base/shim/sdkdecls.h"
#include "base/win/sdkdecls.h"
#endif

#endif /* _MOZILLA_CONFIG_H_ */
Expand Down
4 changes: 2 additions & 2 deletions security/sandbox/linux/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ EXPORTS.mozilla += [
]

SOURCES += [
'../chromium/base/shim/base/logging.cpp',
'../chromium-shim/base/logging.cpp',
'../chromium/sandbox/linux/seccomp-bpf/basicblock.cc',
'../chromium/sandbox/linux/seccomp-bpf/codegen.cc',
'../chromium/sandbox/linux/seccomp-bpf/die.cc',
Expand All @@ -38,7 +38,7 @@ if '-flto' in CONFIG['OS_CXXFLAGS'] and not CONFIG['CLANG_CXX']:
DEFINES['NS_NO_XPCOM'] = True
DISABLE_STL_WRAPPING = True

LOCAL_INCLUDES += ['/security/sandbox/chromium/base/shim']
LOCAL_INCLUDES += ['/security/sandbox/chromium-shim']
LOCAL_INCLUDES += ['/security/sandbox/chromium']

if CONFIG['OS_TARGET'] != 'Android':
Expand Down
8 changes: 4 additions & 4 deletions security/sandbox/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ elif CONFIG['OS_ARCH'] == 'WINNT':
DIRS += ['win/wow_helper']

EXPORTS.mozilla.sandboxing += [
'win/src/logging/loggingCallbacks.h',
'win/src/logging/loggingTypes.h',
'win/src/logging/sandboxLogging.h',
'chromium-shim/sandbox/win/loggingCallbacks.h',
'chromium-shim/sandbox/win/loggingTypes.h',
'chromium-shim/sandbox/win/sandboxLogging.h',
]

include('objs.mozbuild')
Expand All @@ -39,7 +39,7 @@ elif CONFIG['OS_ARCH'] == 'WINNT':
'NOMINMAX', '_CRT_RAND_S', 'CHROMIUM_SANDBOX_BUILD'):
DEFINES[var] = True

LOCAL_INCLUDES += ['/security/sandbox/chromium/base/shim']
LOCAL_INCLUDES += ['/security/sandbox/chromium-shim']
LOCAL_INCLUDES += ['/security/sandbox/chromium']
LOCAL_INCLUDES += ['/security']
LOCAL_INCLUDES += ['/nsprpub']
Expand Down
4 changes: 2 additions & 2 deletions security/sandbox/objs.mozbuild
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

if CONFIG['OS_ARCH'] == 'WINNT':
security_sandbox_lcppsrcs = [
'chromium-shim/base/logging.cpp',
'chromium-shim/sandbox/win/sandboxLogging.cpp',
'chromium/base/at_exit.cc',
'chromium/base/base_switches.cc',
'chromium/base/callback_internal.cc',
Expand All @@ -16,7 +18,6 @@ if CONFIG['OS_ARCH'] == 'WINNT':
'chromium/base/location.cc',
'chromium/base/memory/ref_counted.cc',
'chromium/base/memory/singleton.cc',
'chromium/base/shim/base/logging.cpp',
'chromium/base/strings/nullable_string16.cc',
'chromium/base/strings/string_number_conversions.cc',
'chromium/base/strings/string_piece.cc',
Expand Down Expand Up @@ -60,7 +61,6 @@ if CONFIG['OS_ARCH'] == 'WINNT':
'win/src/interception.cc',
'win/src/interception_agent.cc',
'win/src/job.cc',
'win/src/logging/sandboxLogging.cpp',
'win/src/named_pipe_dispatcher.cc',
'win/src/named_pipe_interception.cc',
'win/src/named_pipe_policy.cc',
Expand Down
2 changes: 1 addition & 1 deletion security/sandbox/staticruntime/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if CONFIG['OS_ARCH'] == 'WINNT':
'NOMINMAX', '_CRT_RAND_S', 'CHROMIUM_SANDBOX_BUILD'):
DEFINES[var] = True

LOCAL_INCLUDES += ['/security/sandbox/chromium/base/shim']
LOCAL_INCLUDES += ['/security/sandbox/chromium-shim']
LOCAL_INCLUDES += ['/security/sandbox/chromium']
LOCAL_INCLUDES += ['/security']
LOCAL_INCLUDES += ['/nsprpub']
Expand Down

0 comments on commit ec569ff

Please sign in to comment.