| OLD | NEW |
| 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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 import("features.gni") | 7 import("features.gni") |
| 8 | 8 |
| 9 if (is_android) { | 9 if (is_android) { |
| 10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
| 11 } | 11 } |
| 12 | 12 |
| 13 buildflag_header("url_features") { | 13 buildflag_header("url_features") { |
| 14 header = "url_features.h" | 14 header = "url_features.h" |
| 15 flags = [ "USE_PLATFORM_ICU_ALTERNATIVES=$use_platform_icu_alternatives" ] | 15 flags = [ "USE_PLATFORM_ICU_ALTERNATIVES=$use_platform_icu_alternatives" ] |
| 16 } | 16 } |
| 17 | 17 |
| 18 component("url") { | 18 component("url") { |
| 19 sources = [ | 19 sources = [ |
| 20 "gurl.cc", | 20 "gurl.cc", |
| 21 "gurl.h", | 21 "gurl.h", |
| 22 "origin.cc", | 22 "origin.cc", |
| 23 "origin.h", | 23 "origin.h", |
| 24 "scheme_host_port.cc", | 24 "scheme_host_port.cc", |
| 25 "scheme_host_port.h", | 25 "scheme_host_port.h", |
| 26 "scheme_set.cc", |
| 27 "scheme_set.h", |
| 26 "third_party/mozilla/url_parse.cc", | 28 "third_party/mozilla/url_parse.cc", |
| 27 "third_party/mozilla/url_parse.h", | 29 "third_party/mozilla/url_parse.h", |
| 28 "url_canon.h", | 30 "url_canon.h", |
| 29 "url_canon_etc.cc", | 31 "url_canon_etc.cc", |
| 30 "url_canon_filesystemurl.cc", | 32 "url_canon_filesystemurl.cc", |
| 31 "url_canon_fileurl.cc", | 33 "url_canon_fileurl.cc", |
| 32 "url_canon_host.cc", | 34 "url_canon_host.cc", |
| 33 "url_canon_internal.cc", | 35 "url_canon_internal.cc", |
| 34 "url_canon_internal.h", | 36 "url_canon_internal.h", |
| 35 "url_canon_internal_file.h", | 37 "url_canon_internal_file.h", |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 166 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 165 | 167 |
| 166 if (!is_ios) { | 168 if (!is_ios) { |
| 167 deps += [ | 169 deps += [ |
| 168 "//mojo/edk/system", | 170 "//mojo/edk/system", |
| 169 "//mojo/edk/test:test_support", | 171 "//mojo/edk/test:test_support", |
| 170 "//url/mojo:test_url_mojom_gurl", | 172 "//url/mojo:test_url_mojom_gurl", |
| 171 ] | 173 ] |
| 172 } | 174 } |
| 173 } | 175 } |
| OLD | NEW |