diff options
49 files changed, 111 insertions, 132 deletions
diff --git a/components/app_modal/BUILD.gn b/components/app_modal/BUILD.gn index a2d373d..10e69a6 100644 --- a/components/app_modal/BUILD.gn +++ b/components/app_modal/BUILD.gn @@ -16,7 +16,7 @@ static_library("app_modal") { "javascript_dialog_manager.cc", "javascript_dialog_manager.h", "javascript_native_dialog_factory.h", - "native_app_modal_dialog.h" + "native_app_modal_dialog.h", ] deps = [ diff --git a/components/autofill/core/browser/BUILD.gn b/components/autofill/core/browser/BUILD.gn index eac8145..970b815 100644 --- a/components/autofill/core/browser/BUILD.gn +++ b/components/autofill/core/browser/BUILD.gn @@ -23,11 +23,12 @@ action("regexes") { inputs = [ "autofill_regex_constants.cc.utf8", ] - outputs = [ - "$target_gen_dir/autofill_regex_constants.cc", - ] + outputs = [ "$target_gen_dir/autofill_regex_constants.cc" ] - args = [ "-o", rebase_path(target_gen_dir, root_build_dir) ] + args = [ + "-o", + rebase_path(target_gen_dir, root_build_dir), + ] args += rebase_path(inputs, root_build_dir) } diff --git a/components/bookmarks/browser/BUILD.gn b/components/bookmarks/browser/BUILD.gn index de42cbeac..fb770f4 100644 --- a/components/bookmarks/browser/BUILD.gn +++ b/components/bookmarks/browser/BUILD.gn @@ -56,9 +56,7 @@ source_set("browser") { ] if (toolkit_views) { - sources += [ - "bookmark_node_data_views.cc", - ] + sources += [ "bookmark_node_data_views.cc" ] } } diff --git a/components/bookmarks/common/BUILD.gn b/components/bookmarks/common/BUILD.gn index 320d463..2ba1bd9c4 100644 --- a/components/bookmarks/common/BUILD.gn +++ b/components/bookmarks/common/BUILD.gn @@ -14,8 +14,6 @@ source_set("common") { "//base", ] if (is_android) { - deps += [ - "//components/bookmarks/common/android", - ] + deps += [ "//components/bookmarks/common/android" ] } } diff --git a/components/bookmarks/common/android/BUILD.gn b/components/bookmarks/common/android/BUILD.gn index ffe2566..ed9c600 100644 --- a/components/bookmarks/common/android/BUILD.gn +++ b/components/bookmarks/common/android/BUILD.gn @@ -13,7 +13,9 @@ source_set("android") { "component_jni_registrar.cc", "component_jni_registrar.h", ] - deps = [ ":bookmarks_jni_headers" ] + deps = [ + ":bookmarks_jni_headers", + ] } # GYP: //components/bookmarks.gyp:bookmarks_java @@ -21,9 +23,7 @@ android_library("bookmarks_java") { deps = [ "//base:base_java", ] - srcjar_deps = [ - ":bookmark_type_javagen", - ] + srcjar_deps = [ ":bookmark_type_javagen" ] DEPRECATED_java_in_dir = "java/src" } @@ -31,7 +31,7 @@ android_library("bookmarks_java") { generate_jni("bookmarks_jni_headers") { jni_package = "components/bookmarks" sources = [ - "java/src/org/chromium/components/bookmarks/BookmarkId.java" + "java/src/org/chromium/components/bookmarks/BookmarkId.java", ] } @@ -40,7 +40,5 @@ java_cpp_enum("bookmark_type_javagen") { sources = [ "bookmark_type.h", ] - outputs = [ - "org/chromium/components/bookmarks/BookmarkType.java", - ] + outputs = [ "org/chromium/components/bookmarks/BookmarkType.java" ] } diff --git a/components/bookmarks/test/BUILD.gn b/components/bookmarks/test/BUILD.gn index fbc6e59..3a2c6a9 100644 --- a/components/bookmarks/test/BUILD.gn +++ b/components/bookmarks/test/BUILD.gn @@ -2,7 +2,7 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -import ("//build/config/ui.gni") +import("//build/config/ui.gni") source_set("test") { testonly = true @@ -24,8 +24,6 @@ source_set("test") { ] if (use_x11) { - deps += [ - "//ui/events/platform/x11", - ] + deps += [ "//ui/events/platform/x11" ] } } diff --git a/components/content_settings/core/browser/BUILD.gn b/components/content_settings/core/browser/BUILD.gn index 8b1841c..e3894db 100644 --- a/components/content_settings/core/browser/BUILD.gn +++ b/components/content_settings/core/browser/BUILD.gn @@ -59,4 +59,3 @@ source_set("unit_tests") { "//url", ] } - diff --git a/components/crash/app/BUILD.gn b/components/crash/app/BUILD.gn index a7615b4..d3c222ad 100644 --- a/components/crash/app/BUILD.gn +++ b/components/crash/app/BUILD.gn @@ -14,9 +14,7 @@ source_set("lib") { "crash_keys_win.h", ] - include_dirs = [ - "../../../breakpad/src", - ] + include_dirs = [ "../../../breakpad/src" ] } # Note: if you depend on this target, you need to either link in @@ -60,6 +58,7 @@ source_set("app") { deps += [ "//sandbox", "//breakpad:breakpad_handler", + #'../breakpad/breakpad.gyp:breakpad_sender', TODO(GYP) ] } else if (is_posix && !is_ios && (!is_android || !is_android_webview_build)) { @@ -68,5 +67,7 @@ source_set("app") { } source_set("test_support") { - deps = [ ":lib" ] + deps = [ + ":lib", + ] } diff --git a/components/crash/browser/BUILD.gn b/components/crash/browser/BUILD.gn index 06a75d3..70d669f 100644 --- a/components/crash/browser/BUILD.gn +++ b/components/crash/browser/BUILD.gn @@ -14,6 +14,7 @@ source_set("browser") { if (is_linux || is_android) { set_sources_assignment_filter([]) + # Want this file on both Linux and Android. sources += [ "crash_handler_host_linux.cc", @@ -30,8 +31,7 @@ source_set("browser") { # This is not in the GYP build but this target includes breakpad client # headers, so add the dependency here. - if (is_posix && !is_ios && - (!is_android || !is_android_webview_build)) { + if (is_posix && !is_ios && (!is_android || !is_android_webview_build)) { configs += [ "//breakpad:client_config" ] public_configs = [ "//breakpad:client_config" ] } diff --git a/components/data_reduction_proxy/core/browser/BUILD.gn b/components/data_reduction_proxy/core/browser/BUILD.gn index ed9fb76..df0c059 100644 --- a/components/data_reduction_proxy/core/browser/BUILD.gn +++ b/components/data_reduction_proxy/core/browser/BUILD.gn @@ -39,9 +39,7 @@ static_library("browser") { "//url", ] if (!is_android && !is_ios) { - deps += [ - "//google_apis", - ] + deps += [ "//google_apis" ] } } diff --git a/components/data_reduction_proxy/core/common/BUILD.gn b/components/data_reduction_proxy/core/common/BUILD.gn index 0a1463d..31acdca 100644 --- a/components/data_reduction_proxy/core/common/BUILD.gn +++ b/components/data_reduction_proxy/core/common/BUILD.gn @@ -46,7 +46,7 @@ source_set("test_support") { "//net:test_support", "//testing/gmock", "//testing/gtest", - ] + ] } source_set("unit_tests") { @@ -70,5 +70,4 @@ source_set("unit_tests") { process_version("version_header") { source = "version.h.in" output = "$target_gen_dir/version.h" -} - +} diff --git a/components/data_reduction_proxy/core/common/version.gni b/components/data_reduction_proxy/core/common/version.gni index 647d6d2..008c3d5 100644 --- a/components/data_reduction_proxy/core/common/version.gni +++ b/components/data_reduction_proxy/core/common/version.gni @@ -42,7 +42,8 @@ template("process_version") { outputs = [ invoker.output ] args = [ - "-f", rebase_path(version_path, root_build_dir), + "-f", + rebase_path(version_path, root_build_dir), rebase_path(invoker.source, root_build_dir), rebase_path(invoker.output, root_build_dir), ] diff --git a/components/dom_distiller/android/BUILD.gn b/components/dom_distiller/android/BUILD.gn index 0249016..3bda4e9 100644 --- a/components/dom_distiller/android/BUILD.gn +++ b/components/dom_distiller/android/BUILD.gn @@ -4,7 +4,6 @@ import("//build/config/android/rules.gni") - # GYP: //components/dom_distiller.gypi:dom_distiller_core_java android_library("dom_distiller_core_java") { deps = [ @@ -23,10 +22,10 @@ android_library("dom_distiller_core_java") { java_cpp_template("dom_distiller_core_font_family_javagen") { package_name = "org/chromium/components/dom_distiller/core" sources = [ - "java/src/org/chromium/components/dom_distiller/core/FontFamily.template" + "java/src/org/chromium/components/dom_distiller/core/FontFamily.template", ] inputs = [ - "../core/font_family_list.h" + "../core/font_family_list.h", ] } @@ -34,9 +33,9 @@ java_cpp_template("dom_distiller_core_font_family_javagen") { java_cpp_template("dom_distiller_core_theme_javagen") { package_name = "org/chromium/components/dom_distiller/core" sources = [ - "java/src/org/chromium/components/dom_distiller/core/Theme.template" + "java/src/org/chromium/components/dom_distiller/core/Theme.template", ] inputs = [ - "../core/theme_list.h" + "../core/theme_list.h", ] } diff --git a/components/dom_distiller/content/BUILD.gn b/components/dom_distiller/content/BUILD.gn index 2fb1092..35af9dd 100644 --- a/components/dom_distiller/content/BUILD.gn +++ b/components/dom_distiller/content/BUILD.gn @@ -6,12 +6,12 @@ if (!is_ios) { # GYP version: components/dom_distiller.gypi:dom_distiller_content static_library("content") { sources = [ - "distiller_page_web_contents.cc", - "distiller_page_web_contents.h", - "dom_distiller_viewer_source.cc", - "dom_distiller_viewer_source.h", - "web_contents_main_frame_observer.cc", - "web_contents_main_frame_observer.h", + "distiller_page_web_contents.cc", + "distiller_page_web_contents.h", + "dom_distiller_viewer_source.cc", + "dom_distiller_viewer_source.h", + "web_contents_main_frame_observer.cc", + "web_contents_main_frame_observer.h", ] public_deps = [ diff --git a/components/domain_reliability/BUILD.gn b/components/domain_reliability/BUILD.gn index cdb61da..179c8de 100644 --- a/components/domain_reliability/BUILD.gn +++ b/components/domain_reliability/BUILD.gn @@ -10,14 +10,12 @@ # it a properly-rebased path to //components so it can properly join the # paths relative to that and find the JSON files. -baked_in_configs_gypi = exec_script( - "//build/gypi_to_gn.py", - [ rebase_path("baked_in_configs.gypi") ], - "scope", - [ "baked_in_configs.gypi" ]) -baked_in_configs = rebase_path( - baked_in_configs_gypi.baked_in_configs, - "domain_reliability") +baked_in_configs_gypi = exec_script("//build/gypi_to_gn.py", + [ rebase_path("baked_in_configs.gypi") ], + "scope", + [ "baked_in_configs.gypi" ]) +baked_in_configs = + rebase_path(baked_in_configs_gypi.baked_in_configs, "domain_reliability") action("bake_in_configs") { visibility = [ ":*" ] diff --git a/components/enhanced_bookmarks/BUILD.gn b/components/enhanced_bookmarks/BUILD.gn index 6a8e132..0da3276 100644 --- a/components/enhanced_bookmarks/BUILD.gn +++ b/components/enhanced_bookmarks/BUILD.gn @@ -43,9 +43,7 @@ source_set("enhanced_bookmarks") { ] if (is_ios) { - sources -= [ - "image_store_util.cc", - ] + sources -= [ "image_store_util.cc" ] } } diff --git a/components/error_page/common/BUILD.gn b/components/error_page/common/BUILD.gn index b3c5b88..11f6ee6 100644 --- a/components/error_page/common/BUILD.gn +++ b/components/error_page/common/BUILD.gn @@ -14,4 +14,4 @@ static_library("common") { "//base", "//url", ] -}
\ No newline at end of file +} diff --git a/components/error_page/renderer/BUILD.gn b/components/error_page/renderer/BUILD.gn index 96fe7ff..e47fd69 100644 --- a/components/error_page/renderer/BUILD.gn +++ b/components/error_page/renderer/BUILD.gn @@ -18,4 +18,4 @@ static_library("renderer") { "//ui/base", "//url", ] -}
\ No newline at end of file +} diff --git a/components/google/core/browser/BUILD.gn b/components/google/core/browser/BUILD.gn index 251183b..dcb6c60 100644 --- a/components/google/core/browser/BUILD.gn +++ b/components/google/core/browser/BUILD.gn @@ -47,7 +47,7 @@ source_set("unit_tests") { sources = [ "google_url_tracker_unittest.cc", - "google_util_unittest.cc" + "google_util_unittest.cc", ] deps = [ diff --git a/components/invalidation/BUILD.gn b/components/invalidation/BUILD.gn index cf9a294..c91efd5 100644 --- a/components/invalidation/BUILD.gn +++ b/components/invalidation/BUILD.gn @@ -93,6 +93,7 @@ static_library("invalidation") { # TODO(sync): Remove this (http://crbug.com/133352); "//third_party/protobuf:protobuf_lite", + # "//third_party/cacheinvalidation/src/google/cacheinvalidation:cacheinvalidation_proto_cpp", ] @@ -156,13 +157,12 @@ static_library("test_support") { # TODO(sync): Remove this (http://crbug.com/133352); "//third_party/protobuf:protobuf_lite", + # "//third_party/cacheinvalidation/src/google/cacheinvalidation:cacheinvalidation_proto_cpp", ] if (is_android) { - deps += [ - ":jni_headers", - ] + deps += [ ":jni_headers" ] } else { sources += [ "p2p_invalidation_service.cc", diff --git a/components/login/BUILD.gn b/components/login/BUILD.gn index d44ea69..e5c4d05 100644 --- a/components/login/BUILD.gn +++ b/components/login/BUILD.gn @@ -10,9 +10,7 @@ component("login") { "screens/screen_context.h", ] - defines = [ - "LOGIN_IMPLEMENTATION" - ] + defines = [ "LOGIN_IMPLEMENTATION" ] deps = [ "//base", @@ -21,7 +19,9 @@ component("login") { source_set("unit_tests") { testonly = true - sources = ["screens/screen_context_unittest.cc"] + sources = [ + "screens/screen_context_unittest.cc", + ] deps = [ ":login", diff --git a/components/metrics/BUILD.gn b/components/metrics/BUILD.gn index 59a6bc4..48a6a01 100644 --- a/components/metrics/BUILD.gn +++ b/components/metrics/BUILD.gn @@ -148,7 +148,9 @@ if (is_linux) { "serialization/metric_sample.cc", "serialization/metric_sample.h", ] - deps = [ "//base" ] + deps = [ + "//base", + ] } } @@ -179,5 +181,4 @@ source_set("unit_tests") { "//testing/gtest", ] } - # TODO(GYP): metrics_chromeos diff --git a/components/navigation_interception/BUILD.gn b/components/navigation_interception/BUILD.gn index 07c6640..29f1fbc 100644 --- a/components/navigation_interception/BUILD.gn +++ b/components/navigation_interception/BUILD.gn @@ -36,7 +36,6 @@ static_library("navigation_interception") { } if (is_android) { - # GYP: //components/navigation_interception.gypi:navigation_interception_jni_headers generate_jni("jni_headers") { sources = [ diff --git a/components/os_crypt/BUILD.gn b/components/os_crypt/BUILD.gn index dc9d675..6036fc7 100644 --- a/components/os_crypt/BUILD.gn +++ b/components/os_crypt/BUILD.gn @@ -19,6 +19,7 @@ source_set("os_crypt") { deps = [ "//base", "//crypto", + # TODO(tfarina): Remove this dep when http://crbug.com/363749 is fixed. "//crypto:platform", ] diff --git a/components/ownership/BUILD.gn b/components/ownership/BUILD.gn index 9051ddb..0432b94 100644 --- a/components/ownership/BUILD.gn +++ b/components/ownership/BUILD.gn @@ -14,9 +14,7 @@ component("ownership") { "owner_settings_service.h", ] - defines = [ - "OWNERSHIP_IMPLEMENTATION" - ] + defines = [ "OWNERSHIP_IMPLEMENTATION" ] deps = [ "//base", @@ -30,7 +28,9 @@ component("ownership") { source_set("unit_tests") { testonly = true - sources = ["owner_key_util_impl_unittest.cc"] + sources = [ + "owner_key_util_impl_unittest.cc", + ] deps = [ ":ownership", diff --git a/components/password_manager/content/renderer/BUILD.gn b/components/password_manager/content/renderer/BUILD.gn index 17040be..38acc81 100644 --- a/components/password_manager/content/renderer/BUILD.gn +++ b/components/password_manager/content/renderer/BUILD.gn @@ -20,7 +20,7 @@ static_library("renderer") { source_set("browser_tests") { testonly = true sources = [ - "credential_manager_client_browsertest.cc" + "credential_manager_client_browsertest.cc", ] deps = [ @@ -30,4 +30,3 @@ source_set("browser_tests") { "//third_party/WebKit/public:blink", ] } - diff --git a/components/pdf/renderer/BUILD.gn b/components/pdf/renderer/BUILD.gn index 5792d8d..5d2b326 100644 --- a/components/pdf/renderer/BUILD.gn +++ b/components/pdf/renderer/BUILD.gn @@ -28,8 +28,6 @@ static_library("renderer") { ] if (is_win) { - cflags = [ - "/wd4267" # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - ] + cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. } } diff --git a/components/policy/BUILD.gn b/components/policy/BUILD.gn index 21dd6a1..5e405f7 100644 --- a/components/policy/BUILD.gn +++ b/components/policy/BUILD.gn @@ -14,10 +14,14 @@ if (is_component_build) { ] } group("policy_component_browser") { - deps = [ ":policy_component" ] + deps = [ + ":policy_component", + ] } group("policy_component_common") { - deps = [ ":policy_component" ] + deps = [ + ":policy_component", + ] } } else { # Compile to separate libraries. group("policy_component") { @@ -27,10 +31,14 @@ if (is_component_build) { ] } component("policy_component_browser") { - deps = [ "//components/policy/core/browser" ] + deps = [ + "//components/policy/core/browser", + ] } component("policy_component_common") { - deps = [ "//components/policy/core/common" ] + deps = [ + "//components/policy/core/common", + ] } } @@ -90,7 +98,9 @@ if (enable_configuration_policy) { } proto_library("cloud_policy_proto_generated_compile") { - sources = [ cloud_policy_proto_path ] + sources = [ + cloud_policy_proto_path, + ] proto_out_dir = "policy/proto" cc_generator_options = "dllexport_decl=POLICY_PROTO_EXPORT:" @@ -104,7 +114,9 @@ if (enable_configuration_policy) { # This target builds the "full" protobuf, used for tests only. proto_library("chrome_settings_proto_generated_compile") { - sources = [ chrome_settings_proto_path ] + sources = [ + chrome_settings_proto_path, + ] proto_out_dir = "policy/proto" deps = [ @@ -182,5 +194,4 @@ if (enable_configuration_policy) { ] } } - #TODO(GYP) policy templates, chrome_manifest_bundle diff --git a/components/precache/core/BUILD.gn b/components/precache/core/BUILD.gn index 5fdcb50..29d6ed9 100644 --- a/components/precache/core/BUILD.gn +++ b/components/precache/core/BUILD.gn @@ -42,5 +42,7 @@ static_library("core") { } proto_library("proto") { - sources = [ "proto/precache.proto" ] + sources = [ + "proto/precache.proto", + ] } diff --git a/components/pref_registry/BUILD.gn b/components/pref_registry/BUILD.gn index 674ef60..2470723 100644 --- a/components/pref_registry/BUILD.gn +++ b/components/pref_registry/BUILD.gn @@ -9,9 +9,7 @@ component("pref_registry") { "pref_registry_syncable.h", ] - defines = [ - "PREF_REGISTRY_IMPLEMENTATION", - ] + defines = [ "PREF_REGISTRY_IMPLEMENTATION" ] deps = [ "//base", diff --git a/components/proximity_auth/BUILD.gn b/components/proximity_auth/BUILD.gn index f7fde7c..0ba93b0 100644 --- a/components/proximity_auth/BUILD.gn +++ b/components/proximity_auth/BUILD.gn @@ -65,6 +65,10 @@ source_set("unit_tests") { # Note: This is a convenience target for ease of rapid iteration during # development. It is not executed on any try or build bots. test("proximity_auth_unittests") { - sources = [ "run_all_unittests.cc" ] - deps = [ ":unit_tests" ] + sources = [ + "run_all_unittests.cc", + ] + deps = [ + ":unit_tests", + ] } diff --git a/components/proximity_auth/cryptauth/proto/BUILD.gn b/components/proximity_auth/cryptauth/proto/BUILD.gn index 5beee2a..3d3d3f7 100644 --- a/components/proximity_auth/cryptauth/proto/BUILD.gn +++ b/components/proximity_auth/cryptauth/proto/BUILD.gn @@ -2,7 +2,7 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -import ("//third_party/protobuf/proto_library.gni") +import("//third_party/protobuf/proto_library.gni") # GYP version: //components/proximity_auth.gypi:cryptauth_proto proto_library("proto") { diff --git a/components/resources/BUILD.gn b/components/resources/BUILD.gn index 91f096f..6f68f8f 100644 --- a/components/resources/BUILD.gn +++ b/components/resources/BUILD.gn @@ -16,6 +16,7 @@ group("resources") { # (generate_components_resources action) grit("components_resources") { source = "components_resources.grd" + # TODO(hashimoto): Remove this line. output_name = "components_resources_new" outputs = [ @@ -29,6 +30,7 @@ grit("components_resources") { # (generate_scaled_components_resources action) grit("components_scaled_resources") { source = "components_scaled_resources.grd" + # TODO(hashimoto): Remove this line. output_name = "components_scaled_resources_new" outputs = [ diff --git a/components/search_engines/BUILD.gn b/components/search_engines/BUILD.gn index 3eaaaeb..089ebb4 100644 --- a/components/search_engines/BUILD.gn +++ b/components/search_engines/BUILD.gn @@ -67,9 +67,7 @@ static_library("search_engines") { "default_search_policy_handler.cc", "default_search_policy_handler.h", ] - deps += [ - "//components/policy", - ] + deps += [ "//components/policy" ] } } diff --git a/components/sessions/BUILD.gn b/components/sessions/BUILD.gn index d5ecde2..f2b59aa 100644 --- a/components/sessions/BUILD.gn +++ b/components/sessions/BUILD.gn @@ -110,4 +110,3 @@ if (!is_ios && !is_android) { ] } } - diff --git a/components/signin/core/browser/BUILD.gn b/components/signin/core/browser/BUILD.gn index a5cdab7..32d2dd0 100644 --- a/components/signin/core/browser/BUILD.gn +++ b/components/signin/core/browser/BUILD.gn @@ -61,9 +61,7 @@ static_library("browser") { } if (is_chromeos) { - sources -= [ - "signin_manager.cc", - ] + sources -= [ "signin_manager.cc" ] } if (is_win) { diff --git a/components/signin/ios/browser/BUILD.gn b/components/signin/ios/browser/BUILD.gn index 368807e..c1835af 100644 --- a/components/signin/ios/browser/BUILD.gn +++ b/components/signin/ios/browser/BUILD.gn @@ -15,4 +15,3 @@ static_library("browser") { #'../ios/provider/ios_components.gyp:ios_components', TODO(GYP) ] } - diff --git a/components/storage_monitor/BUILD.gn b/components/storage_monitor/BUILD.gn index 25f28c4..f202d8a 100644 --- a/components/storage_monitor/BUILD.gn +++ b/components/storage_monitor/BUILD.gn @@ -63,9 +63,7 @@ static_library("storage_monitor") { } if (use_udev) { - deps += [ - "//device/udev_linux", - ] + deps += [ "//device/udev_linux" ] } else if (is_linux) { # These were already removed for non-Linux. sources -= [ diff --git a/components/suggestions/BUILD.gn b/components/suggestions/BUILD.gn index e2bb907..5829176 100644 --- a/components/suggestions/BUILD.gn +++ b/components/suggestions/BUILD.gn @@ -34,12 +34,8 @@ static_library("suggestions") { ] if (is_ios) { - sources += [ - "image_encoder_ios.mm", - ] + sources += [ "image_encoder_ios.mm" ] } else { - sources += [ - "image_encoder.cc", - ] + sources += [ "image_encoder.cc" ] } } diff --git a/components/suggestions/proto/BUILD.gn b/components/suggestions/proto/BUILD.gn index 1a6018b..be69afc 100644 --- a/components/suggestions/proto/BUILD.gn +++ b/components/suggestions/proto/BUILD.gn @@ -5,5 +5,7 @@ import("//third_party/protobuf/proto_library.gni") proto_library("proto") { - sources = [ "suggestions.proto" ] + sources = [ + "suggestions.proto", + ] } diff --git a/components/timers/BUILD.gn b/components/timers/BUILD.gn index e0ccaaf84..5db55bb 100644 --- a/components/timers/BUILD.gn +++ b/components/timers/BUILD.gn @@ -13,4 +13,4 @@ static_library("timers") { deps = [ "//base", ] -}
\ No newline at end of file +} diff --git a/components/translate/content/browser/BUILD.gn b/components/translate/content/browser/BUILD.gn index 1cc1923..07fee75 100644 --- a/components/translate/content/browser/BUILD.gn +++ b/components/translate/content/browser/BUILD.gn @@ -23,5 +23,4 @@ static_library("browser") { "//components/translate/core/browser", "//content/public/browser", ] - } diff --git a/components/translate/content/common/BUILD.gn b/components/translate/content/common/BUILD.gn index bbcdb10..a5f59bf 100644 --- a/components/translate/content/common/BUILD.gn +++ b/components/translate/content/common/BUILD.gn @@ -21,5 +21,4 @@ static_library("common") { "//content/public/common", "//ipc", ] - } diff --git a/components/translate/content/renderer/BUILD.gn b/components/translate/content/renderer/BUILD.gn index af1ed91..b9bb6b1 100644 --- a/components/translate/content/renderer/BUILD.gn +++ b/components/translate/content/renderer/BUILD.gn @@ -34,5 +34,4 @@ static_library("renderer") { if (cld_version == 0 || cld_version == 2) { deps += [ "//third_party/cld_2" ] } - } diff --git a/components/user_manager/BUILD.gn b/components/user_manager/BUILD.gn index 7f3d4c4..e6df0b5 100644 --- a/components/user_manager/BUILD.gn +++ b/components/user_manager/BUILD.gn @@ -19,9 +19,7 @@ component("user_manager") { "//ui/gfx", ] - defines = [ - "USER_MANAGER_IMPLEMENTATION", - ] + defines = [ "USER_MANAGER_IMPLEMENTATION" ] if (is_chromeos) { sources += [ diff --git a/components/variations/android/BUILD.gn b/components/variations/android/BUILD.gn index 3fe1d68..576db64 100644 --- a/components/variations/android/BUILD.gn +++ b/components/variations/android/BUILD.gn @@ -4,11 +4,10 @@ import("//build/config/android/rules.gni") - # GYP: //components/variations.gypi:variations_java android_library("variations_java") { deps = [ - "//base:base_java" + "//base:base_java", ] DEPRECATED_java_in_dir = "java/src" } diff --git a/components/visitedlink/common/BUILD.gn b/components/visitedlink/common/BUILD.gn index 61d3ef2..2c472d0 100644 --- a/components/visitedlink/common/BUILD.gn +++ b/components/visitedlink/common/BUILD.gn @@ -16,6 +16,6 @@ static_library("common") { "//base", "//content/public/common", "//ipc", - "//url" + "//url", ] } diff --git a/components/webdata/common/BUILD.gn b/components/webdata/common/BUILD.gn index 12738bb..25c6c86 100644 --- a/components/webdata/common/BUILD.gn +++ b/components/webdata/common/BUILD.gn @@ -25,9 +25,7 @@ component("common") { "webdata_export.h", ] - defines = [ - "WEBDATA_IMPLEMENTATION", - ] + defines = [ "WEBDATA_IMPLEMENTATION" ] deps = [ "//base", diff --git a/components/wifi/BUILD.gn b/components/wifi/BUILD.gn index 14bf54e..7d27426 100644 --- a/components/wifi/BUILD.gn +++ b/components/wifi/BUILD.gn @@ -13,9 +13,7 @@ component("wifi") { "wifi_service_win.cc", ] - defines = [ - "WIFI_IMPLEMENTATION", - ] + defines = [ "WIFI_IMPLEMENTATION" ] deps = [ "//base", @@ -24,9 +22,7 @@ component("wifi") { ] if (is_win) { - libs = [ - "iphlpapi.lib", - ] + libs = [ "iphlpapi.lib" ] } if (is_mac) { |