| OLD | NEW | 
|---|
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 # OCHamcrest sources contains import rules using relative file names | 5 # OCHamcrest sources contains import rules using relative file names | 
| 6 # ("HCAssertThat.h") and other using paths in an installed framework | 6 # ("HCAssertThat.h") and other using paths in an installed framework | 
| 7 # (<OCHamcrest/HCMatcher.h>). In order to build, copy all the sources | 7 # (<OCHamcrest/HCMatcher.h>). In order to build, copy all the sources | 
| 8 # to <(SHARED_INTERMEDIATE_DIR)/ios/third_party/ochmacrest/OCHamcrest | 8 # to <(SHARED_INTERMEDIATE_DIR)/ios/third_party/ochmacrest/OCHamcrest | 
| 9 # so that both type of import work (another option considered was to | 9 # so that both type of import work (another option considered was to | 
| 10 # build forwarding headers but this required duplicating the list of | 10 # build forwarding headers but this required duplicating the list of | 
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 168     "src/Source/Library/Text/HCStringStartsWith.m", | 168     "src/Source/Library/Text/HCStringStartsWith.m", | 
| 169     "src/Source/Library/Text/HCSubstringMatcher.h", | 169     "src/Source/Library/Text/HCSubstringMatcher.h", | 
| 170     "src/Source/Library/Text/HCSubstringMatcher.m", | 170     "src/Source/Library/Text/HCSubstringMatcher.m", | 
| 171     "src/Source/OCHamcrest.h", | 171     "src/Source/OCHamcrest.h", | 
| 172   ] | 172   ] | 
| 173   outputs = [ | 173   outputs = [ | 
| 174     "$root_gen_dir/ios/third_party/ochamcrest/OCHamcrest/{{source_file_part}}", | 174     "$root_gen_dir/ios/third_party/ochamcrest/OCHamcrest/{{source_file_part}}", | 
| 175   ] | 175   ] | 
| 176 } | 176 } | 
| 177 | 177 | 
| 178 config("ochamcrest_config") { | 178 config("config") { | 
| 179   visibility = [ ":ochamcrest" ] | 179   visibility = [ ":ochamcrest" ] | 
| 180   libs = [ "XCTest.framework" ] | 180   libs = [ "XCTest.framework" ] | 
| 181   include_dirs = [ "$root_gen_dir/ios/third_party/ochamcrest" ] | 181   include_dirs = [ "$root_gen_dir/ios/third_party/ochamcrest" ] | 
| 182 } | 182 } | 
| 183 | 183 | 
| 184 config("ochamcrest_private_config") { |  | 
| 185   visibility = [ ":ochamcrest" ] |  | 
| 186   cflags_objc = [ "-fobjc-arc" ] |  | 
| 187 } |  | 
| 188 |  | 
| 189 source_set("ochamcrest") { | 184 source_set("ochamcrest") { | 
| 190   testonly = true | 185   testonly = true | 
| 191   configs += [ | 186   configs += [ | 
| 192     ":ochamcrest_config", | 187     ":config", | 
| 193     ":ochamcrest_private_config", | 188     "//build/config/compiler:enable_arc", | 
| 194     "//build/config/compiler:no_chromium_code", | 189     "//build/config/compiler:no_chromium_code", | 
| 195   ] | 190   ] | 
| 196   public_configs = [ ":ochamcrest_config" ] | 191   public_configs = [ ":config" ] | 
| 197   public_deps = [ | 192   public_deps = [ | 
| 198     ":ochamcrest_copy_files", | 193     ":ochamcrest_copy_files", | 
| 199   ] | 194   ] | 
| 200   sources = get_target_outputs(":ochamcrest_copy_files") | 195   sources = get_target_outputs(":ochamcrest_copy_files") | 
| 201 } | 196 } | 
| OLD | NEW | 
|---|