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

Side by Side Diff: net/BUILD.gn

Issue 1134393002: Implement ChromeOS mime type extension mappings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move to platform_mime_util_chromeos.cc Created 5 years, 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | net/base/mime_util.h » ('j') | net/base/mime_util.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//build/module_args/v8.gni") 8 import("//build/module_args/v8.gni")
9 import("//url/config.gni") 9 import("//url/config.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 "base/address_tracker_linux.cc", 474 "base/address_tracker_linux.cc",
475 "base/address_tracker_linux.h", 475 "base/address_tracker_linux.h",
476 "base/net_util_linux.cc", 476 "base/net_util_linux.cc",
477 "base/net_util_linux.h", 477 "base/net_util_linux.h",
478 "base/platform_mime_util_linux.cc", 478 "base/platform_mime_util_linux.cc",
479 ] 479 ]
480 set_sources_assignment_filter(sources_assignment_filter) 480 set_sources_assignment_filter(sources_assignment_filter)
481 deps += [ ":net_jni_headers" ] 481 deps += [ ":net_jni_headers" ]
482 } 482 }
483 483
484 if (!is_chromeos) {
485 sources -= [ "base/platform_mime_util_chromeos.cc" ]
486 }
487
484 if (use_icu_alternatives_on_android) { 488 if (use_icu_alternatives_on_android) {
485 sources += [ 489 sources += [
486 "base/net_string_util_icu_alternatives_android.cc", 490 "base/net_string_util_icu_alternatives_android.cc",
487 "base/net_string_util_icu_alternatives_android.h", 491 "base/net_string_util_icu_alternatives_android.h",
488 ] 492 ]
489 } else { 493 } else {
490 deps += [ 494 deps += [
491 "//base:i18n", 495 "//base:i18n",
492 "//third_party/icu", 496 "//third_party/icu",
493 ] 497 ]
(...skipping 1119 matching lines...) Expand 10 before | Expand all | Expand 10 after
1613 } else { 1617 } else {
1614 sources -= [ "proxy/proxy_resolver_perftest.cc" ] 1618 sources -= [ "proxy/proxy_resolver_perftest.cc" ]
1615 } 1619 }
1616 1620
1617 if (is_win && icu_use_data_file) { 1621 if (is_win && icu_use_data_file) {
1618 # This is needed to trigger the dll copy step on windows. 1622 # This is needed to trigger the dll copy step on windows.
1619 # TODO(mark): Specifying this here shouldn't be necessary. 1623 # TODO(mark): Specifying this here shouldn't be necessary.
1620 deps += [ "//third_party/icu:icudata" ] 1624 deps += [ "//third_party/icu:icudata" ]
1621 } 1625 }
1622 } 1626 }
OLDNEW
« no previous file with comments | « no previous file | net/base/mime_util.h » ('j') | net/base/mime_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698