Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(836)

Unified Diff: sandbox/win/BUILD.gn

Issue 960413003: Apply gn format with 'sources' sorting to src/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-format-sort-2
Patch Set: . Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sandbox/win/BUILD.gn
diff --git a/sandbox/win/BUILD.gn b/sandbox/win/BUILD.gn
index ac87fa5846c3e8b8228131886ba451c6d8d477ca..93c43436d3fef68fda0ea1d040cf1039d069c892 100644
--- a/sandbox/win/BUILD.gn
+++ b/sandbox/win/BUILD.gn
@@ -87,23 +87,23 @@ source_set("sandbox") {
"src/registry_policy.h",
"src/resolver.cc",
"src/resolver.h",
- "src/restricted_token_utils.cc",
- "src/restricted_token_utils.h",
"src/restricted_token.cc",
"src/restricted_token.h",
+ "src/restricted_token_utils.cc",
+ "src/restricted_token_utils.h",
+ "src/sandbox.cc",
+ "src/sandbox.h",
"src/sandbox_factory.h",
"src/sandbox_globals.cc",
"src/sandbox_nt_types.h",
"src/sandbox_nt_util.cc",
"src/sandbox_nt_util.h",
+ "src/sandbox_policy.h",
"src/sandbox_policy_base.cc",
"src/sandbox_policy_base.h",
- "src/sandbox_policy.h",
"src/sandbox_types.h",
"src/sandbox_utils.cc",
"src/sandbox_utils.h",
- "src/sandbox.cc",
- "src/sandbox.h",
"src/security_level.h",
"src/service_resolver.cc",
"src/service_resolver.h",
@@ -127,37 +127,37 @@ source_set("sandbox") {
"src/target_process.h",
"src/target_services.cc",
"src/target_services.h",
- "src/win_utils.cc",
- "src/win_utils.h",
"src/win2k_threadpool.cc",
"src/win2k_threadpool.h",
+ "src/win_utils.cc",
+ "src/win_utils.h",
"src/window.cc",
"src/window.h",
]
if (current_cpu == "x64") {
sources += [
+ "src/Wow64_64.cc",
"src/interceptors_64.cc",
"src/interceptors_64.h",
"src/resolver_64.cc",
"src/service_resolver_64.cc",
- "src/Wow64_64.cc",
]
} else if (current_cpu == "x86") {
sources += [
+ "src/Wow64.cc",
+ "src/Wow64.h",
"src/resolver_32.cc",
"src/service_resolver_32.cc",
- "src/sidestep_resolver.cc",
- "src/sidestep_resolver.h",
"src/sidestep/ia32_modrm_map.cpp",
"src/sidestep/ia32_opcode_map.cpp",
- "src/sidestep/mini_disassembler_types.h",
"src/sidestep/mini_disassembler.cpp",
"src/sidestep/mini_disassembler.h",
- "src/sidestep/preamble_patcher_with_stub.cpp",
+ "src/sidestep/mini_disassembler_types.h",
"src/sidestep/preamble_patcher.h",
- "src/Wow64.cc",
- "src/Wow64.h",
+ "src/sidestep/preamble_patcher_with_stub.cpp",
+ "src/sidestep_resolver.cc",
+ "src/sidestep_resolver.h",
]
}
@@ -190,10 +190,9 @@ test("sbox_integration_tests") {
"src/address_sanitizer_test.cc",
"src/app_container_test.cc",
"src/file_policy_test.cc",
+ "src/handle_closer_test.cc",
"src/handle_inheritance_test.cc",
"src/handle_policy_test.cc",
- "tests/integration_tests/integration_tests_test.cc",
- "src/handle_closer_test.cc",
"src/integrity_level_test.cc",
"src/ipc_ping_test.cc",
"src/named_pipe_policy_test.cc",
@@ -209,6 +208,7 @@ test("sbox_integration_tests") {
"tests/common/test_utils.cc",
"tests/common/test_utils.h",
"tests/integration_tests/integration_tests.cc",
+ "tests/integration_tests/integration_tests_test.cc",
]
deps = [
@@ -222,10 +222,10 @@ test("sbox_validation_tests") {
sources = [
"tests/common/controller.cc",
"tests/common/controller.h",
- "tests/validation_tests/unit_tests.cc",
"tests/validation_tests/commands.cc",
"tests/validation_tests/commands.h",
"tests/validation_tests/suite.cc",
+ "tests/validation_tests/unit_tests.cc",
]
deps = [
@@ -239,14 +239,14 @@ test("sbox_unittests") {
sources = [
"src/app_container_unittest.cc",
"src/interception_unittest.cc",
- "src/service_resolver_unittest.cc",
- "src/restricted_token_unittest.cc",
+ "src/ipc_unittest.cc",
"src/job_unittest.cc",
- "src/sid_unittest.cc",
"src/policy_engine_unittest.cc",
"src/policy_low_level_unittest.cc",
"src/policy_opcodes_unittest.cc",
- "src/ipc_unittest.cc",
+ "src/restricted_token_unittest.cc",
+ "src/service_resolver_unittest.cc",
+ "src/sid_unittest.cc",
"src/threadpool_unittest.cc",
"src/win_utils_unittest.cc",
"tests/common/test_utils.cc",

Powered by Google App Engine
This is Rietveld 408576698