Under the strategy , similar to one used against US companies during the anti-apartheid campaign in South Africa , the legislation introduced Thursday would end tax write-offs enjoyed by Chevron on revenues earned from its natural gas project in Myanmar .